From 4fe2e27c9e5fdc30248f6e423bef392b2e5d0aca Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Mon, 8 Jun 2020 18:53:11 +0200 Subject: [PATCH] fixed regression in error handling --- c64/basic/engine/do_error.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c64/basic/engine/do_error.s b/c64/basic/engine/do_error.s index 86edb545..6947ca0b 100644 --- a/c64/basic/engine/do_error.s +++ b/c64/basic/engine/do_error.s @@ -47,7 +47,7 @@ do_MEMORY_CORRUPT_error: bpl do_basic_error // branch always do_kernal_error: // .A = KERNAL error code, also almost matches BASIC error codes - + // Convert to BASIC error code tax @@ -142,12 +142,12 @@ do_TO_MANY_FILES_error: do_basic_error: // error code in .X // "?" + phx_trash_a - pha jsr print_return lda #$3F jsr JCHROUT - plx_trash_a + pla // Error message text + " ERROR"