Work on interrupts

This commit is contained in:
Kyle Cardoza 2024-03-30 08:08:07 -04:00
parent 718668b8f8
commit 1d22547834
1 changed files with 4 additions and 5 deletions

View File

@ -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: