add SLEEP FshCommand
This commit is contained in:
parent
7677669259
commit
ac65a653d3
BIN
bin/FSHa.8xp
BIN
bin/FSHa.8xp
Binary file not shown.
|
|
@ -42,6 +42,15 @@ fshcmddecode:
|
|||
call z, bytecpy
|
||||
pop hl
|
||||
|
||||
push hl
|
||||
push de
|
||||
ld de, fshcmdCLS
|
||||
call strcmp
|
||||
ld hl, fshcmdCLSo
|
||||
pop de
|
||||
call z, bytecpy
|
||||
pop hl
|
||||
|
||||
push hl
|
||||
push de
|
||||
ld de, fshcmdVARS
|
||||
|
|
@ -53,9 +62,9 @@ fshcmddecode:
|
|||
|
||||
push hl
|
||||
push de
|
||||
ld de, fshcmdCLS
|
||||
ld de, fshcmdSLEEP
|
||||
call strcmp
|
||||
ld hl, fshcmdCLSo
|
||||
ld hl, fshcmdSLEEPo
|
||||
pop de
|
||||
call z, bytecpy
|
||||
pop hl
|
||||
|
|
@ -87,13 +96,17 @@ fshcmdroute:
|
|||
call bytecmp
|
||||
jp z, fshcmdMOVEf
|
||||
|
||||
ld de, fshcmdCLSo
|
||||
call bytecmp
|
||||
jp z, fshcmdCLSf
|
||||
|
||||
ld de, fshcmdVARSo
|
||||
call bytecmp
|
||||
jp z, fshcmdVARSf
|
||||
|
||||
ld de, fshcmdCLSo
|
||||
ld de, fshcmdSLEEPo
|
||||
call bytecmp
|
||||
jp z, fshcmdCLSf
|
||||
jp z, fshcmdSLEEPf
|
||||
|
||||
push bc ;put ret location back on stack
|
||||
ret
|
||||
|
|
|
|||
|
|
@ -4,3 +4,4 @@
|
|||
#include "includes/FshCommands/MOVE.asm"
|
||||
#include "includes/FshCommands/CLS.asm"
|
||||
#include "includes/FshCommands/VARS.asm"
|
||||
#include "includes/FshCommands/SLEEP.asm"
|
||||
|
|
|
|||
Loading…
Reference in New Issue