diff --git a/src/interrupts.s b/src/interrupts.s index c051b34..724196d 100644 --- a/src/interrupts.s +++ b/src/interrupts.s @@ -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: