From c1468f11b2105ede7f6943a7646060933b80b319 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Fri, 31 May 2013 01:37:40 +0200 Subject: [PATCH] rename CIOV and SIOV to CIOV_org and SIOV_org for atarixl target --- asminc/atari.inc | 7 +++++++ libsrc/atari/system_check.s | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/asminc/atari.inc b/asminc/atari.inc index 29159a177..1f3641cf4 100644 --- a/asminc/atari.inc +++ b/asminc/atari.inc @@ -956,8 +956,15 @@ CASETV = $E440 ;cassette handler vector table DISKIV = $E450 ;vector to initialize DIO DSKINV = $E453 ;vector to DIO +.if .defined(__ATARIXL__) +CIOV = $C0 +SIOV = $C3 +CIOV_org = $E456 ;vector to CIO +SIOV_org = $E459 ;vector to SIO +.else CIOV = $E456 ;vector to CIO SIOV = $E459 ;vector to SIO +.endif SETVBV = $E45C ;vector to set VBLANK parameters SYSVBV = $E45F ;vector to process immediate VBLANK XITVBV = $E462 ;vector to process deferred VBLANK diff --git a/libsrc/atari/system_check.s b/libsrc/atari/system_check.s index e8d44b29c..19e574243 100644 --- a/libsrc/atari/system_check.s +++ b/libsrc/atari/system_check.s @@ -36,7 +36,7 @@ cont: ldx #0 ; channel 0 sta ICBLH,x lda #PUTCHR sta ICCOM,x - jsr CIOV + jsr CIOV_org .endmacro .macro print_string2 addr, len @@ -51,7 +51,7 @@ cont: ldx #0 ; channel 0 sta ICBLH,x lda #PUTCHR sta ICCOM,x - jsr CIOV + jsr CIOV_org .endmacro