Move SEI to top of XF2AUX macro. Safer!

This commit is contained in:
Bobbi Webber-Manners 2021-12-08 11:28:56 -05:00
parent 3d4b476b5a
commit 2becfd310c
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -75,13 +75,13 @@ AUXMOS EQU $D000 ; Final location in aux LC
* Called by code running in main mem to invoke a
* routine in aux memory
XF2AUX MAC
SEI ; Disable IRQ before XFER
LDX $C08B ; R/W LC RAM, bank 1
LDX $C08B
LDX #<]1
STX STRTL
LDX #>]1
STX STRTH
SEI ; Disable IRQ before XFER
SEC ; Use aux memory
BIT RTSINSTR ; Set V: use alt ZP and LC
JMP XFER

View File

@ -204,7 +204,7 @@ BYTE00 BEQ BYTE00A ; OSBYTE 0,0 - generate error
RTS ; %000x1xxx host type, 'A'pple
BYTE00A BRK
DB $F7
HELLO ASC 'Applecorn MOS 2021-12-06'
HELLO ASC 'Applecorn MOS 2021-12-08'
DB $00 ; Unify MOS messages