]> git.sur5r.net Git - cc65/blobdiff - libsrc/c128/color.s
same drawing mode extension like for DrawLine
[cc65] / libsrc / c128 / color.s
index e6a488245469b708c6417620dbd6e8754ef3e9f6..5ee12431bc32232083c8eec40e5089349b7b091b 100644 (file)
@@ -39,11 +39,11 @@ _textcolor:
 ; translate vdc->vic colour
 
 vdctovic:
-               ldy     #15
-@L2:    cmp    $CE5C,y
+               ldy     #16
+@L2:    cmp    $CE5C-1,y
         beq    @L3
         dey
-        bpl    @L2
+        bne     @L2
 @L3:   tya
        rts