From: Christian Groessler Date: Wed, 19 Jun 2013 09:05:03 +0000 (+0200) Subject: some cleanups X-Git-Tag: V2.15~223^2~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2a525f8a48fc1eb9a4dd911c660e087fe3d2e94b;p=cc65 some cleanups --- 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