vdp1: propogate fix from VDP2
authorAlan Cox <alan@linux.intel.com>
Sun, 4 Jan 2015 21:03:52 +0000 (21:03 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 4 Jan 2015 21:03:52 +0000 (21:03 +0000)
Kernel/dev/vdp1.s

index 9e79c67..4fda20b 100644 (file)
@@ -139,7 +139,6 @@ upline:
 _scroll_up:
                .endif
 scroll_up:
-           ret
            ld b, #23
            ld de, #40          ; start of second line
 downline:   push bc
@@ -156,6 +155,7 @@ downline:   push bc
            add hl, de
            out (c), l
            out (c), h
+           dec c
            ld hl, #scrollbuf
            ld b, #0x40
            otir                ; FIXME: is otir ok for MSX 1 ???