From 5024aa5a98264b09cdaf9c74d9a435ce53401216 Mon Sep 17 00:00:00 2001 From: jgharston Date: Tue, 8 Nov 2022 01:51:12 +0000 Subject: [PATCH] Startup sets LastBreak flag Fixes FORTH startup problem. --- auxmem.init.s | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auxmem.init.s b/auxmem.init.s index 555f8a3..6a03cef 100644 --- a/auxmem.init.s +++ b/auxmem.init.s @@ -119,6 +119,8 @@ MOSHIGH SEI ; Ensure IRQs disabled STA $0300,X INX BNE :SCLR + INC BYTEVARBASE+$FD ; Last reset=Hard +* TO DO: Do this properly LDX #ENDVEC-DEFVEC-1 :INITPG2 LDA DEFVEC,X ; Set up vectors @@ -208,7 +210,7 @@ BYTE00 BEQ BYTE00A ; OSBYTE 0,0 - generate error RTS ; %000x1xxx host type, 'A'pple BYTE00A BRK DB $F7 -HELLO ASC 'Applecorn MOS 2022-11-07' +HELLO ASC 'Applecorn MOS 2022-11-04' DB $00 ; Unify MOS messages * TO DO: Move into RAM GSSPEED DB $00 ; $80 if GS is fast, $00 for slow