Add support for PAL version (#464)

* Initial setup for PAL version

* Add hashes to config.yml
Set REL/empty.c to matching for every version
Turn off quick-analysis for PAL

* Set nisDll matching only for the US version

* More config.yml fixes and reran auto-analysis

* Split PAL to sprput

* Add more symbols

* Split a lot more code in PAL

* Split more

Also introduce version.h header

* Split to board stuff

* Port early board TUs to PAL

* More board PAL ports

* Split rest of board code

* Board RELs porting to PAL

* Match w06Dll/fire.c in PAL

* Match w04 big boo for PAL

---------

Co-authored-by: dbalatoni13 <stubiflex.junior@gmail.com>
This commit is contained in:
Liam Coleman 2024-11-16 12:35:24 -06:00 committed by GitHub
parent 80015a6e5e
commit d0a5c85d3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
236 changed files with 40998 additions and 390 deletions

View file

@ -0,0 +1,15 @@
Sections:
.text type:code align:4
.ctors type:rodata align:4
.dtors type:rodata align:4
.rodata type:rodata align:8
.data type:data align:8
REL/board_executor.c:
.text start:0x00000000 end:0x000000E0
.rodata start:0x00000000 end:0x00000010
REL/w21Dll/main.c:
.text start:0x000000E0 end:0x000003E0
.rodata start:0x00000010 end:0x00000018
.data start:0x00000000 end:0x00000010

View file

@ -0,0 +1,18 @@
ObjectSetup = .text:0x00000000; // type:function size:0x30 scope:local
_prolog = .text:0x00000030; // type:function size:0x64 scope:global
_epilog = .text:0x00000094; // type:function size:0x4C scope:global
BoardCreate = .text:0x000000E0; // type:function size:0x1D4
BoardDestroy = .text:0x000002B4; // type:function size:0xB8
LightSetHook = .text:0x0000036C; // type:function size:0x44 scope:local
LightResetHook = .text:0x000003B0; // type:function size:0x20 scope:local
WalkEvent = .text:0x000003D0; // type:function size:0x8 scope:local
WalkMiniEvent = .text:0x000003D8; // type:function size:0x4 scope:local
LandEvent = .text:0x000003DC; // type:function size:0x4 scope:local
_ctors = .ctors:0x00000000; // type:label scope:global data:4byte
_dtors = .dtors:0x00000000; // type:label scope:global data:4byte
lbl_1_rodata_10 = .rodata:0x00000010; // type:object size:0x4 scope:local data:float
lbl_1_rodata_14 = .rodata:0x00000014; // type:object size:0x4 scope:local data:float
bgMdl = .data:0x00000000; // type:object size:0x2 scope:local data:2byte
fgMdl = .data:0x00000002; // type:object size:0x2 scope:local data:2byte
hostMdl = .data:0x00000004; // type:object size:0x2 scope:local data:2byte
hostMotTbl = .data:0x00000008; // type:object size:0x8 scope:local