From 79a6ecd479ab1965809c3b92f0312f24f38a49e7 Mon Sep 17 00:00:00 2001 From: 4am Date: Sun, 30 Jun 2019 13:59:06 -0400 Subject: [PATCH] fix DHGR mode on IIgs --- src/ui.attract.shr.a | 2 +- src/ui.common.a | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ui.attract.shr.a b/src/ui.attract.shr.a index fd8ac1ff6..eaf365df6 100644 --- a/src/ui.attract.shr.a +++ b/src/ui.attract.shr.a @@ -100,7 +100,7 @@ SHRArtworkCallback ; IIgs-specific softswitches for graphics and memory modes. ; NOTE: THIS ROUTINE WILL CRASH ON AN APPLE //C due to writing to $C029, ; so it is imperative that the caller ensures the machine type. -; Thanks to John Brooks for explaining all of this to me. +; Thanks to John Brooks for explaining all of this to me. Twice. ; out: text page clobbered (but screen holes preserved) ; $2000..$9FFF/aux cleared ;------------------------------------------------------------------------------ diff --git a/src/ui.common.a b/src/ui.common.a index 613fe815f..afa834c95 100644 --- a/src/ui.common.a +++ b/src/ui.common.a @@ -59,12 +59,9 @@ Home lda MachineStatus and #SUPPORTS_SHR beq @noSHR - lda SHADOW - ora #$08 - sta SHADOW ; turn off auxmem-to-bank-E1 shadowing lda NEWVIDEO - and #$7F - sta NEWVIDEO ; get out of SHR mode + and #$3F + sta NEWVIDEO ; get out of SHR mode and linear mode lda #$F0 sta TBCOLOR ; white text on black background lda #$00