Browse Source

Add a command to return to bootldr

pull/18/head
b1ackmai1er 7 years ago
committed by GitHub
parent
commit
d686f982cc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      Source/Apps/reboot.asm

18
Source/Apps/reboot.asm

@ -0,0 +1,18 @@
;===============================================================================
;
; REBOOT - Execute HBIOS reset to restart to boot loader.
;
;===============================================================================
;
BID_BOOT .EQU $00
HB_BNKCALL .EQU $FFF9
.org $100
LD A,BID_BOOT ; BOOT BANK
LD HL,0 ; ADDRESS ZERO
CALL HB_BNKCALL ; DOES NOT RETURN
HALT
.end
Loading…
Cancel
Save