Difference between revisions of "Y2R Registers"

From 3dbrew
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= Registers =
 
= Registers =
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 +
!  Old3DS
 
!  Name
 
!  Name
 
!  Address
 
!  Address
 
!  Width
 
!  Width
 +
!  Used by
 
|-
 
|-
| Y2R_PARAMS
+
| style="background: green" | Yes
 +
| [[#Y2R_PARAMS|Y2R_PARAMS]]
 
| 0x10102000
 
| 0x10102000
 
| 4
 
| 4
 +
| [[Camera Services]]
 
|-
 
|-
 +
| style="background: green" | Yes
 
| Y2R_LINEW
 
| Y2R_LINEW
 
| 0x10102004
 
| 0x10102004
 
| 2
 
| 2
 +
| [[Camera Services]]
 
|-
 
|-
 +
| style="background: green" | Yes
 
| Y2R_LINES
 
| Y2R_LINES
 
| 0x10102006
 
| 0x10102006
 
| 2
 
| 2
 +
| [[Camera Services]]
 
|-
 
|-
 +
| style="background: green" | Yes
 +
| Y2R_COEFFICIENTS
 +
| 0x10102010
 +
| 0x10
 +
| [[Camera Services]]
 +
|-
 +
| style="background: green" | Yes
 
| Y2R_ALPHA
 
| Y2R_ALPHA
 
| 0x10102020
 
| 0x10102020
 
| 2
 
| 2
 +
| [[Camera Services]]
 +
|-
 +
| style="background: green" | Yes
 +
| Y2R_???
 +
| 0x10102100
 +
| 0x20
 +
| [[Camera Services]]
 +
|-
 +
| style="background: green" | Yes
 +
| Y2R_INPUT_Y
 +
| 0x10302000
 +
| 0x80?
 +
| [[Camera Services]]
 +
|-
 +
| style="background: green" | Yes
 +
| Y2R_INPUT_U
 +
| 0x10302080
 +
| 0x80?
 +
| [[Camera Services]]
 +
|-
 +
| style="background: green" | Yes
 +
| Y2R_INPUT_V
 +
| 0x10302100
 +
| 0x80?
 +
| [[Camera Services]]
 +
|-
 +
| style="background: green" | Yes
 +
| Y2R_INPUT_X?
 +
| 0x10302180
 +
| 0x80?
 +
| [[Camera Services]]
 +
|-
 +
| style="background: green" | Yes
 +
| Y2R_OUTPUT_RGB
 +
| 0x10302200
 +
| 0x80?
 +
| [[Camera Services]]
 
|}
 
|}
  
Line 38: Line 90:
 
| 12
 
| 12
 
| BlockAlignment
 
| BlockAlignment
 +
|-
 +
| 15
 +
| ?
 +
|-
 +
| 16
 +
| ?
 +
|-
 +
| 17
 +
| ?
 +
|-
 +
| 21
 +
| ?
 +
|-
 +
| 22
 +
| ?
 +
|-
 +
| 24
 +
| ?
 +
|-
 +
| 25
 +
| ?
 +
|-
 +
| 26
 +
| ?
 +
|-
 +
| 27
 +
| ?
 +
|-
 +
| 28
 +
| ?
 +
|-
 +
| 29
 +
| ?
 
|-
 
|-
 
| 30
 
| 30
 
| Transfer end interrupt
 
| Transfer end interrupt
 +
|-
 +
| 31
 +
| Enable/Busy
 
|}
 
|}

Latest revision as of 01:44, 6 January 2017

Registers[edit]

Old3DS Name Address Width Used by
Yes Y2R_PARAMS 0x10102000 4 Camera Services
Yes Y2R_LINEW 0x10102004 2 Camera Services
Yes Y2R_LINES 0x10102006 2 Camera Services
Yes Y2R_COEFFICIENTS 0x10102010 0x10 Camera Services
Yes Y2R_ALPHA 0x10102020 2 Camera Services
Yes Y2R_??? 0x10102100 0x20 Camera Services
Yes Y2R_INPUT_Y 0x10302000 0x80? Camera Services
Yes Y2R_INPUT_U 0x10302080 0x80? Camera Services
Yes Y2R_INPUT_V 0x10302100 0x80? Camera Services
Yes Y2R_INPUT_X? 0x10302180 0x80? Camera Services
Yes Y2R_OUTPUT_RGB 0x10302200 0x80? Camera Services

Y2R_PARAMS[edit]

BIT DESCRIPTION
0-3 InputFormat
8-9 OutputFormat
10-11 Rotation
12 BlockAlignment
15 ?
16 ?
17 ?
21 ?
22 ?
24 ?
25 ?
26 ?
27 ?
28 ?
29 ?
30 Transfer end interrupt
31 Enable/Busy