Split out data.c and decode.c

Also given symbols
This commit is contained in:
gamemasterplc 2023-11-22 09:30:35 -06:00
parent 3e16f21568
commit 5cb53ace31
3 changed files with 42 additions and 29 deletions

View file

@ -32,6 +32,18 @@ game/dvd.c:
.sdata start:0x801D3430 end:0x801D3438
.sbss start:0x801D3AE0 end:0x801D3AE8
game/data.c:
.text start:0x80006E38 end:0x80009400
.data start:0x8011EF58 end:0x8011FDE0
.bss start:0x80142840 end:0x80145640
.sdata start:0x801D3438 end:0x801D3448
.sbss start:0x801D3AE8 end:0x801D3AF8
game/decode.c:
.text start:0x80009400 end:0x80009AFC
.data start:0x8011FDE0 end:0x8011FE00
.bss start:0x80145640 end:0x80145A40
game/malloc.c:
.text start:0x8000A558 end:0x8000A938
.data start:0x80121F50 end:0x80121FC8

View file

@ -65,31 +65,31 @@ HuDvdDataFastReadNum = .text:0x80006A80; // type:function size:0x174
HuDvdDataFastReadAsync = .text:0x80006BF4; // type:function size:0x150
HuDvdDataClose = .text:0x80006D44; // type:function size:0x38
HuDvdErrorWatch = .text:0x80006D7C; // type:function size:0xBC
fn_80006E38 = .text:0x80006E38; // type:function size:0xD0
fn_80006F08 = .text:0x80006F08; // type:function size:0x74
fn_80006F7C = .text:0x80006F7C; // type:function size:0x64
fn_80006FE0 = .text:0x80006FE0; // type:function size:0xB8
fn_80007098 = .text:0x80007098; // type:function size:0x224
fn_800072BC = .text:0x800072BC; // type:function size:0x188
fn_80007444 = .text:0x80007444; // type:function size:0xC8
fn_8000750C = .text:0x8000750C; // type:function size:0x1A8
fn_800076B4 = .text:0x800076B4; // type:function size:0x1A8
fn_8000785C = .text:0x8000785C; // type:function size:0x60
fn_800078BC = .text:0x800078BC; // type:function size:0x344
fn_80007C00 = .text:0x80007C00; // type:function size:0x3A0
fn_80007FA0 = .text:0x80007FA0; // type:function size:0x3C4
fn_80008364 = .text:0x80008364; // type:function size:0x428
fn_8000878C = .text:0x8000878C; // type:function size:0x30
fn_800087BC = .text:0x800087BC; // type:function size:0x3FC
fn_80008BB8 = .text:0x80008BB8; // type:function size:0x104
fn_80008CBC = .text:0x80008CBC; // type:function size:0x38
fn_80008CF4 = .text:0x80008CF4; // type:function size:0x7C
fn_80008D70 = .text:0x80008D70; // type:function size:0xD4
fn_80008E44 = .text:0x80008E44; // type:function size:0x130
fn_80008F74 = .text:0x80008F74; // type:function size:0x48C
fn_80009400 = .text:0x80009400; // type:function size:0x200
fn_80009600 = .text:0x80009600; // type:function size:0x1D8
fn_800097D8 = .text:0x800097D8; // type:function size:0x324
HuDataInit = .text:0x80006E38; // type:function size:0xD0
HuDataReadChk = .text:0x80006F08; // type:function size:0x74
HuDataGetStatus = .text:0x80006F7C; // type:function size:0x64
HuDataGetDirPtr = .text:0x80006FE0; // type:function size:0xB8
HuDataDirRead = .text:0x80007098; // type:function size:0x224
HuDataDirSet = .text:0x800072BC; // type:function size:0x188
HuDataDirReadAsyncCallBack = .text:0x80007444; // type:function size:0xC8
HuDataDirReadAsync = .text:0x8000750C; // type:function size:0x1A8
HuDataDirReadNumAsync = .text:0x800076B4; // type:function size:0x1A8
HuDataGetAsyncStat = .text:0x8000785C; // type:function size:0x60
HuDataRead = .text:0x800078BC; // type:function size:0x344
HuDataReadNum = .text:0x80007C00; // type:function size:0x3A0
HuDataSelHeapRead = .text:0x80007FA0; // type:function size:0x3C4
HuDataSelHeapReadNum = .text:0x80008364; // type:function size:0x428
HuDataReadMulti = .text:0x8000878C; // type:function size:0x30
HuDataReadMultiSub = .text:0x800087BC; // type:function size:0x3FC
HuDataGetSize = .text:0x80008BB8; // type:function size:0x104
HuDataClose = .text:0x80008CBC; // type:function size:0x38
HuDataCloseMulti = .text:0x80008CF4; // type:function size:0x7C
HuDataDirClose = .text:0x80008D70; // type:function size:0xD4
HuDataDirCloseNum = .text:0x80008E44; // type:function size:0x130
HuDataReadNumHeapShortForce = .text:0x80008F74; // type:function size:0x48C
HuDecodeSlide = .text:0x80009400; // type:function size:0x200 scope:local
HuDecodeFslide = .text:0x80009600; // type:function size:0x1D8 scope:local
HuDecodeData = .text:0x800097D8; // type:function size:0x324
HuSysInit = .text:0x80009AFC; // type:function size:0x138
fn_80009C34 = .text:0x80009C34; // type:function size:0xD0
fn_80009D04 = .text:0x80009D04; // type:function size:0x164
@ -5353,7 +5353,7 @@ lbl_80141FD0 = .data:0x80141FD0; // type:object size:0x20
lbl_80141FF0 = .data:0x80141FF0; // type:object size:0x800
padStatErrOld = .bss:0x80142800; // type:object size:0x10
rumbleData = .bss:0x80142810; // type:object size:0x30
ReadDataStat = .bss:0x80142840; // type:object size:0x2E00 data:4byte
ReadDataStat = .bss:0x80142840; // type:object size:0x2E00 align:32 data:4byte
TextBuffer = .bss:0x80145640; // type:object size:0x400
lbl_80145A40 = .bss:0x80145A40; // type:object size:0x40
HeapTbl = .bss:0x80145A80; // type:object size:0x14 scope:local
@ -5940,9 +5940,9 @@ HuPadBtnDown = .sbss:0x801D3AD0; // type:object size:0x8 data:2byte
HuPadBtn = .sbss:0x801D3AD8; // type:object size:0x8
beforeDvdStatus = .sbss:0x801D3AE0; // type:object size:0x4 scope:local data:4byte
CallBackStatus = .sbss:0x801D3AE4; // type:object size:0x4 scope:local data:4byte
lbl_801D3AE8 = .sbss:0x801D3AE8; // type:object size:0x4 data:4byte
lbl_801D3AEC = .sbss:0x801D3AEC; // type:object size:0x4 data:4byte
lbl_801D3AF0 = .sbss:0x801D3AF0; // type:object size:0x8 data:4byte
shortAccessSleep = .sbss:0x801D3AE8; // type:object size:0x4 scope:local data:4byte
DataDirMax = .sbss:0x801D3AEC; // type:object size:0x4 scope:local data:4byte
DirDataSize = .sbss:0x801D3AF0; // type:object size:0x8 scope:local data:4byte
lbl_801D3AF8 = .sbss:0x801D3AF8; // type:object size:0x4 data:4byte
lbl_801D3AFC = .sbss:0x801D3AFC; // type:object size:0x4 data:4byte
lbl_801D3B00 = .sbss:0x801D3B00; // type:object size:0x4 data:float

View file

@ -225,6 +225,7 @@ config.libs = [
Object(NonMatching, "game/main.c"),
Object(NonMatching, "game/pad.c"),
Object(NonMatching, "game/dvd.c"),
Object(NonMatching, "game/decode.c"),
Object(Matching, "game/malloc.c"),
Object(Matching, "game/memory.c"),
Object(NonMatching, "game/sprman.c"),