mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2024-09-28 07:55:27 +00:00
Initialize Alt SP on first entry to aux mem.
This commit is contained in:
parent
77d3f07102
commit
b39a6a213a
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user