mirror of
https://github.com/cc65/cc65.git
synced 2025-04-08 19:38:55 +00:00
Return 0 if color not found
git-svn-id: svn://svn.cc65.org/cc65/trunk@1792 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
67890598ac
commit
0824475804
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user