vdp2: fix scroll_up
authorgeijoenr <enric.geijo@gmail.com>
Sun, 4 Jan 2015 20:46:58 +0000 (21:46 +0100)
committergeijoenr <enric.geijo@gmail.com>
Sun, 4 Jan 2015 20:46:58 +0000 (21:46 +0100)
Kernel/dev/vdp2.s

index 60e6868..a09cddd 100644 (file)
@@ -173,7 +173,6 @@ upline:
            ret
 
 _scroll_up:
-           ret
            ld b, #23
            ld de, #80          ; start of second line
 downline:   push bc
@@ -190,6 +189,7 @@ downline:   push bc
            add hl, de
            out (c), l
            out (c), h
+           dec c
            ld hl, #scrollbuf
            ld b, #80
            otir