mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-05 19:29:37 +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
|
* 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
|
TXS
|
||||||
|
|
||||||
STA $C005 ; Make sure we are writing aux
|
STA $C005 ; Make sure we are writing aux
|
||||||
@ -108,7 +109,7 @@ MOSINIT LDX #$FF ; Initialize Alt SP to $1FF
|
|||||||
STA $C055 ; PAGE2
|
STA $C055 ; PAGE2
|
||||||
JMP MOSHIGH ; Ensure executing in high memory here
|
JMP MOSHIGH ; Ensure executing in high memory here
|
||||||
|
|
||||||
MOSHIGH SEI
|
MOSHIGH SEI ; Disable IRQ while initializing
|
||||||
LDX #$FF
|
LDX #$FF
|
||||||
TXS ; Initialise stack
|
TXS ; Initialise stack
|
||||||
INX ; X=$00
|
INX ; X=$00
|
||||||
|
Loading…
Reference in New Issue
Block a user