mirror of
https://github.com/a2-4am/pitch-dark.git
synced 2024-06-08 15:29:30 +00:00
fall back to DHGR if SHR artwork is unavailable
This commit is contained in:
parent
095d2e6d93
commit
087ca8ea90
|
@ -25,7 +25,7 @@ kArtworkGSRootDirectory ; length-prefixed pathname of SHGR graphic
|
||||||
DisplayArtwork
|
DisplayArtwork
|
||||||
WeCanHazSHR
|
WeCanHazSHR
|
||||||
ldx #0 ; SMC
|
ldx #0 ; SMC
|
||||||
jsr ResetPath
|
- jsr ResetPath
|
||||||
+LDADDR kArtworkRootDirectory
|
+LDADDR kArtworkRootDirectory
|
||||||
dex
|
dex
|
||||||
bne +
|
bne +
|
||||||
|
@ -49,7 +49,7 @@ WeCanHazSHR
|
||||||
!word kProDOSFileBuffer
|
!word kProDOSFileBuffer
|
||||||
plx
|
plx
|
||||||
bcc +
|
bcc +
|
||||||
- jmp SoftBell
|
jmp SoftBell
|
||||||
+ sta $C000 ; display double hi-res page 1
|
+ sta $C000 ; display double hi-res page 1
|
||||||
sta $C00D
|
sta $C00D
|
||||||
sta $C05E
|
sta $C05E
|
||||||
|
@ -65,8 +65,10 @@ WeCanHazSHR
|
||||||
!word gPathname
|
!word gPathname
|
||||||
!word kProDOSFileBuffer
|
!word kProDOSFileBuffer
|
||||||
plx
|
plx
|
||||||
bcs -
|
bcc +
|
||||||
lda $C029
|
ldx #0
|
||||||
|
bra -
|
||||||
|
+ lda $C029
|
||||||
ora #$81
|
ora #$81
|
||||||
sta $C029 ; set GS NEWVIDEO mode to turn on SHR mode
|
sta $C029 ; set GS NEWVIDEO mode to turn on SHR mode
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user