From 2a525f8a48fc1eb9a4dd911c660e087fe3d2e94b Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Wed, 19 Jun 2013 11:05:03 +0200 Subject: [PATCH] some cleanups --- libsrc/atari/shadow_ram_handlers.s | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libsrc/atari/shadow_ram_handlers.s b/libsrc/atari/shadow_ram_handlers.s index 206dcfcaf..3c65c98ee 100644 --- a/libsrc/atari/shadow_ram_handlers.s +++ b/libsrc/atari/shadow_ram_handlers.s @@ -51,8 +51,6 @@ sram_init: stx NMIEN ; disable NMI ; disable ROMs - ;inx - ;stx enable_count disable_rom ; setup interrupt vectors @@ -95,7 +93,6 @@ sram_init: .segment "EXTZP" : zeropage zpptr1: .res 2 -;zpptr2: .res 2 .segment "LOWBUFS" @@ -180,7 +177,8 @@ my_NMI_han: int_wrap NMI_save my_RESET_han: - int_wrap RESET_save + enable_rom + jmp (RESET_save) ; System request handlers @@ -200,7 +198,6 @@ CIO_fn_cont: jsr CIO_call_a ; call CIO (maybe A isn't needed, then we could call CIO_call) php pha -;@@@ check if X is preserved over CIO call jsr restore_icba ; restore original ICBAL/ICBAH pla plp -- 2.39.5