From 37ff19ef0dc1649a010f46523e312788f5805674 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Fri, 11 May 2018 07:59:23 -0700 Subject: [PATCH] Show Image DA/IIgs: Preserve NEWVIDEO bits --- desk.acc/show.image.file.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/desk.acc/show.image.file.s b/desk.acc/show.image.file.s index 0a2919d..c2aa7ba 100644 --- a/desk.acc/show.image.file.s +++ b/desk.acc/show.image.file.s @@ -619,7 +619,8 @@ cloop: lda (src),y ;; Apple IIgs - DHR Color jsr test_iigs bcs done - lda #%00000000 + lda NEWVIDEO + and #<~(1<<5) ; Color sta NEWVIDEO done: rts @@ -638,7 +639,8 @@ done: rts ;; Apple IIgs - DHR B&W jsr test_iigs bcs done - lda #%00100000 + lda NEWVIDEO + ora #(1<<5) ; B&W sta NEWVIDEO done: rts