LoRes X Scroll Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
m Ped7g moved page LoRes Layer X Offset to ULA / LoRes Layer X Offset Register: Core 2.00.26 extendens scrolling capability onto ULA layer
Core 2.00.26 changes
Line 3: Line 3:
|Readable=Yes
|Readable=Yes
|Writable=Yes
|Writable=Yes
|ShortDesc=Pixel offset to use when drawing LoRes Layer.
|ShortDesc=Pixel offset to use when drawing ULA or 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)


Being only 128 pixels, this allows the display to scroll in "half-pixels", at the same resolution and smoothness as Layer 2.
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.

Revision as of 14:19, 31 January 2019

Number TBRegisterNumber::$32
Readable TBRegisterReadable::Yes
Writable TBRegisterWritable::Yes
Short Description ShortDesc::Pixel offset to use when drawing ULA or LoRes Layer.

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.