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