From de2019bb871f948cfb43bbb9c28587be8d1b20d4 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Tue, 5 Jan 2021 23:09:32 +0100 Subject: [PATCH] monitor fix for 40 column mode --- src/mon_m65/bsmon.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mon_m65/bsmon.s b/src/mon_m65/bsmon.s index 83085a87..fa98a146 100644 --- a/src/mon_m65/bsmon.s +++ b/src/mon_m65/bsmon.s @@ -580,13 +580,13 @@ Dump_Row: DEX BNE @loop + BBS7 MODE_80,@done ; in 40 columns, do not display chars + JSR PRIMM !byte $3a,$12,$00 ; : reverse on LDZ #0 LDX #2 ; 4 blocks in 80 columns - BBR7 MODE_80,@lchr - DEX ; 2 blocks in 40 columns @lchr LDA #KEY_LT_RED ; XXX replace color with bold attribute JSR Dump_4_Chars LDA #KEY_WHITE ; XXX replace color with bold attribute @@ -595,6 +595,7 @@ Dump_Row: BNE @lchr TZA JSR Add_LPC +@done PLZ RTS