mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-08 23:31:13 +00:00
Re-enabled code to set GS text mode colours & border
This commit is contained in:
parent
d88408b537
commit
299ca47246
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@ -93,7 +93,7 @@ KBDSTRB EQU $C010
|
||||
RDVBL EQU $C019
|
||||
RD80VID EQU $C01F
|
||||
|
||||
TBCOLOR EQU $C022 ; GS-specific, used but commented out
|
||||
TBCOLOR EQU $C022 ; GS-specific, text colour reg
|
||||
NEWVIDEO EQU $C029 ; GS-specific, new video register
|
||||
|
||||
SPKR EQU $C030
|
||||
|
@ -892,16 +892,14 @@ VDU20
|
||||
BIT VDUBANK ; Check if GS
|
||||
BPL :S1 ; If not, skip SHR call
|
||||
JSR SHRDEFPAL ; Default palette
|
||||
* THE FOLLOWING TWO LINES ARE FOR GS ONLY & NOT SAFE ON //c
|
||||
* LDA #$F0
|
||||
* STA TBCOLOR ; Set text palette
|
||||
LDA #$F0
|
||||
STA TBCOLOR ; Set text palette B&W
|
||||
STZ CLOCKCTL ; Set border
|
||||
:S1 LDX #VDUCOLEND-TXTFGD
|
||||
LDA #$00
|
||||
VDU20LP STA TXTFGD,X ; Clear all colours
|
||||
DEX ; and gcol actions
|
||||
BPL VDU20LP
|
||||
* THE FOLLOWING LINE IS FOR GS ONLY & NOT SAFE ON //c
|
||||
* STA CLOCKCTL ; Set border
|
||||
LDA #$80
|
||||
JSR HGRSETTCOL ; Set txt background
|
||||
JSR SHRSETTCOL ; Set txt background
|
||||
|
Loading…
Reference in New Issue
Block a user