Difference between revisions of "Clip Window ULA/LoRes Register"
From SpecNext official Wiki
(Fixing read/write vs index auto increment description, thanks to Garry help on Facebook to identify the mistake) |
(core 3.0 changes/refresh) |
||
(One intermediate revision by one other user not shown) | |||
Line 28: | Line 28: | ||
The displayed area is "inclusive", i.e. for default values full 256x192 pixel area is displayed. | The displayed area is "inclusive", i.e. for default values full 256x192 pixel area is displayed. | ||
+ | |||
+ | LoRes may get a separate clip window in the future. |
Latest revision as of 13:32, 11 November 2019
Number | $1A |
---|---|
Readable | Yes |
Writable | Yes |
Short Description | Sets and reads clip-window for ULA/LoRes layer. |
The coordinates are stored under index:
Index | Coordinate |
---|---|
0 | X1 position |
1 | X2 position |
2 | Y1 position |
3 | Y2 position |
The current read/write index (which coordinate is selected) can be read or reset by Clip Window Control Register ($1C).
Write to register will modify currently selected coordinate, and auto-increment index (wrapping from 3 to 0).
Read from register will only read currently selected coordinate, index is not modified (to read next coordinate, write the current coordinate value back, to increment index).
The coordinate values are 0,255,0,191 after a Reset.
The displayed area is "inclusive", i.e. for default values full 256x192 pixel area is displayed.
LoRes may get a separate clip window in the future.