Advertisement
Eeems

boot.exe

Jun 23rd, 2011
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. BootExe:
  2. ; File Header
  3.     dw BootExeEnd-BootExe   ; Size of File
  4. ; Executable Header
  5.     db 0            ; Size of Stack needed
  6. BootExeStart:
  7. ; End Headers Start Data
  8.     ldrDE(_-BootExeStart)
  9.     call LoadFileToRAM
  10.     if(SUCCESS)
  11.         jp nz, KernelPanic
  12.     ex de,hl
  13.     rDrawWrappedString
  14.     rFastCopy
  15.     call FlushKeys
  16.     call WaitKey
  17.     rEndThread
  18. _   db "root/boot.txt",0
  19. BootExeEnd:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement