From 04fd8715f534f2000ae0f0c2ef9f800a5e42e03b Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 6 Nov 2014 21:38:03 +0000 Subject: [PATCH] vdp: scrolling sizes are wrong Fix some hex/dec confusions --- Kernel/platform-msx2/vdp.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/platform-msx2/vdp.s b/Kernel/platform-msx2/vdp.s index 5d8df27b..4a993453 100644 --- a/Kernel/platform-msx2/vdp.s +++ b/Kernel/platform-msx2/vdp.s @@ -161,11 +161,11 @@ upline: dec c inir ; safe on MSX2 but not MSX1 inc c - ld hl, #0x4080 ; go down one line and into write mode + ld hl, #0x4050 ; go down one line and into write mode add hl, de ; relative to our position out (c), l out (c), h - ld b, #0x80 + ld b, #0x50 ld hl, #scrollbuf dec c otir ; video ptr is to the line below so keep going @@ -195,7 +195,7 @@ downline: push bc out (c), l out (c), h ld hl, #scrollbuf - ld b, #0x80 + ld b, #80 otir pop bc ld hl, #80 -- 2.34.1