Line 97:
Line 97:
|f6|0x00
|f6|0x00
}}
}}
+
+
=== Scissor registers ===
+
{{reg24 | BPMEM_SCISSORTL | addr = 0x20 | fields = 2 |
+
|12 |12 |
+
|R/W|R/W|
+
|Left (inclusive)|Top (inclusive)|
+
|}}
+
{{reg24 | BPMEM_SCISSORBR | addr = 0x21 | fields = 2 |
+
|12 |12 |
+
|R/W |R/W|
+
|Right (inclusive)|Bottom (inclusive)|
+
|}}
+
{{reg24 | BPMEM_SCISSOROFFSET | addr = 0x59 | fields = 3 |
+
|4|10 |10 |
+
|U|R/W|R/W|
+
||Y offset / 2|X offset / 2|
+
|}}
+
All values have 342 added to them, so a scissor located at (0, 0) with a size of (640, 528) would have left = 342, top = 342, right = 981, bottom = 869.
== Beginning a copy ==
== Beginning a copy ==