move internal text/bgcolor variables into the file that also contains the init code for them. also rename them to avoid namespace pollution

This commit is contained in:
mrdudz
2015-10-12 15:04:55 +02:00
parent 07f1879f85
commit 7f2df8e8e6
4 changed files with 42 additions and 32 deletions

View File

@@ -6,7 +6,7 @@
.export soft80_kclrscr
.import soft80_kplot
.import __bgcolor
.import soft80_internal_bgcolor
.importzp ptr1
.include "c64.inc"
@@ -39,7 +39,7 @@ soft80_kclrscr:
bne @lp3
.if SOFT80COLORVOODOO = 1
lda __bgcolor
lda soft80_internal_bgcolor
jsr clear ; clear color ram
.endif
@@ -50,7 +50,7 @@ soft80_kclrscr:
lda CHARCOLOR
and #$f0
ora __bgcolor
ora soft80_internal_bgcolor
jsr clear ; clear vram
sty $01