From d2c6e21c64e8220988a0abf20c9daf9275f66142 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Mon, 20 May 2019 07:38:15 -0400 Subject: [PATCH] Fix broken shell When I zasm-ified the shell a couple of dozens of commits ago, I inverted push and pops... --- kernel/shell.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/shell.asm b/kernel/shell.asm index 7072b42..2d49f63 100644 --- a/kernel/shell.asm +++ b/kernel/shell.asm @@ -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