use 'soft80_internal_cellcolor' for the current cell color, and CHARCOLOR for the actual textcolor

This commit is contained in:
mrdudz
2015-10-14 17:24:16 +02:00
parent ffda2a3603
commit c708031374
5 changed files with 22 additions and 22 deletions

View File

@@ -6,7 +6,7 @@
.export soft80_kclrscr
.import soft80_kplot
.import soft80_internal_bgcolor
.import soft80_internal_bgcolor, soft80_internal_cellcolor
.importzp ptr1
.include "c64.inc"
@@ -48,7 +48,7 @@ soft80_kclrscr:
lda #$34 ; enable RAM under I/O
sta $01
lda CHARCOLOR
lda soft80_internal_cellcolor
and #$f0
ora soft80_internal_bgcolor
jsr clear ; clear vram