Difference between revisions of "Cfg:GetSystemModel"
Jump to navigation
Jump to search
(→Description: explanation of A and P serial number tags) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 30: | Line 30: | ||
! Value | ! Value | ||
! Description | ! Description | ||
+ | ! Codename string used by [[ACT_Services|ACT-sysmodule]] | ||
|- | |- | ||
|- | |- | ||
| 0 | | 0 | ||
| Nintendo 3DS | | Nintendo 3DS | ||
+ | | CTR | ||
|- | |- | ||
| 1 | | 1 | ||
| Nintendo 3DS XL | | Nintendo 3DS XL | ||
+ | | SPR | ||
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | [[New_3DS]] |
+ | | KTR | ||
|- | |- | ||
| 3 | | 3 | ||
| Nintendo 2DS | | Nintendo 2DS | ||
+ | | FTR | ||
+ | |- | ||
+ | | 4 | ||
+ | | [[New_3DS]] XL | ||
+ | | RED | ||
+ | |- | ||
+ | | 5 | ||
+ | | New 2DS XL | ||
+ | | JAN | ||
|} | |} | ||
+ | |||
+ | =Description= | ||
+ | This uses the code for [[CfgS:GetConfigInfoBlk8]] to load 4-bytes from blkID [[Config_Savegame|0x000F0004]]. The first u8 from this output is written to the command-response output u8. When this value=3 for Nintendo 2DS, this uses the code for [[CfgS:SecureInfoGetSerialNo]] to load the SerialNo. The first byte from the SerialNo must be 'A' (retail 2DS) or 'P' (devkit 2DS) when the above value is set for Nintendo 2DS, otherwise this returns error 0xD8A10006 and clears the output u8 to value zero. |
Latest revision as of 09:44, 29 May 2017
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00050000] |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | u8 output system model |
System Model Values[edit]
Value | Description | Codename string used by ACT-sysmodule |
---|---|---|
0 | Nintendo 3DS | CTR |
1 | Nintendo 3DS XL | SPR |
2 | New_3DS | KTR |
3 | Nintendo 2DS | FTR |
4 | New_3DS XL | RED |
5 | New 2DS XL | JAN |
Description[edit]
This uses the code for CfgS:GetConfigInfoBlk8 to load 4-bytes from blkID 0x000F0004. The first u8 from this output is written to the command-response output u8. When this value=3 for Nintendo 2DS, this uses the code for CfgS:SecureInfoGetSerialNo to load the SerialNo. The first byte from the SerialNo must be 'A' (retail 2DS) or 'P' (devkit 2DS) when the above value is set for Nintendo 2DS, otherwise this returns error 0xD8A10006 and clears the output u8 to value zero.