mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-08 08:30:01 +00:00
Bugfix to ISR trampoline (Thx qkumba!!)
This commit is contained in:
parent
87553b95ef
commit
336654560b
@ -8,13 +8,17 @@
|
||||
|
||||
AUDIOCARD DB $00 ; $00 = Mockingboard, $01 = Ensoniq
|
||||
|
||||
|
||||
* Trampoline in main memory used by aux memory IRQ handler
|
||||
* to invoke Apple II / ProDOS IRQs in main memory
|
||||
A2IRQ >>> IENTMAIN ; IENTMAIN does not do CLI
|
||||
JSR A2IRQ2
|
||||
>>> XF2AUX,IRQBRKRET
|
||||
A2IRQ2 PHP ; Fake things to look like IRQ
|
||||
LDA #>A2IRQRET
|
||||
PHA
|
||||
LDA #<A2IRQRET
|
||||
PHA
|
||||
PHP ; Fake things to look like IRQ
|
||||
JMP (A2IRQV) ; Call Apple II ProDOS ISR
|
||||
A2IRQRET >>> XF2AUX,IRQBRKRET
|
||||
|
||||
|
||||
* BRK handler in main memory. Used on Apple IIgs only.
|
||||
|
Loading…
Reference in New Issue
Block a user