Apple silicon's 16 KiB pages no longer stop the runtime: it commits guest memory in whole host pages, as on PowerPC64 (PowerPC64), and views of memory are copies there, as Windows has them. What still keeps games from running:
src/common/cpu/recompiler/object/link_macho.c) from ELF objects, the arm64 back end's and the runtime library's,
with the ad hoc signature ld64 gives one, which Apple silicon needs to run it. A Mac loads
one and a game runs; MoltenVK still loses the GPU in some scenes (see
A GPU lockup on MoltenVK).scarletnx -r Game --target ios writes <id>_code.snxobj, 64-bit games only) that the app loads into
memory a debugger made executable (load_pack in src/nx/runtime/main.c, the JIT loader's iOS arena in
code_loader.c). The app makes it itself, or a Mac does.src/nx/runtime/arm.c,
src/common/cpu/arm/exec.c), which needs memory that becomes executable. iOS gives that only to an app that may JIT.--target ios fails there. The iPhone prepares games itself.SNX_BUILD_3DS, SNX_BUILD_VITA, SNX_BUILD_GNUABI),
nor the Linux one for macOS.Made from docs/hosts/apple.md at 69237645142c. GPL-3.0-or-later.