mirror of https://github.com/cybernesto/VBMP.git
Support for Chat Mauve Mode
Added monochrome and color DHGR initialization depending on the horizontal resolution. 560x192x1 images are displayed in JACE without color fringes. Should be tested with real hardware.
This commit is contained in:
parent
ef32bf184c
commit
05bbb21b7a
24
DISPLAY.S
24
DISPLAY.S
|
@ -98,14 +98,22 @@ DEBUT BIT $C050 ; GRAPHIQUES
|
||||||
STA DHGR
|
STA DHGR
|
||||||
LDA SOURCE+$0E
|
LDA SOURCE+$0E
|
||||||
CMP #$18
|
CMP #$18
|
||||||
BNE DHGRINI
|
BEQ GSTEST
|
||||||
LDA SOURCE+$0F
|
|
||||||
CMP #$01
|
STA $C00C
|
||||||
BNE DHGRINI
|
BIT $C05E ; DOUBLE HR
|
||||||
JMP GSTEST
|
STA $C05F
|
||||||
DHGRINI BIT $C05E ; DOUBLE HR
|
STA $C05E
|
||||||
STA $C00D ; 80 COLONNES
|
STA $C05F
|
||||||
STA $C001 ; SET80STORE
|
STA $C00D
|
||||||
|
STA $C05E
|
||||||
|
CMP #$30
|
||||||
|
BEQ MONO
|
||||||
|
STA $C05F
|
||||||
|
STA $C05E
|
||||||
|
STA $C05F
|
||||||
|
STA $C05E
|
||||||
|
MONO STA $C001 ; SET80STORE
|
||||||
BIT $C055 ; PAGE2
|
BIT $C055 ; PAGE2
|
||||||
LDA #01
|
LDA #01
|
||||||
STA DHGR
|
STA DHGR
|
||||||
|
|
Loading…
Reference in New Issue