add SLEEP FshCommand

This commit is contained in:
Stephen Toth 2018-06-30 15:33:20 -04:00
parent 7677669259
commit ac65a653d3
3 changed files with 19 additions and 5 deletions

Binary file not shown.

View File

@ -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
@ -51,11 +60,11 @@ fshcmddecode:
call z, bytecpy
pop hl
push hl
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

View File

@ -4,3 +4,4 @@
#include "includes/FshCommands/MOVE.asm"
#include "includes/FshCommands/CLS.asm"
#include "includes/FshCommands/VARS.asm"
#include "includes/FshCommands/SLEEP.asm"