mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 23:58: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:
parent
c586c0d63c
commit
d2c6e21c64
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user