This commit is contained in:
Stephen Toth 2018-06-30 15:37:11 -04:00
parent ac65a653d3
commit de6092bb9e
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
fshcmdSLEEP: .db "SLEEP", 0
fshcmdSLEEPo: .db $16
fshcmdSLEEPu: .db "Puts the calculator into sleep mode (APD)", 0
fshcmdSLEEPf:
di
call _EnableAPD
ld a,1
ld hl,apdSubTimer
ld (hl),a
inc hl
ld (hl),a
set apdRunning,(iy+apdFlags)
ei
jp Fin