Kernal v2 patch from Ray
The patch was simple I just took the screen clear routine from the v3 KERNAL ROM and incorporated that into FB64 so that screen RAM is filled with the foreground color no matter which KERNAL version you actually have.
This commit is contained in:
parent
770854975c
commit
dfe92c86ff
1 changed files with 12 additions and 0 deletions
|
@ -726,6 +726,18 @@ jsr CHROUT
|
|||
!if clearscrena = 1 {
|
||||
jsr CLEARSCREEN
|
||||
|
||||
; Set text color for C64 with V2 KERNAL
|
||||
!if target = 64 {
|
||||
lda #forecolor2
|
||||
ldx #$00
|
||||
loop
|
||||
sta color,x
|
||||
sta color+256,x
|
||||
sta color+512,x
|
||||
sta color+768,x
|
||||
dex
|
||||
bne loop
|
||||
}
|
||||
|
||||
!if target = 20 & forecolor2 <> 1 & forecolor2 < 8 {
|
||||
;Set foreground char color if not white (NOT REQUIRED FOR C64)
|
||||
|
|
Loading…
Reference in a new issue