From 1d22547834e8fb8d5f4c3f80e76f6e32e924b15a Mon Sep 17 00:00:00 2001 From: Kyle Cardoza Date: Sat, 30 Mar 2024 08:08:07 -0400 Subject: [PATCH] Work on interrupts --- src/interrupts.s | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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: