Merge pull request #195 from jgharston/main

Startup sets LastBreak flag
This commit is contained in:
Bobbi Webber-Manners 2022-11-07 20:52:12 -05:00 committed by GitHub
commit cbfa45dd7c

View File

@ -119,6 +119,8 @@ MOSHIGH SEI ; Ensure IRQs disabled
STA $0300,X STA $0300,X
INX INX
BNE :SCLR BNE :SCLR
INC BYTEVARBASE+$FD ; Last reset=Hard
* TO DO: Do this properly
LDX #ENDVEC-DEFVEC-1 LDX #ENDVEC-DEFVEC-1
:INITPG2 LDA DEFVEC,X ; Set up vectors :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 RTS ; %000x1xxx host type, 'A'pple
BYTE00A BRK BYTE00A BRK
DB $F7 DB $F7
HELLO ASC 'Applecorn MOS 2022-11-07' HELLO ASC 'Applecorn MOS 2022-11-04'
DB $00 ; Unify MOS messages DB $00 ; Unify MOS messages
* TO DO: Move into RAM * TO DO: Move into RAM
GSSPEED DB $00 ; $80 if GS is fast, $00 for slow GSSPEED DB $00 ; $80 if GS is fast, $00 for slow