Clip Window Control Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
added info + Core 2.00.22 changes (readable now)
 
forum
Line 6: Line 6:
}}
}}
{| class="wikitable"
{| class="wikitable"
Write:
! Bit !! Function
! Bit !! Function
|-
|-
Line 17: Line 18:
|}
|}


Ped7g comment: it's a bit unclear what interesting info may be gained by reading this register (seems a bit useless to me). I posted question in forum and I will update the text if I will get explanation.
Read:
! Bit !! Function
|-
| 7-6 || Reserved
|-
| 5-4 || the current Layer 2 clip-window register index
|-
| 3-2 || the current Sprite clip-window register index
|-
| 1-0 || the current ULA/LoRes clip-window register index
|}
 
Each read index maps as 0: X1, 1: X2, 2: Y1 and 3: Y2 (the same order how the coordinates are read/written to particular clip-window register).

Revision as of 13:06, 23 December 2018

Number TBRegisterNumber::$1C
Readable TBRegisterReadable::Yes
Writable TBRegisterWritable::Yes
Short Description ShortDesc::Controls (resets) the clip-window registers indices.
Write:
Bit Function
7-3 Reserved, must be 0
2 reset the ULA/LoRes clip-window register index (by writing 1).
1 reset the Sprite clip-window register index (by writing 1).
0 reset the Layer 2 clip-window register index (by writing 1).

Read: ! Bit !! Function |- | 7-6 || Reserved |- | 5-4 || the current Layer 2 clip-window register index |- | 3-2 || the current Sprite clip-window register index |- | 1-0 || the current ULA/LoRes clip-window register index |}

Each read index maps as 0: X1, 1: X2, 2: Y1 and 3: Y2 (the same order how the coordinates are read/written to particular clip-window register).