]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari5200/cputc.s
atari5200: conio now uses just four colors altogether
[cc65] / libsrc / atari5200 / cputc.s
index b230df68c79a0d57238dbd7c8a898dbc545a0cc7..6de397182bd584b50f53bb4997281925d3ced68f 100644 (file)
@@ -82,8 +82,8 @@ putchar:
         sta     ptr4+1
         pla                     ; get char again
 
-;       and     #$C0            ; without this we are compatible with the old version. user must not try to output a char >= $3F
-        ora     conio_color
+        and     #$3F            ; clear palette index bits
+        ora     conio_color     ; use currently selected palette
 
         ldy     COLCRS_5200
         sta     (ptr4),y