From: uz Date: Mon, 15 Feb 2010 18:32:15 +0000 (+0000) Subject: Fixed a video problem: When switching the display, the SCROLL flag gets X-Git-Tag: V2.13.2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4bf888aa623667580ad27ec4ee90fd8eb1ceace5;p=cc65 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 --- 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