]> git.sur5r.net Git - cc65/commitdiff
used version from pet -- Atari is now a monochrome target
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 12 Dec 2002 23:51:18 +0000 (23:51 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 12 Dec 2002 23:51:18 +0000 (23:51 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1749 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/color.s

index ea398edb24f586cefd445d781f34acb1716e31d8..6fbca5682d58bc7084b3e297b71199852891565a 100644 (file)
@@ -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