Fix broken shell

When I zasm-ified the shell a couple of dozens of commits ago, I
inverted push and pops...
This commit is contained in:
Virgil Dupras 2019-05-20 07:38:15 -04:00
parent c586c0d63c
commit d2c6e21c64
1 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@
shellInit: shellInit:
xor a xor a
ld (SHELL_MEM_PTR), a ld (SHELL_MEM_PTR), a
ld (SHELL_MEM_PTR+1), a
ld (SHELL_BUF), a ld (SHELL_BUF), a
; print welcome ; print welcome
@ -178,7 +179,7 @@ shellParse:
; let's have DE point to the jump line ; let's have DE point to the jump line
ld a, SHELL_CMD_ARGS_MAXSIZE ld a, SHELL_CMD_ARGS_MAXSIZE
call addDE call addDE
push ix \ pop de push de \ pop ix
; Ready to roll! ; Ready to roll!
call callIX call callIX
cp 0 cp 0