1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-30 21:08:05 +11:00

ed: fix boken 'a' and 'd' cmds

This commit is contained in:
Virgil Dupras 2019-07-21 19:32:24 -04:00
parent f43241a5a0
commit 0fd16a0bb6

View File

@ -66,7 +66,7 @@ edMain:
; Now, process line.
call printcrlf
call cmdParse
jr nz, .error
jp nz, .error
ld a, (CMD_TYPE)
cp 'q'
jr z, .doQ
@ -84,6 +84,7 @@ edMain:
call cpHLDE
pop hl ; <-- lvl 1
jr z, .error
ld a, (CMD_TYPE)
cp 'd'
jr z, .doD
cp 'a'