forked from kholdfuzion/GoldenRecomp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathus.toml
More file actions
47 lines (42 loc) · 1.68 KB
/
Copy pathus.toml
File metadata and controls
47 lines (42 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Config file for Goldeneye 007 US Recompilation
[input]
entrypoint = 0x80000400
# Paths are relative to the location of this config file.
output_func_path = "RecompiledFuncs"
#relocatable_sections_path = "overlays.us.txt"
elf_path = "ge007.tlbfree.elf"
#symbols_file_path = "dump.toml"
rom_file_path = "ge007.tlbfree.z64"
# Audio sequencer functions not detected by N64Recomp's function finder
# These are sub-functions within the __CSPPostNextSeqEvent region that are
# called via function pointers / jump tables
manual_funcs = [
{ name = "__CSPSeqEventPost1", section = ".code", vram = 0x80011030, size = 0x3C },
{ name = "__CSPProcessEvent", section = ".code", vram = 0x8001106C, size = 0x1CC },
{ name = "__CSPHandleEvent", section = ".code", vram = 0x8001123C, size = 0x824 },
{ name = "__CSPStubFunc", section = ".code", vram = 0x80011A60, size = 0xC },
{ name = "__CSPHandleNextEvent", section = ".code", vram = 0x80011A6C, size = 0x614 },
]
[patches]
stubs = [
# TLB management functions - stubbed because N64Recomp doesn't support TLB (cop0 registers)
# The PC port handles memory directly without TLB
"boot", # cop0 TLB ops; RECOMP_PATCH in patches/boot.c calls init() directly
"resolve_TLBaddress_for_InvalidHit",
"initTLBPrepareContext",
"tlbRandomGetNext",
"tlbmanageEstablishManagementTable",
"tlbmanageGetIndexForEntry",
"tlbmanageGetTlbAllocatedBlock",
"tlbmanageRemoveEntry",
"tlbmanageRemoveEntryByIndex",
"tlbmanageResetCurrentEntriesCount",
"tlbmanageTranslateLoadRomFromTlbAddress",
"eqpower",
]
ignored = [
]
# [[patches.instruction]]
# func = "boot"
# vram = 0x70000470
# value = 0x00000000 # -> nop