Register - Scroll: Difference between revisions

From NerdConsole
Jump to navigationJump to search
(Created page with "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 other side. === Key === * x - The X value. [0-511] * y - The Y value. [0-511]")
 
No edit summary
Line 1: Line 1:
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 other side.
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.


{| class="wikitable"
! 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 ===
=== Key ===
* x - The X value.  [0-511]
* x - The X value.  [0-511]
* y - The Y value.  [0-511]
* y - The Y value.  [0-511]

Revision as of 19:24, 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]