1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-25 04:38:05 +11:00

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

View File

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