From 68fc4a1b1577f897d582dd605376fb6d4151101c Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Tue, 27 Aug 2013 10:21:42 +0200 Subject: [PATCH] rename KEYBDV_wrapper to KEYBDV_handler --- libsrc/atari/cgetc.s | 8 ++++---- libsrc/atari/shadow_ram_handlers.s | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libsrc/atari/cgetc.s b/libsrc/atari/cgetc.s index 43969c2aa..cf853f5ce 100644 --- a/libsrc/atari/cgetc.s +++ b/libsrc/atari/cgetc.s @@ -7,7 +7,7 @@ .include "atari.inc" .export _cgetc,setcursor - .import KEYBDV_wrapper + .import KEYBDV_handler .import cursor,mul40 _cgetc: @@ -17,17 +17,17 @@ _cgetc: .if .not .defined(__ATARIXL__) jsr @1 .else - jsr KEYBDV_wrapper + jsr KEYBDV_handler .endif ldx #0 rts .if .not .defined(__ATARIXL__) -@1: lda KEYBDV+5 +@1: lda KEYBDV+5 pha lda KEYBDV+4 pha - rts + rts .endif .proc setcursor diff --git a/libsrc/atari/shadow_ram_handlers.s b/libsrc/atari/shadow_ram_handlers.s index 32b493ac0..56ddc76c3 100644 --- a/libsrc/atari/shadow_ram_handlers.s +++ b/libsrc/atari/shadow_ram_handlers.s @@ -15,7 +15,7 @@ DEBUG = 1 .import __CHARGEN_START__ .export sram_init - .export KEYBDV_wrapper + .export KEYBDV_handler .export CIO_handler .export SIO_handler .export SETVBV_handler @@ -859,7 +859,7 @@ orgbuf_to_dbuf: ;--------------------------------------------------------- -KEYBDV_wrapper: +KEYBDV_handler: lda #>(kret-1) pha