mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-11 22:30:59 +00:00
work around OpenEmulator bug that inconveniently switches out of DHGR mode
This commit is contained in:
parent
4b5fad0c75
commit
958746981e
@ -81,6 +81,8 @@ DecompressHGR
|
||||
DecompressDHGR
|
||||
jsr DecompressHGR
|
||||
sta WRITEMAINMEM
|
||||
jsr DHGRMode ; OpenEmulator incorrectly switches out of
|
||||
; DHGR mode during accelerated decompression
|
||||
lda #$60
|
||||
sta PageFrom+2
|
||||
lda #$40
|
||||
|
@ -6,6 +6,7 @@
|
||||
; Public functions
|
||||
; - Home
|
||||
; - BlankDHGR
|
||||
; - DHGRMode
|
||||
; - IsSearchKey
|
||||
; - IsUpDownOrRightArrow
|
||||
;
|
||||
@ -68,6 +69,15 @@ BlankDHGR
|
||||
jsr ClearHGR1 ; clear hi-res screen 1 in auxmem
|
||||
sta WRITEMAINMEM
|
||||
|
||||
; /!\ execution falls through here to DHGRMode
|
||||
;------------------------------------------------------------------------------
|
||||
; DHGRMode
|
||||
; switch to DHGR mode (HARDER THAN IT SOUNDS)
|
||||
;
|
||||
; in: none
|
||||
; out: none
|
||||
;------------------------------------------------------------------------------
|
||||
DHGRMode
|
||||
; magic sequence to set colour mode on an RGB card
|
||||
; SET80VID clears the RGB-card shift-register
|
||||
; DHIRESON/OFF shifts that bit into the mode register
|
||||
|
Loading…
x
Reference in New Issue
Block a user