mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2024-12-29 05:29:28 +00:00
Fix to XF2MAIN macro. Protect 3ED/3EE !
This commit is contained in:
parent
e24b7bb96e
commit
2ddf2c3b66
@ -169,11 +169,11 @@ XF2AUX MAC
|
||||
* Called by code running in aux mem to invoke a
|
||||
* routine in main memory
|
||||
XF2MAIN MAC
|
||||
SEI ; Disable IRQ before XFER
|
||||
LDX #<]1
|
||||
STX STRTL
|
||||
LDX #>]1
|
||||
STX STRTH
|
||||
SEI ; Disable IRQ before XFER
|
||||
TSX
|
||||
STX $0101 ; Save alt SP
|
||||
LDX $0100 ; Load main SP into X
|
||||
|
Loading…
Reference in New Issue
Block a user