public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a38692
)
vdp: scrolling sizes are wrong
author
Alan Cox
<alan@etchedpixels.co.uk>
Thu, 6 Nov 2014 21:38:03 +0000
(21:38 +0000)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Thu, 6 Nov 2014 21:38:03 +0000
(21:38 +0000)
Fix some hex/dec confusions
Kernel/platform-msx2/vdp.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-msx2/vdp.s
b/Kernel/platform-msx2/vdp.s
index
5d8df27
..
4a99345
100644
(file)
--- 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, #0x40
8
0 ; go down one line and into write mode
+ ld hl, #0x40
5
0 ; go down one line and into write mode
add hl, de ; relative to our position
out (c), l
out (c), h
- ld b, #0x
8
0
+ ld b, #0x
5
0
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, #
0x
80
+ ld b, #80
otir
pop bc
ld hl, #80