some more rework, second attempt on fixing the color issues. added ifdefs to disable the color voodoo alltogether for debugging purposes.
This commit is contained in:
@@ -33,9 +33,14 @@ soft80_kclrscr:
|
||||
inx
|
||||
bne @lp3
|
||||
|
||||
.if SOFT80COLORVOODOO = 1
|
||||
lda __bgcolor
|
||||
jsr clear ; clear color ram
|
||||
.endif
|
||||
|
||||
sei
|
||||
ldy $01
|
||||
lda #$34
|
||||
lda #$34 ; enable RAM under I/O
|
||||
sta $01
|
||||
|
||||
lda CHARCOLOR
|
||||
@@ -43,11 +48,6 @@ soft80_kclrscr:
|
||||
ora __bgcolor
|
||||
jsr clear ; clear vram
|
||||
|
||||
inc $01 ; -> $35
|
||||
|
||||
lda __bgcolor
|
||||
jsr clear ; clear color ram
|
||||
|
||||
sty $01
|
||||
cli
|
||||
|
||||
|
||||
Reference in New Issue
Block a user