Register - Scroll

From NerdConsole
Revision as of 19:24, 14 January 2024 by NerdOfEpic (talk | contribs)
Jump to navigationJump to search

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]