From f0caac24e1d18b8efb48016b838f73c981bb4ce9 Mon Sep 17 00:00:00 2001 From: cpg Date: Thu, 12 Dec 2002 23:51:18 +0000 Subject: [PATCH] used version from pet -- Atari is now a monochrome target git-svn-id: svn://svn.cc65.org/cc65/trunk@1749 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/color.s | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/libsrc/atari/color.s b/libsrc/atari/color.s index ea398edb2..6fbca5682 100644 --- a/libsrc/atari/color.s +++ b/libsrc/atari/color.s @@ -6,28 +6,13 @@ ; unsigned char __fastcall__ bordercolor (unsigned char color); ; - .export _textcolor, _bgcolor, _bordercolor + .import return0, return1 - .include "atari.inc" - -_textcolor: - ldx COLOR1 ; get old value - sta COLOR1 ; set new value - txa - rts - +_textcolor = return1 -_bgcolor: - ldx COLOR2 ; get old value - sta COLOR2 ; set new value - txa - rts +_bgcolor = return0 +_bordercolor = return0 -_bordercolor: - ldx COLOR4 ; get old value - sta COLOR4 ; set new value - txa - rts -- 2.39.5