Initialize Alt SP on first entry to aux mem.

This commit is contained in:
Bobbi Webber-Manners 2021-08-12 17:14:03 -04:00
parent 77d3f07102
commit b39a6a213a

View File

@ -26,7 +26,10 @@ MOSSHIM
*
* Initially executing at $3000 until copied to $D000
MOSINIT STA $C005 ; Make sure we are writing aux
MOSINIT LDX #$FF ; Initialize Alt SP to $1FF
TXS
STA $C005 ; Make sure we are writing aux
STA $C000 ; Make sure 80STORE is off
LDA $C08B ; LC RAM Rd/Wt, 1st 4K bank
@ -148,5 +151,3 @@ MOSINIT STA $C005 ; Make sure we are writing aux
:OLDM ASC '(Use OLD to recover any program)'
DB $0D,$0D,$00