From e9aa6612c60afa1f7ca32b93dad83ceeddb4d2fa Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Fri, 19 Aug 2022 16:49:03 +0200 Subject: [PATCH] Fixed shell startup (?) At least on the alternative hardware, this "blindly sending" a reset command causes the shell to be terminated right away: The driver acknowldges the reset command with a zero byte - and that byte ends up being read by DumpOutput causing it to branch to endOutput. Maybe that sending a reset command is beneficial on the original hardware. Then another .if is required. Or DumpOutput shouldn't quit on reading a zero byte - the shell handler doesn't seem to send it on purpose(?) --- Apple2/Shell.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Apple2/Shell.asm b/Apple2/Shell.asm index 95496d3..b40169f 100755 --- a/Apple2/Shell.asm +++ b/Apple2/Shell.asm @@ -110,8 +110,8 @@ Start: lda LastChar pha bit ClearKeyboard - lda #ResetCommand - jsr SendByte +; lda #ResetCommand +; jsr SendByte lda #ShellCommand jsr SendByte jsr DumpOutput