Changes

Jump to navigation Jump to search
Line 11: Line 11:     
= Details =
 
= Details =
Like [[Super_Mario_3D_All-Stars#SuperMario64|SM3DAS]], this uses [[JIT_services|JIT]] for running the emulated executable. The game archives also contains an AOT NRO. A NRO does get loaded, however actual usage is currently not enabled. When the emu PC physical address is not located in DRAM, the code is interpreted instead of using JIT, with the code instruction being loaded with n64MemDefaultRead32 (handler funcptr is called from a table, mem-access with these use the non-WithDestLog funcs. TLB validation is done by those funcs before mem-access, triggering an exception if needed). Patches are applied at runtime with the config/lua files from the game archives.
+
Like [[Super_Mario_3D_All-Stars#SuperMario64|SM3DAS]], this uses [[JIT_services|JIT]] for running the emulated executable. The game archives also contains an AOT NRO. A NRO does get loaded, however actual usage is currently not enabled. When the emu PC physical address is not located in DRAM (code prior to this will handle triggering a N64 exception if the PC vaddr is invalid), the code is interpreted instead of using JIT, with the code instruction being loaded with n64MemDefaultRead32 (handler funcptr is called from a table, mem-access with these use the non-WithDestLog funcs. TLB validation is done by those funcs before mem-access, triggering a N64 exception if needed). Patches are applied at runtime with the config/lua files from the game archives.
    
A maximum of 0x1000-bytes are loaded from the [[Applet_Manager_services#PopLaunchParameter|launch-parameter]], with buf[read_size]=0. Hence, this is a string. When available, this seems to be used to select which game to launch.
 
A maximum of 0x1000-bytes are loaded from the [[Applet_Manager_services#PopLaunchParameter|launch-parameter]], with buf[read_size]=0. Hence, this is a string. When available, this seems to be used to select which game to launch.

Navigation menu