diff --git a/applecorn.po b/applecorn.po index 43b0c0d..5d7d0a4 100644 Binary files a/applecorn.po and b/applecorn.po differ diff --git a/applecorn.s b/applecorn.s index 27574ce..2c8dc04 100644 --- a/applecorn.s +++ b/applecorn.s @@ -149,6 +149,7 @@ IENTMAIN MAC * Enable writing to main memory (for code running in aux) WRTMAIN MAC + PHP SEI ; Keeps IRQ handler easy STA $C004 ; Write to main memory EOM @@ -156,11 +157,12 @@ WRTMAIN MAC * Go back to writing to aux (for code running in aux) WRTAUX MAC STA $C005 ; Write to aux memory - CLI ; Normal service resumed + PLP ; Normal service resumed EOM * Manually enable AltZP (for code running in main) ALTZP MAC + PHP SEI ; Disable IRQ when AltZP on LDA $C08B ; R/W LC bank 1 LDA $C08B @@ -172,7 +174,7 @@ MAINZP MAC STA $C008 ; Main ZP and LC LDA $C081 ; Bank ROM back in LDA $C081 - CLI ; Turn IRQ back on + PLP ; Turn IRQ back on EOM * Code is all included from PUT files below ...