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
|
call z, bytecpy
|
||||||
pop hl
|
pop hl
|
||||||
|
|
||||||
|
push hl
|
||||||
|
push de
|
||||||
|
ld de, fshcmdCLS
|
||||||
|
call strcmp
|
||||||
|
ld hl, fshcmdCLSo
|
||||||
|
pop de
|
||||||
|
call z, bytecpy
|
||||||
|
pop hl
|
||||||
|
|
||||||
push hl
|
push hl
|
||||||
push de
|
push de
|
||||||
ld de, fshcmdVARS
|
ld de, fshcmdVARS
|
||||||
|
|
@ -51,11 +60,11 @@ fshcmddecode:
|
||||||
call z, bytecpy
|
call z, bytecpy
|
||||||
pop hl
|
pop hl
|
||||||
|
|
||||||
push hl
|
push hl
|
||||||
push de
|
push de
|
||||||
ld de, fshcmdCLS
|
ld de, fshcmdSLEEP
|
||||||
call strcmp
|
call strcmp
|
||||||
ld hl, fshcmdCLSo
|
ld hl, fshcmdSLEEPo
|
||||||
pop de
|
pop de
|
||||||
call z, bytecpy
|
call z, bytecpy
|
||||||
pop hl
|
pop hl
|
||||||
|
|
@ -87,13 +96,17 @@ fshcmdroute:
|
||||||
call bytecmp
|
call bytecmp
|
||||||
jp z, fshcmdMOVEf
|
jp z, fshcmdMOVEf
|
||||||
|
|
||||||
|
ld de, fshcmdCLSo
|
||||||
|
call bytecmp
|
||||||
|
jp z, fshcmdCLSf
|
||||||
|
|
||||||
ld de, fshcmdVARSo
|
ld de, fshcmdVARSo
|
||||||
call bytecmp
|
call bytecmp
|
||||||
jp z, fshcmdVARSf
|
jp z, fshcmdVARSf
|
||||||
|
|
||||||
ld de, fshcmdCLSo
|
ld de, fshcmdSLEEPo
|
||||||
call bytecmp
|
call bytecmp
|
||||||
jp z, fshcmdCLSf
|
jp z, fshcmdSLEEPf
|
||||||
|
|
||||||
push bc ;put ret location back on stack
|
push bc ;put ret location back on stack
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
|
|
@ -4,3 +4,4 @@
|
||||||
#include "includes/FshCommands/MOVE.asm"
|
#include "includes/FshCommands/MOVE.asm"
|
||||||
#include "includes/FshCommands/CLS.asm"
|
#include "includes/FshCommands/CLS.asm"
|
||||||
#include "includes/FshCommands/VARS.asm"
|
#include "includes/FshCommands/VARS.asm"
|
||||||
|
#include "includes/FshCommands/SLEEP.asm"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue