Work on interrupts
This commit is contained in:
parent
718668b8f8
commit
1d22547834
|
@ -39,17 +39,17 @@ interrupts_init:
|
||||||
; -----------------------------------------------------------------------------
|
; -----------------------------------------------------------------------------
|
||||||
|
|
||||||
cop_handler_native:
|
cop_handler_native:
|
||||||
phd
|
|
||||||
phb
|
phb
|
||||||
|
long_a
|
||||||
|
|
||||||
|
; Set the data bank register to 0.
|
||||||
pha
|
pha
|
||||||
short_a
|
|
||||||
lda #0
|
lda #0
|
||||||
|
short_a
|
||||||
pha
|
pha
|
||||||
plb
|
plb
|
||||||
pha
|
|
||||||
pld
|
|
||||||
long_a
|
long_a
|
||||||
|
pla
|
||||||
|
|
||||||
; First, we multiply the function number by 2, to get the jump
|
; First, we multiply the function number by 2, to get the jump
|
||||||
; table offset.
|
; table offset.
|
||||||
|
@ -70,7 +70,6 @@ cop_handler_native:
|
||||||
|
|
||||||
; And we're done.
|
; And we're done.
|
||||||
plb
|
plb
|
||||||
pld
|
|
||||||
rti
|
rti
|
||||||
|
|
||||||
cop_jump_table:
|
cop_jump_table:
|
||||||
|
|
Loading…
Reference in New Issue