mirror of
https://github.com/cc65/cc65.git
synced 2025-02-23 03:29:00 +00:00
Disable potentially enabled double-width graphics.
This commit is contained in:
parent
cbf0c1d1dd
commit
5b56c6e3a2
@ -50,15 +50,21 @@ LCBANK2 := $C083 ; Swap in LC bank 2
|
|||||||
LCBANK1 := $C08B ; Swap in LC bank 1
|
LCBANK1 := $C08B ; Swap in LC bank 1
|
||||||
|
|
||||||
; Video mode switches
|
; Video mode switches
|
||||||
TXTCLR := $C050 ; Display graphics
|
TXTCLR := $C050 ; Display graphics
|
||||||
TXTSET := $C051 ; Display text
|
TXTSET := $C051 ; Display text
|
||||||
MIXCLR := $C052 ; Disable 4 lines of text
|
MIXCLR := $C052 ; Disable 4 lines of text
|
||||||
MIXSET := $C053 ; Enable 4 lines of text
|
MIXSET := $C053 ; Enable 4 lines of text
|
||||||
LOWSCR := $C054 ; Page 1
|
LOWSCR := $C054 ; Page 1
|
||||||
HISCR := $C055 ; Page 2
|
HISCR := $C055 ; Page 2
|
||||||
LORES := $C056 ; Lores graphics
|
LORES := $C056 ; Lores graphics
|
||||||
HIRES := $C057 ; Hires graphics
|
HIRES := $C057 ; Hires graphics
|
||||||
|
DHIRESON := $C05E ; Enable double-width graphics
|
||||||
|
DHIRESOFF := $C05F ; Disable double-width graphics
|
||||||
|
|
||||||
; Game controller
|
; Game controller
|
||||||
BUTN0 := $C061 ; Open-Apple Key
|
BUTN0 := $C061 ; Open-Apple Key
|
||||||
BUTN1 := $C062 ; Closed-Apple Key
|
BUTN1 := $C062 ; Closed-Apple Key
|
||||||
|
|
||||||
|
; IOU
|
||||||
|
IOUDISON := $C07E ; Disable IOU
|
||||||
|
IOUDISOFF := $C07F ; Enable IOU
|
||||||
|
@ -175,6 +175,10 @@ INIT:
|
|||||||
; Switch into graphics mode
|
; Switch into graphics mode
|
||||||
bit MIXCLR
|
bit MIXCLR
|
||||||
bit HIRES
|
bit HIRES
|
||||||
|
.ifdef __APPLE2ENH__
|
||||||
|
sta IOUDISON
|
||||||
|
bit DHIRESOFF
|
||||||
|
.endif
|
||||||
bit TXTCLR
|
bit TXTCLR
|
||||||
|
|
||||||
; Beagle Bros Shape Mechanic fonts don't
|
; Beagle Bros Shape Mechanic fonts don't
|
||||||
|
@ -126,6 +126,10 @@ INIT:
|
|||||||
bit $C082 ; Switch in ROM
|
bit $C082 ; Switch in ROM
|
||||||
jsr SETGR
|
jsr SETGR
|
||||||
bit MIXCLR
|
bit MIXCLR
|
||||||
|
.ifdef __APPLE2ENH__
|
||||||
|
sta IOUDISON
|
||||||
|
bit DHIRESOFF
|
||||||
|
.endif
|
||||||
bit $C080 ; Switch in LC bank 2 for R/O
|
bit $C080 ; Switch in LC bank 2 for R/O
|
||||||
|
|
||||||
; Done, reset the error code
|
; Done, reset the error code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user