mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-08-15 08:27:29 +00:00
Safer interrupt handling in macros.
This commit is contained in:
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@@ -149,6 +149,7 @@ IENTMAIN MAC
|
|||||||
|
|
||||||
* Enable writing to main memory (for code running in aux)
|
* Enable writing to main memory (for code running in aux)
|
||||||
WRTMAIN MAC
|
WRTMAIN MAC
|
||||||
|
PHP
|
||||||
SEI ; Keeps IRQ handler easy
|
SEI ; Keeps IRQ handler easy
|
||||||
STA $C004 ; Write to main memory
|
STA $C004 ; Write to main memory
|
||||||
EOM
|
EOM
|
||||||
@@ -156,7 +157,7 @@ WRTMAIN MAC
|
|||||||
* Go back to writing to aux (for code running in aux)
|
* Go back to writing to aux (for code running in aux)
|
||||||
WRTAUX MAC
|
WRTAUX MAC
|
||||||
STA $C005 ; Write to aux memory
|
STA $C005 ; Write to aux memory
|
||||||
CLI ; Normal service resumed
|
PLP ; Normal service resumed
|
||||||
EOM
|
EOM
|
||||||
|
|
||||||
* Manually enable AltZP (for code running in main)
|
* Manually enable AltZP (for code running in main)
|
||||||
|
Reference in New Issue
Block a user