Advertisement
Eeems

Untitled

Jun 30th, 2011
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "Header.inc"
  2. #include "Rogue.inc"
  3. .org 0
  4. .echo "Program Start: ",$
  5. .echo "Size: ",ProgEnd
  6. ; Executable Header
  7.     db 0            ; Size of Stack needed
  8. ProgStart:
  9. ; End Headers Start Data
  10.     call Newline
  11.     ld hl,08000h-1
  12.     ld bc,07FFFh
  13. _           inc hl
  14.             ld a,h
  15.             call DispHexA
  16.             ld a,l
  17.             call DispHexA
  18.             ld a,':'
  19.             call PutChar
  20.             ld a,(hl)
  21.             call DispHexA
  22.             call Newline
  23.             rFastCopy
  24.             dec c
  25.                 jr nz,-_
  26.         ld a,0ffh
  27.         ld c,a
  28.         djnz -_
  29.     call FlushKeys
  30.     call WaitKey
  31.     rEndThread
  32. ProgEnd:
  33. .echo "Program End: ",$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement