From 22d1c744bbf0bc1539c6bdc790b783534ca41192 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sat, 29 Jan 2022 11:56:15 -0500 Subject: [PATCH] auto-wrap wasn't advancing the cursor after wrapping. --- vt100.screen.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vt100.screen.S b/vt100.screen.S index cd87b80..b58b5da 100644 --- a/vt100.screen.S +++ b/vt100.screen.S @@ -308,7 +308,7 @@ draw_char_raw ent jsr recalc_cursor pla sta [cursor_base] ; offset 0 - rts + jmp advance_x :scroll pha ; save @@ -317,7 +317,7 @@ draw_char_raw ent jsr recalc_cursor_x pla sta [cursor_base] ; offset 0 - rts + jmp advance_x * erase screen commands are not affected by origin or scrolling region.