The N64 emulators for Gamecube found on the Japanese Zelda Collector's Edition disk
  • Assembly 89.2%
  • C 8.5%
  • Python 2.2%
  • Makefile 0.1%
Find a file
2024-02-11 21:17:46 +00:00
asm xlList.c almost matching 2024-02-11 12:06:52 -08:00
debug Commit debug info 2024-02-11 12:06:52 -08:00
include Create headers for Core/ 2024-02-11 12:41:51 -08:00
src Create headers for Core/ 2024-02-11 12:41:51 -08:00
tools xlList.c almost matching 2024-02-11 12:06:52 -08:00
.clang-format clang-format include/ and src/ 2024-02-11 12:14:20 -08:00
.gitignore Import diff.py 2024-02-10 19:31:46 -08:00
checksum.md5 Populate 2020-09-17 05:58:53 +01:00
diff.py Patch diff.py to parse map file 2024-02-11 12:06:52 -08:00
diff_settings.py Import diff.py 2024-02-10 19:31:46 -08:00
ldscript.lcf Populate 2020-09-17 05:58:53 +01:00
Makefile xlList.c almost matching 2024-02-11 12:06:52 -08:00
obj_files.mk xlList.c almost matching 2024-02-11 12:06:52 -08:00
README.md Populate 2020-09-17 05:58:53 +01:00

homeboy-emu

This repo contains a disassembly of the N64 Emulator ELF executable intended for use with the Gamecube releases of The Legend of Zelda Ocarina of Time, specifically the version shipped with the Japanese Zelda Collector's Edition disk as symbols and other debugging information was left unstripped. The repo's name derives from file paths found in the debugging symbols such as C:\HOMEBOY\STEPHEN\Japanese Ocarina\Fire\simGCN.c:837

It builds the following ELF executables:

SIM.elf : md5: 64428C7350B31E0AAD3DDE221C5B18A5 SIM_S.elf : md5: EDDD2DED9906AD2312F7EC585B3D72CE

SIM_S is a version of the build with stripped symbols which when diffed against a similarly stripped original matches byte for byte if assembled and linked, which is the most realistic goal for verifying the accuracy of this disassembly.

Building

Required tools

Instructions

  1. Obtain the original ELF executable found in the 120903_zelda.tgc file on the Japanese Collector's Edition disk and place it in the base working directory and name it SIM_original.elf
  2. Obtain a copy of the MWCC for embedded PowerPC and place it in the tools/mwcc_compiler/1.1/ folder. (NOTE: This compiler's executables [mwcceppc.exe mwasmeppc.exe and mwldeppc.exe] can be installed with Codewarrior 1.1 for Gamecube, but no license or crack is provided with this project. Please obtain access to the compiler on your own.)
  3. Run make setup and make