Register - Scroll: Difference between revisions
From NerdConsole
Jump to navigationJump to search
NerdOfEpic (talk | contribs) No edit summary |
NerdOfEpic (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
* x - The X value. [0-511] | * x - The X value. [0-511] | ||
* y - The Y value. [0-511] | * y - The Y value. [0-511] | ||
This register is a part of the [[Control Page]]. |
Revision as of 19:25, 14 January 2024
Scroll registers represent the position of the upper/left corner of the screen within the space of the main name table. Any part of the screen that would pass an edge of the name table wraps back to the opposite side vertically or horizontally.
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|
Byte 0 | x | x | x | x | x | x | x | x |
Byte 1 | - | - | - | - | - | - | - | x |
Byte 2 | y | y | y | y | y | y | y | y |
Byte 3 | - | - | - | - | - | - | - | y |
Key
- x - The X value. [0-511]
- y - The Y value. [0-511]
This register is a part of the Control Page.