mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2024-11-05 17:04:40 +00:00
auxmem.init.s: Added paranoid SEI while setting up aux stack.
This commit is contained in:
parent
ecc8669e84
commit
c0ae79ab3a
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@ -28,7 +28,8 @@ MOSSHIM
|
||||
*
|
||||
* Initially executing at $3000 until copied to $D000
|
||||
|
||||
MOSINIT LDX #$FF ; Initialize Alt SP to $1FF
|
||||
MOSINIT SEI ; Disable IRQ while initializing
|
||||
LDX #$FF ; Initialize Alt SP to $1FF
|
||||
TXS
|
||||
|
||||
STA $C005 ; Make sure we are writing aux
|
||||
@ -108,7 +109,7 @@ MOSINIT LDX #$FF ; Initialize Alt SP to $1FF
|
||||
STA $C055 ; PAGE2
|
||||
JMP MOSHIGH ; Ensure executing in high memory here
|
||||
|
||||
MOSHIGH SEI
|
||||
MOSHIGH SEI ; Disable IRQ while initializing
|
||||
LDX #$FF
|
||||
TXS ; Initialise stack
|
||||
INX ; X=$00
|
||||
|
Loading…
Reference in New Issue
Block a user