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

@@ -5,7 +5,7 @@
;
.export soft80_cgetc
.import soft80_internal_cursorxlsb
.import soft80_internal_cellcolor, soft80_internal_cursorxlsb
.import cursor
.importzp tmp1
@@ -74,7 +74,7 @@ setcolor:
; save old value
lda (CRAM_PTR),y ; vram
sta tmp1
lda CHARCOLOR
lda soft80_internal_cellcolor
sta (CRAM_PTR),y ; vram
rts