From 4bf888aa623667580ad27ec4ee90fd8eb1ceace5 Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 15 Feb 2010 18:32:15 +0000 Subject: [PATCH] Fixed a video problem: When switching the display, the SCROLL flag gets cleared, which in turn causes the display to scroll when a character is output in the lower right corner. git-svn-id: svn://svn.cc65.org/cc65/trunk@4590 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/c128/videomode.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsrc/c128/videomode.s b/libsrc/c128/videomode.s index 7825eca2c..fd37b7b6a 100644 --- a/libsrc/c128/videomode.s +++ b/libsrc/c128/videomode.s @@ -22,6 +22,8 @@ jsr SWAPPER ; Toggle the mode lda #14 jsr BSOUT ; Switch to lower case chars + lda #$C0 + sta SCROLL ; Disable scrolling pla ; Get old mode into A ; Done, old mode is in A