Line 136: |
Line 136: |
| | 0x24 | | | 0x24 |
| | [http://hitmen.c02.at/files/yagcd/yagcd/chap4.html#sec4.2.1.3 Debugger Hook] | | | [http://hitmen.c02.at/files/yagcd/yagcd/chap4.html#sec4.2.1.3 Debugger Hook] |
− | | Hook is PPC assembler used by Debugger | + | | Hook is PPC assembler used by Debugger. If nothing is written to 0x60, SDK titles will write the 0x20 bytes of instructions automatically. |
| |- | | |- |
| | 0x800000EC | | | 0x800000EC |
Line 167: |
Line 167: |
| | | | | |
| | Unused Exception Vector area often used for loader stubs and reloaders as this area is never cleared or used. | | | Unused Exception Vector area often used for loader stubs and reloaders as this area is never cleared or used. |
| + | |- |
| + | | 0x800030D8 |
| + | | 4 |
| + | | 0xffffffff |
| + | | Seems to be always set to 0xffffffff by official NAND titles, including the system menu. This means the value carries over to disc titles. |
| |- | | |- |
| | 0x800030E6 | | | 0x800030E6 |
Line 222: |
Line 227: |
| | 0x0000FF16 | | | 0x0000FF16 |
| | GDDR Vendor Code | | | GDDR Vendor Code |
| + | |- |
| + | | 0x8000315C |
| + | | 4 |
| + | | 0xdeadbeef |
| + | | During the boot process, 0x315c is first set to 0xdeadbeef by IOS in the boot_ppc syscall. The value is later partly overwritten by SDK titles. |
| |- | | |- |
| | 0x8000315D | | | 0x8000315D |
Line 227: |
Line 237: |
| | 0? | | | 0? |
| | "Enable legacy DI" mode (0x80 = yes) | | | "Enable legacy DI" mode (0x80 = yes) |
| + | |- |
| + | | 0x8000315E |
| + | | 2 |
| + | | 0x0113 |
| + | | "Devkit boot program version", written to by the system menu. The value carries over to disc games. 0x0113 appears to mean v1.13, which is the latest version of the boot program (found in System Menu 4.3). |
| |- | | |- |
| | 0x80003160 | | | 0x80003160 |
Line 262: |
Line 277: |
| | 0x00000000 | | | 0x00000000 |
| | Title Booted from NAND (Return Code) | | | Title Booted from NAND (Return Code) |
| + | |- |
| + | | 0x80003194 |
| + | | 4 |
| + | | 0x00000000 |
| + | | While reading a disc, the system menu reads the first partition table (0x20 bytes from 0x00040020) and stores a pointer to the data partition entry. When launching the disc game, it copies the partition type to 0x3194. The partition type for data partitions is 0, so typically this location always has 0. |
| + | |- |
| + | | 0x80003198 |
| + | | 4 |
| + | | data partition offset |
| + | | While reading a disc, the system menu reads the first partition table (0x20 bytes from 0x00040020) and stores a pointer to the data partition entry. When launching the disc game, it copies the partition offset to 0x3198. |
| |- style="background-color: #fdd;" | | |- style="background-color: #fdd;" |
| | 0x80003400 | | | 0x80003400 |