Line 51: |
Line 51: |
| *** "01_UNSMJ3.002.bin": This is the ROMIMAGE. | | *** "01_UNSMJ3.002.bin": This is the ROMIMAGE. |
| *** "02_UNSMJ3.002.cfg": Configuration json file, ROMCONFIG. | | *** "02_UNSMJ3.002.cfg": Configuration json file, ROMCONFIG. |
− | *** "03_UNSMJ3.002.pcb": This is the "PRECMP" file referenced by the .meta. | + | *** "03_UNSMJ3.002.pcb": This is the "PRECMP" file referenced by the .meta. See [[#EmuSystemJITPlugin]] |
| *** "04_UNSMJ3.002.nrr": Unused [[NRR]] which is the same as "/.nrr/04_UNSMJ3.002.nrr", except the [[NRR#Certification|Certification]] and ApplicationId are all-zero. | | *** "04_UNSMJ3.002.nrr": Unused [[NRR]] which is the same as "/.nrr/04_UNSMJ3.002.nrr", except the [[NRR#Certification|Certification]] and ApplicationId are all-zero. |
| *** "05_UNSMJ3.002.nro": Identical to "/nro/05_UNSMJ3.002.nro". | | *** "05_UNSMJ3.002.nro": Identical to "/nro/05_UNSMJ3.002.nro". |
Line 62: |
Line 62: |
| First, [[JIT_services#Control|Control]] is used with a 0xEB0-byte struct for the InBuffer, and cmd in_u64=0. The OutBuffer is unused. This does initialization, and copies the input struct to workmem+0x0. | | First, [[JIT_services#Control|Control]] is used with a 0xEB0-byte struct for the InBuffer, and cmd in_u64=0. The OutBuffer is unused. This does initialization, and copies the input struct to workmem+0x0. |
| | | |
− | The u64 for [[JIT_services#GenerateCode|GenerateCode]] is the type: 1-4 are valid. Type1 is used first, then type2. | + | The u64 for [[JIT_services#GenerateCode|GenerateCode]] is the type: 1-4 are valid. Type1 is used first, then type2. Then type3 is used with data loaded from the "PRECMP" file. Type4 is probably only used when executing an emu_pc_addr which was not previously compiled, with a matching emu_pc_addr? |
| | | |
| The u32 for the input Struct32 size is ignored by the plugin. | | The u32 for the input Struct32 size is ignored by the plugin. |