mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-08 08:30:01 +00:00
Disable interrupts around native 816 code.
This commit is contained in:
parent
015b96a79a
commit
cb74f75ad0
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@ -104,7 +104,9 @@ SHRCLREOL
|
||||
|
||||
|
||||
* VDU16 (CLG) clears the whole SHR screen right now
|
||||
SHRCLEAR CLC ; 816 native mode
|
||||
SHRCLEAR PHP ; Disable interrupts
|
||||
SEI
|
||||
CLC ; 816 native mode
|
||||
XCE
|
||||
REP #$10 ; 16 bit index
|
||||
MX %10 ; Tell Merlin
|
||||
@ -118,6 +120,7 @@ SHRCLEAR CLC ; 816 native mode
|
||||
MX %11 ; Tell Merlin
|
||||
SEC ; Back to 6502 emu mode
|
||||
XCE
|
||||
PLP ; Normal service resumed
|
||||
RTS
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user