LoRes X Scroll Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Ped7g (talk | contribs)
m Ped7g moved page ULA / LoRes Layer X Offset Register to LoRes X Offset Register: core 3.0 change
m Xalior moved page LoRes X Offset Register to LoRes X Scroll Register: match formal nextreg.txt name
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|Readable=Yes
|Readable=Yes
|Writable=Yes
|Writable=Yes
|ShortDesc=Pixel offset to use when drawing ULA or LoRes Layer.
|ShortDesc=Pixel X offset (0..255) to use when drawing LoRes Layer.
}}
}}
bits 7-0 = X Offset (0-255) (Reset to 0 after a reset)
bits 7-0 = X Offset (0-255) (Reset to 0 after a reset)
ULA screen at this moment scrolls horizontally only by whole "characters" (by multiples of 8 pixels), the low 3 bits of offset value are ignored (as of core 2.00.26, may get modified/updated in later cores to scroll per single pixel also horizontally).


LoRes scrolls in "half-pixels" at the same resolution and smoothness as Layer 2.
LoRes scrolls in "half-pixels" at the same resolution and smoothness as Layer 2.
'''NEW in core 3.0:'''
This is now LoRes only offset, ULA will have it's own registers $26 and $27 (to be added to wiki)
(also it's not 100% clear to me if this split did happen already in the version delivered to factory, or it will happen in the following bugfix update, but it should eventually happen).
(I will update + cleanup this over time as I will be able to verify all the info)

Latest revision as of 10:48, 14 October 2025

Number TBRegisterNumber::$32
Readable TBRegisterReadable::Yes
Writable TBRegisterWritable::Yes
Short Description ShortDesc::Pixel X offset (0..255) to use when drawing LoRes Layer.

bits 7-0 = X Offset (0-255) (Reset to 0 after a reset)

LoRes scrolls in "half-pixels" at the same resolution and smoothness as Layer 2.