Every 8 lines scrolled horizontally
Moderators: BigEvilCorporation, Mask of Destiny
Every 8 lines scrolled horizontally
Why does the VDP scroll every 8 lines horizontally when I try to scroll only one?
I have found the problem: register 0x0B was set to 1. Changing it to 3 solves the problem.
Nevertheless, according to Charles MacDonald's VDP document, it should work if the register is set to 1. So, this seems to be a mistake in that document.
Nevertheless, according to Charles MacDonald's VDP document, it should work if the register is set to 1. So, this seems to be a mistake in that document.
Last edited by M-374 LX on Mon Mar 24, 2014 9:11 pm, edited 1 time in total.
-
- Very interested
- Posts: 292
- Joined: Sat Apr 21, 2007 1:14 am
There's two line scrolling modes, 1 and 3. Mode 1 re-uses the first 8 words of the scroll table and applies them to all display lines, mode 3 maps the scroll table words to display lines like normal.M-374 LX wrote:I have found the problem: register 0x0B was set to 1. Changing it to 3 solves the problem.
Nevertheless, according to Charles MacDonald's VDP document, it should if the register is set to 1. So, this seems to be a mistake in that document.
Section 13 has a more in-depth description of how the scroll modes work, but you're right, I should have clarified how they differ in the register 0x0B description.