From: cpg Date: Thu, 12 Dec 2002 23:51:18 +0000 (+0000) Subject: used version from pet -- Atari is now a monochrome target X-Git-Tag: V2.12.0~1911 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f0caac24e1d18b8efb48016b838f73c981bb4ce9;p=cc65 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 --- 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