From bd8dd14788eb8094e27e337b8d3e18b86cb4f845 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Fri, 21 Jul 2023 15:43:11 -0500 Subject: [PATCH] Added full status bar for good/better modes --- demos/smb/Main.s | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/demos/smb/Main.s b/demos/smb/Main.s index 20845f3..b13a77d 100644 --- a/demos/smb/Main.s +++ b/demos/smb/Main.s @@ -1345,12 +1345,14 @@ CopyStatus ; Copy just the tiles that change directly tothe graphics screen -MemOffsets dw 67,68,69,70 - dw 71,99,100,101 - dw 102,103,104 -ScreenOffsets dw 12,16,20,24 - dw 28,ROW_STEP+12,ROW_STEP+16,ROW_STEP+20 - dw ROW_STEP+24,ROW_STEP+28,ROW_STEP+32 +MemOffsets dw 67, 68, 69, 70, 71, 82, 83, 84, 85, 86, 89, 90, 91, 92 + dw 99,100,101,102,103,104, 107,108,109,110, 115,116,117, 122,123,124 + +ScreenOffsets dw 12, 16, 20, 24, 28, 72, 76, 80, 84, 88, 100,104,108,112 + dw ROW_STEP+12,ROW_STEP+16,ROW_STEP+20,ROW_STEP+24,ROW_STEP+28,ROW_STEP+32 + dw ROW_STEP+44,ROW_STEP+48,ROW_STEP+52,ROW_STEP+56 + dw ROW_STEP+76,ROW_STEP+80,ROW_STEP+84 + dw ROW_STEP+104,ROW_STEP+108,ROW_STEP+112 CopyStatusToScreen @@ -1373,13 +1375,17 @@ CopyStatusToScreen adc Tmp0 pha - pea $8002 + lda #$8002 + cpy #107 ; This one is palette 3 + bne *+5 + ora #$0001 + pha _GTEDrawTileToScreen plx inx inx - cpx #11*2 + cpx #30*2 bcc :loop rts