Difference between revisions of "LoRes X Offset Register"

From SpecNext official Wiki
Jump to: navigation, search
(core 3.0 changes)
(core 3.0 changes/refresh)
 
(One intermediate revision by the same 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 14:27, 11 November 2019

Number $32
Readable Yes
Writable Yes
Short Description 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.