VDP Scrolling: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Horizontal Scrolling= Each Scrolls can be scrolled horizontally on different basis : * Overall * One CELL unit * One line unit This is selected via the [[V...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 113: | Line 113: | ||
* 2-CELL unit | * 2-CELL unit | ||
The VScroll table is located in the [VSRAM]]. | The VScroll table is located in the [[VSRAM]]. | ||
ScrollA and ScrollB both use this table alternately. | ScrollA and ScrollB both use this table alternately. | ||
Line 181: | Line 181: | ||
|CELL 38-39 | |CELL 38-39 | ||
|} | |} | ||
[[Category:Video_system]] |
Latest revision as of 06:58, 20 May 2012
Horizontal Scrolling
Each Scrolls can be scrolled horizontally on different basis :
- Overall
- One CELL unit
- One line unit
This is selected via the vdp register 0xB.
Table format
The HScroll table is in the VRAM and its address is setup via the vdp register 0xD.
ScrollA and ScrollB both use this table alternately.
Address | Data | Affect | ||||||||||||||||||||||||||||||||||
0 |
|
Overall, CELL 0, Line 0 | ||||||||||||||||||||||||||||||||||
2 |
|
Overall, CELL 0, Line 0 | ||||||||||||||||||||||||||||||||||
4 |
|
Line 1 | ||||||||||||||||||||||||||||||||||
6 |
|
Line 1 | ||||||||||||||||||||||||||||||||||
... | ... | ... | ||||||||||||||||||||||||||||||||||
0x10 |
|
CELL 1, Line 8 | ||||||||||||||||||||||||||||||||||
0x12 |
|
CELL 1, Line 8 | ||||||||||||||||||||||||||||||||||
... | ... | ... | ||||||||||||||||||||||||||||||||||
0x3FC |
|
Line 511 | ||||||||||||||||||||||||||||||||||
0x3FE |
|
Line 511 | ||||||||||||||||||||||||||||||||||
... | ... | ... |
Vertical Scrolling
Each Scrolls can be scrolled vertically on two different basis :
- Overall
- 2-CELL unit
The VScroll table is located in the VSRAM.
ScrollA and ScrollB both use this table alternately.
Address | Data | Affect | ||||||||||||||||||||||||||||||||||
0 |
|
Overall, CELL 0-1 | ||||||||||||||||||||||||||||||||||
2 |
|
Overall, CELL 0-1 | ||||||||||||||||||||||||||||||||||
4 |
|
CELL 2-3 | ||||||||||||||||||||||||||||||||||
6 |
|
CELL 2-3 | ||||||||||||||||||||||||||||||||||
... | ... | ... | ||||||||||||||||||||||||||||||||||
0x4C |
|
CELL 38-39 | ||||||||||||||||||||||||||||||||||
0x4E |
|
CELL 38-39 |