atarixl target: add support for interruptors, adapt TGI drivers
This commit is contained in:
@@ -39,7 +39,19 @@ doneirq:
|
||||
|
||||
IRQStub:
|
||||
cld ; Just to be sure
|
||||
.if .defined(__ATARIXL__)
|
||||
pha
|
||||
lda PORTB
|
||||
pha
|
||||
and #$fe
|
||||
sta PORTB ; disable ROM @@@ TODO: update CHARGEN
|
||||
.endif
|
||||
jsr callirq ; Call the functions
|
||||
.if .defined(__ATARIXL__)
|
||||
pla
|
||||
sta PORTB
|
||||
pla
|
||||
.endif
|
||||
jmp IRQInd ; Jump to the saved IRQ vector
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user