From 0f21fb7da56f34d900cc4825346868a57b02523c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 10 Nov 2022 02:34:47 -0500 Subject: memcheck failure does a reset instead of crash. --- dla.s | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dla.s b/dla.s index 130659f..63f6795 100644 --- a/dla.s +++ b/dla.s @@ -73,13 +73,14 @@ memcheck: lda #memmsg2 jsr printmsg -mem_bad: - jmp mem_bad ; TODO: find a way to return to DOS from here + jsr getchr ; wait for user to press a key + jmp WARMSV ; get outta here (simulate Reset keypress) mem_ok: rts -memmsg: .byte "Need 48K, only have ",0 -memmsg2: .byte "K.",$9b,"Disable BASIC, remove cartridge?",$9b,0 +memmsg: .byte "Need 48K, only have ",0 +memmsg2: .byte "K.",$9b,"Disable BASIC, remove cartridge?",$9b + .byte "Press any key...",0 xex_init memcheck -- cgit v1.2.3