commit
868e4ce4c9
8 changed files with 814 additions and 709 deletions
|
|
@ -2918,7 +2918,7 @@ __StringWrite = .text:0x800E65DC; // type:function size:0x6C
|
|||
__FileWrite = .text:0x800E6648; // type:function size:0x58 scope:global
|
||||
__pformatter = .text:0x800E66A0; // type:function size:0x774 scope:local
|
||||
float2str = .text:0x800E6E14; // type:function size:0x6EC scope:local
|
||||
round_decimal = .text:0x800E7500; // type:function size:0x12C
|
||||
round_decimal = .text:0x800E7500; // type:function size:0x12C scope:local
|
||||
double2hex = .text:0x800E762C; // type:function size:0x338 scope:local
|
||||
longlong2str = .text:0x800E7964; // type:function size:0x2DC scope:local
|
||||
long2str = .text:0x800E7C40; // type:function size:0x220 scope:local
|
||||
|
|
@ -4549,12 +4549,12 @@ rsmpTab12khz = .data:0x80141FF0; // type:object size:0x800 scope:local
|
|||
padStatErrOld = .bss:0x80142800; // type:object size:0x10 scope:local
|
||||
rumbleData = .bss:0x80142810; // type:object size:0x20 scope:local
|
||||
ReadDataStat = .bss:0x80142840; // type:object size:0x2E00 scope:local align:32 data:4byte
|
||||
TextBuffer = .bss:0x80145640; // type:object size:0x400
|
||||
textBuffer = .bss:0x80145640; // type:object size:0x400 scope:local
|
||||
rmodeobj = .bss:0x80145A40; // type:object size:0x40 scope:local
|
||||
HeapTbl = .bss:0x80145A80; // type:object size:0x14 scope:local
|
||||
strline = .bss:0x80145A98; // type:object size:0x6800 scope:local
|
||||
pfStrBuf = .bss:0x8014C298; // type:object size:0x100 scope:local data:byte
|
||||
processjmpbuf = .bss:0x8014C398; // type:object size:0xF8 align:8
|
||||
processjmpbuf = .bss:0x8014C398; // type:object size:0xF8 align:8 scope:local
|
||||
HuSprData = .bss:0x8014C490; // type:object size:0x9600
|
||||
HuSprGrpData = .bss:0x80155A90; // type:object size:0x5400 data:2byte
|
||||
HuSprOrder = .bss:0x8015AE90; // type:object size:0x1800
|
||||
|
|
|
|||
|
|
@ -506,3 +506,8 @@ modules:
|
|||
symbols: config/GMPP01_00/rels/m401Dll/symbols.txt
|
||||
splits: config/GMPP01_00/rels/m401Dll/splits.txt
|
||||
links: [_minigameDll]
|
||||
|
||||
extract:
|
||||
- symbol: ank8x8_4b
|
||||
binary: ank8x8_4b.bin
|
||||
header: ank8x8_4b.inc
|
||||
|
|
@ -12,3 +12,87 @@ Sections:
|
|||
.sbss type:bss align:32
|
||||
.sdata2 type:rodata align:32
|
||||
.sbss2 type:bss align:32
|
||||
|
||||
game/main.c:
|
||||
.text start:0x800057C0 end:0x80005A64
|
||||
.data start:0x8011EC00 end:0x8011EC10
|
||||
.sdata start:0x801F07C0 end:0x801F07D0
|
||||
.sbss start:0x801F0DC0 end:0x801F0E18
|
||||
.sdata2 start:0x801F1D20 end:0x801F1D28
|
||||
|
||||
game/pad.c:
|
||||
.text start:0x80005A64 end:0x80006480
|
||||
.data start:0x8011EC10 end:0x8011EC20
|
||||
.bss start:0x8015FBA0 end:0x8015FBE0
|
||||
.sbss start:0x801F0E18 end:0x801F0EA0
|
||||
|
||||
game/dvd.c:
|
||||
.text start:0x80006480 end:0x80006E40
|
||||
.data start:0x8011EC20 end:0x8011ED78
|
||||
.sdata start:0x801F07D0 end:0x801F07D8
|
||||
.sbss start:0x801F0EA0 end:0x801F0EA8
|
||||
|
||||
game/data.c:
|
||||
.text start:0x80006E40 end:0x80009408
|
||||
.data start:0x8011ED78 end:0x8011FC00
|
||||
.bss start:0x8015FBE0 end:0x801629E0
|
||||
.sdata start:0x801F07D8 end:0x801F07E8
|
||||
.sbss start:0x801F0EA8 end:0x801F0EB8
|
||||
|
||||
game/decode.c:
|
||||
.text start:0x80009408 end:0x80009B04
|
||||
.data start:0x8011FC00 end:0x8011FC20
|
||||
.bss start:0x801629E0 end:0x80162DE0
|
||||
|
||||
game/font.c:
|
||||
.data start:0x8011FC20 end:0x80121C20
|
||||
|
||||
game/init.c:
|
||||
.text start:0x80009B04 end:0x8000A46C
|
||||
.data start:0x80121C20 end:0x80121D70
|
||||
.bss start:0x80162DE0 end:0x80162E20
|
||||
.sdata start:0x801F07E8 end:0x801F0800
|
||||
.sbss start:0x801F0EB8 end:0x801F0EE8
|
||||
.sdata2 start:0x801F1D28 end:0x801F1D38
|
||||
|
||||
game/jmp.c:
|
||||
.text start:0x8000A46C end:0x8000A560
|
||||
|
||||
game/malloc.c:
|
||||
.text start:0x8000A560 end:0x8000A940
|
||||
.data start:0x80121D70 end:0x80121DE8
|
||||
.bss start:0x80162E20 end:0x80162E38
|
||||
|
||||
game/memory.c:
|
||||
.text start:0x8000A940 end:0x8000AEF8
|
||||
.data start:0x80121DE8 end:0x80121F60
|
||||
|
||||
game/printfunc.c:
|
||||
.text start:0x8000AEF8 end:0x8000C4AC
|
||||
.data start:0x80121F60 end:0x80121FA0
|
||||
.bss start:0x80162E38 end:0x80169738
|
||||
.sbss start:0x801F0EE8 end:0x801F0EF8
|
||||
.sdata2 start:0x801F1D38 end:0x801F1D88
|
||||
|
||||
game/process.c:
|
||||
.text start:0x8000C4AC end:0x8000D350
|
||||
.data start:0x80121FA0 end:0x80121FF0
|
||||
.bss start:0x80169738 end:0x80169830
|
||||
.sbss start:0x801F0EF8 end:0x801F0F08
|
||||
|
||||
game/sprman.c:
|
||||
.text start:0x8000D350 end:0x8000F6A8
|
||||
.rodata start:0x8011DB20 end:0x8011DB30
|
||||
.data start:0x80121FF0 end:0x80122110
|
||||
.bss start:0x80169830 end:0x80179A30
|
||||
.sdata start:0x801F0800 end:0x801F0810
|
||||
.sbss start:0x801F0F08 end:0x801F0F10
|
||||
.sdata2 start:0x801F1D88 end:0x801F1DB0
|
||||
|
||||
game/sprput.c:
|
||||
.text start:0x8000F6A8 end:0x80010B38
|
||||
.rodata start:0x8011DB30 end:0x8011DB40
|
||||
.data start:0x80122110 end:0x80122140
|
||||
.bss start:0x80179A30 end:0x80179A60
|
||||
.sbss start:0x801F0F10 end:0x801F0F18
|
||||
.sdata2 start:0x801F1DB0 end:0x801F1DE8
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -507,3 +507,7 @@ modules:
|
|||
splits: config/GMPP01_00/rels/m401Dll/splits.txt
|
||||
links: [_minigameDll]
|
||||
|
||||
extract:
|
||||
- symbol: ank8x8_4b
|
||||
binary: ank8x8_4b.bin
|
||||
header: ank8x8_4b.inc
|
||||
24
configure.py
24
configure.py
|
|
@ -374,19 +374,19 @@ config.libs = [
|
|||
"host": False,
|
||||
"objects": [
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/main.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/pad.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/dvd.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/data.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/decode.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/font.c"),
|
||||
Object(Matching, "game/pad.c"),
|
||||
Object(Matching, "game/dvd.c"),
|
||||
Object(Matching, "game/data.c"),
|
||||
Object(Matching, "game/decode.c"),
|
||||
Object(Matching, "game/font.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/init.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/jmp.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/malloc.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/memory.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/printfunc.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/process.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/sprman.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/sprput.c"),
|
||||
Object(Matching, "game/jmp.c"),
|
||||
Object(Matching, "game/malloc.c"),
|
||||
Object(Matching, "game/memory.c"),
|
||||
Object(Matching, "game/printfunc.c"),
|
||||
Object(Matching, "game/process.c"),
|
||||
Object(Matching, "game/sprman.c"),
|
||||
Object(Matching, "game/sprput.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/hsfload.c"),
|
||||
Object(NonMatching, "game/hsfdraw.c"),
|
||||
Object(MatchingFor("GMPE01_00", "GMPE01_01"), "game/hsfman.c"),
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#define PTR_OFFSET(ptr, offset) (void *)(((u8 *)(ptr)+(u32)(offset)))
|
||||
#define DATA_EFF_SIZE(size) (((size)+1) & ~0x1)
|
||||
|
||||
static void **HuDataReadMultiSub(s32 *data_ids, BOOL use_num, s32 num);
|
||||
void **HuDataReadMultiSub(s32 *data_ids, BOOL use_num, s32 num);
|
||||
|
||||
#define DATA_MAX_READSTAT 128
|
||||
|
||||
|
|
@ -406,7 +406,7 @@ void **HuDataReadMulti(s32 *data_ids)
|
|||
return HuDataReadMultiSub(data_ids, FALSE, 0);
|
||||
}
|
||||
|
||||
static void **HuDataReadMultiSub(s32 *data_ids, BOOL use_num, s32 num)
|
||||
void **HuDataReadMultiSub(s32 *data_ids, BOOL use_num, s32 num)
|
||||
{
|
||||
s32 *dir_ids;
|
||||
char **paths;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ struct decode_data
|
|||
u32 size;
|
||||
};
|
||||
|
||||
static u8 TextBuffer[1024];
|
||||
static u8 textBuffer[1024];
|
||||
|
||||
static void HuDecodeNone(struct decode_data *decode)
|
||||
{
|
||||
|
|
@ -27,7 +27,7 @@ static void HuDecodeLz(struct decode_data *decode)
|
|||
|
||||
|
||||
for(i=0; i<1024; i++) {
|
||||
TextBuffer[i] = 0;
|
||||
textBuffer[i] = 0;
|
||||
}
|
||||
while(decode->size) {
|
||||
flag >>= 1;
|
||||
|
|
@ -35,7 +35,7 @@ static void HuDecodeLz(struct decode_data *decode)
|
|||
flag = (*decode->src++)|0xFF00;
|
||||
}
|
||||
if(flag & 0x1) {
|
||||
TextBuffer[pos++] = *decode->dst++ = *decode->src++;
|
||||
textBuffer[pos++] = *decode->dst++ = *decode->src++;
|
||||
pos = pos & 0x3FF;
|
||||
decode->size--;
|
||||
} else {
|
||||
|
|
@ -44,7 +44,7 @@ static void HuDecodeLz(struct decode_data *decode)
|
|||
i |= ((copy_len & ~0x3F) << 2);
|
||||
copy_len = (copy_len & 0x3F)+3;
|
||||
for(j=0; j<copy_len; j++) {
|
||||
TextBuffer[pos++] = *decode->dst++ = TextBuffer[(i+j) & 0x3FF];
|
||||
textBuffer[pos++] = *decode->dst++ = textBuffer[(i+j) & 0x3FF];
|
||||
pos &= 0x3FF;
|
||||
}
|
||||
decode->size -= j;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue