View Single Post
Old Oct 20th, 2006, 6:18 AM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
jmp 07c00h ; boot code start;  off we go, unconditionally
mov ah, 09h; execution will not reach here unless there's a branch to here
mov al, 97;    from somewhere else.
mov bx, 100b
mov cx, 01h
int 10h
times 0x1fe-$ db 00h ; pads with 0's
db 55h,0aah ; boot signature
This is pretty sparse, information wise. Issues such as privilege may or may not arise.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote