diff options
author | B. Watson <urchlay@slackware.uk> | 2022-11-10 02:34:47 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2022-11-10 02:34:47 -0500 |
commit | 0f21fb7da56f34d900cc4825346868a57b02523c (patch) | |
tree | b843a57c02e4270f7187332fd130fd6dcc8c9790 | |
parent | a15dbde2369e02c7d5926e76049e0cd04dd75154 (diff) | |
download | dla-asm-0f21fb7da56f34d900cc4825346868a57b02523c.tar.gz |
memcheck failure does a reset instead of crash.
-rw-r--r-- | dla.s | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -73,13 +73,14 @@ memcheck: lda #<memmsg2 ldx #>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 |