mirror of https://github.com/PrimeDecomp/prime.git
Start splitting data.s
This commit is contained in:
parent
84076de482
commit
576a2b1541
|
@ -1315,8 +1315,8 @@ lbl_803C1228:
|
|||
/* 803C1240 003BE1A0 7C 08 03 A6 */ mtlr r0
|
||||
/* 803C1244 003BE1A4 4E 80 00 20 */ blr
|
||||
|
||||
.global sub_803c1248
|
||||
sub_803c1248:
|
||||
.global EXIInit
|
||||
EXIInit:
|
||||
/* 803C1248 003BE1A8 7C 08 02 A6 */ mflr r0
|
||||
/* 803C124C 003BE1AC 90 01 00 04 */ stw r0, 4(r1)
|
||||
/* 803C1250 003BE1B0 94 21 FF E8 */ stwu r1, -0x18(r1)
|
||||
|
|
|
@ -1,5 +1,45 @@
|
|||
.include "macros.inc"
|
||||
|
||||
.section .data, "wa"
|
||||
|
||||
lbl_803F7160:
|
||||
.4byte OnReset
|
||||
.4byte 127
|
||||
.4byte 0
|
||||
.4byte 0
|
||||
|
||||
lbl_803F7170:
|
||||
.byte 0x18
|
||||
.byte 0xFC
|
||||
.byte 0xC0
|
||||
.byte 0x80
|
||||
.byte 0x7f
|
||||
.byte 0x40
|
||||
.byte 0x3f
|
||||
.byte 0x01
|
||||
.byte 0x00
|
||||
.ascii "// Coded by Kawasedo"
|
||||
.byte 0x00
|
||||
.byte 0x00
|
||||
.byte 0x02
|
||||
.byte 0x03
|
||||
.byte 0x04
|
||||
.byte 0x05
|
||||
.byte 0x06
|
||||
.byte 0x07
|
||||
.byte 0x08
|
||||
.byte 0xac
|
||||
.byte 0xc4
|
||||
.byte 0xf8
|
||||
.byte 0x08
|
||||
.byte 0x10
|
||||
.byte 0xbf
|
||||
.byte 0x18
|
||||
.byte 0x00
|
||||
.byte 0x00
|
||||
.byte 0x00
|
||||
|
||||
|
||||
.section .text, "ax" # 0x80003640 - 0x803CB1C0
|
||||
|
||||
.global ShortCommandProc
|
||||
|
@ -219,8 +259,7 @@ lbl_803C98C4:
|
|||
/* 803C98D0 003C6830 7C 08 03 A6 */ mtlr r0
|
||||
/* 803C98D4 003C6834 4E 80 00 20 */ blr
|
||||
|
||||
.global OnReset_0
|
||||
OnReset_0:
|
||||
OnReset:
|
||||
/* 803C98D8 003C6838 38 00 00 01 */ li r0, 1
|
||||
/* 803C98DC 003C683C 90 0D B1 58 */ stw r0, __GBAReset@sda21(r13)
|
||||
/* 803C98E0 003C6840 38 60 00 01 */ li r3, 1
|
||||
|
|
|
@ -1,5 +1,73 @@
|
|||
.include "macros.inc"
|
||||
|
||||
.section .data, "wa"
|
||||
|
||||
lbl_803F71A0:
|
||||
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 2,255, 0, 33
|
||||
.byte 19, 6, 18, 3, 18, 4, 19, 5, 0,146, 0,255, 0,136,255,255
|
||||
.byte 0,137,255,255, 0,138,255,255, 0,139,255,255,143, 0,139, 0
|
||||
.byte 140, 0, 2,191,128,126, 22,252,220,209, 22,253, 0, 0, 22,251
|
||||
.byte 0, 1, 2,191,128,120, 36,255, 2,128,171,186, 2,148, 0, 41
|
||||
.byte 142, 0, 2,191,128,120, 32,255, 2, 64, 15,255, 31, 94, 0,155
|
||||
.byte 0, 0, 0,153, 0, 32, 0,135, 0, 0, 0,128, 0, 65, 2,159
|
||||
.byte 128,188, 2,191, 0,140, 2,191,128,126, 22,252,220,209, 22,253
|
||||
.byte 0, 3, 22,251, 0, 1,143, 0, 2,191,128,120, 2,128,205,209
|
||||
.byte 2,148, 0, 76, 38,255, 2,128, 0, 1, 2,149, 0, 94, 2,128
|
||||
.byte 0, 2, 2,149,128, 0, 2,159, 0, 76, 0, 33,142, 0, 2,191
|
||||
.byte 128,120, 36,255, 2,191,128,120, 36,255, 2,191,128,120, 36,255
|
||||
.byte 2,191,128,120, 0,197,255,255, 2, 64, 15,255, 28,158, 2,191
|
||||
.byte 128,120, 0,199,255,255, 2,191,128,120, 0,198,255,255, 2,191
|
||||
.byte 128,120, 0,192,255,255, 2,191,128,120, 32,255, 2, 64, 15,255
|
||||
.byte 31, 94, 2,191,128,120, 33,255, 2,191,128,120, 35,255, 18, 5
|
||||
.byte 18, 6, 2,159,128,181, 0, 33,129, 0, 0,129, 0, 16, 16, 32
|
||||
.byte 27, 62, 0,223, 20, 86, 3, 64,255,208,132, 23, 0,128, 0, 0
|
||||
.byte 0,134, 0, 0, 0,130, 0, 31, 0,222, 21,246, 20, 8, 0,223
|
||||
.byte 23,102, 3, 64, 0,255, 31, 95, 2,191,136,229, 31, 28,129, 30
|
||||
.byte 25, 30, 20,120, 31,252, 31, 94, 2,191,136, 9, 2,191,135, 35
|
||||
.byte 0, 6,129, 6, 0,222, 22,108, 20, 4, 2, 64,255, 0, 0,223
|
||||
.byte 18, 49, 21,120, 3, 64, 0,255, 31, 95, 2,191,136,229, 31, 28
|
||||
.byte 129, 30, 25, 30, 20,120, 31,252, 31, 94, 2,191,136, 9, 2,191
|
||||
.byte 135, 35,129, 0,137, 0, 0,209, 0, 5,153, 0,130, 0, 2,149
|
||||
.byte 0,229, 2,145, 0,243, 0,130, 0, 16, 0,134, 0, 1, 0,208
|
||||
.byte 23, 27,145, 0,125, 0, 77, 0, 21, 1, 31, 95, 0,223, 0, 3
|
||||
.byte 21, 4, 2,191,136, 9, 2,159, 1, 2, 0,130, 0, 17, 0,223
|
||||
.byte 0, 3, 21, 1, 31, 95, 0,222, 16, 67, 2, 64,255,240, 2,191
|
||||
.byte 136,229, 2,159, 1, 2, 0,130, 0, 16, 0,134, 0, 1, 0,208
|
||||
.byte 18,133,145, 0, 77, 0, 21, 1, 0,222, 0, 3, 20, 4, 31, 94
|
||||
.byte 2,191,136, 9, 0,131, 0, 19, 27,126,137, 35, 0,131, 0, 19
|
||||
.byte 0,223, 0, 7, 0,222, 17,184, 2, 64,255,240, 31, 94, 2,191
|
||||
.byte 129,244,241, 0, 2,191,132, 88,143, 0, 0,130, 0, 21, 0,222
|
||||
.byte 0, 6, 0,218, 22, 91, 2,191,136,229, 20,253, 20, 3, 27, 94
|
||||
.byte 27, 92, 0,130, 0, 22, 0,222, 23, 35, 20,244, 0,218, 22,107
|
||||
.byte 2,191,136,229,177, 0, 2,144, 1, 46,129, 0, 20,253,142, 0
|
||||
.byte 0,223, 20,145, 3, 64,208,240, 28,191, 0,223, 20,104, 0,209
|
||||
.byte 17,252, 21,124, 28,223, 0,209, 17,184,153, 0, 20, 24, 20,120
|
||||
.byte 31, 94, 31,254, 31,101, 54, 0, 20, 2, 31,102, 55, 0, 21, 1
|
||||
.byte 76, 0, 21, 24,153, 0, 53, 0, 76, 0, 0,223, 0, 18, 63, 0
|
||||
.byte 0,255, 0, 18, 20,112, 0,223, 0, 17, 63, 0, 0,255, 0, 17
|
||||
.byte 31,165, 21, 1, 31,230,241, 0, 21,248,245, 0, 31, 95, 31,125
|
||||
.byte 129, 0, 0,222, 0, 17, 52, 0,137, 0, 0,223, 0, 18, 53, 0
|
||||
.byte 76, 0, 0,223, 0, 18, 21,120, 76, 0,137, 0, 31,254, 21, 8
|
||||
.byte 59, 0, 0,222, 0, 17, 62, 0, 0,223, 0, 18, 59, 0, 28,191
|
||||
.byte 0,218, 21,241, 53, 0, 2,149, 1,146, 0,223, 16,226, 21, 8
|
||||
.byte 31, 95, 0,223, 16, 59,121, 0, 57, 0, 48,128, 0,254, 0, 34
|
||||
.byte 0,220, 18, 41, 0,221, 17,248, 92, 0,240, 0, 31,229, 48,128
|
||||
.byte 2,159, 1,165, 0,223, 16,202, 21, 8, 31, 95, 0,223, 16, 67
|
||||
.byte 117, 0, 57, 0, 48,128, 0,254, 0, 34, 0,220, 18, 89, 0,221
|
||||
.byte 22,254, 76, 0,240, 0, 31,229, 48,128, 0,254, 0, 35, 0,218
|
||||
.byte 0, 8, 0,216, 0, 9, 0,155, 0, 32, 0,153, 0, 8, 0,135
|
||||
.byte 0, 0, 2,191,128,139, 2,223, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
|
||||
lbl_803F7520:
|
||||
.ascii "GBAKey.c"
|
||||
.skip 4
|
||||
|
||||
lbl_803F752C:
|
||||
.ascii "GBA - unexpected dsp call"
|
||||
.skip 1
|
||||
|
||||
.section .text, "ax" # 0x80003640 - 0x803CB1C0
|
||||
|
||||
.global __GBAHandler
|
||||
|
|
|
@ -220,7 +220,7 @@ lbl_8037D9F0:
|
|||
/* 8037DA14 0037A974 48 00 3C 99 */ bl __OSSetInterruptHandler
|
||||
/* 8037DA18 0037A978 48 00 1F 4D */ bl __OSContextInit
|
||||
/* 8037DA1C 0037A97C 48 00 16 B9 */ bl __OSCacheInit
|
||||
/* 8037DA20 0037A980 48 04 38 29 */ bl sub_803c1248
|
||||
/* 8037DA20 0037A980 48 04 38 29 */ bl EXIInit
|
||||
/* 8037DA24 0037A984 48 04 15 7D */ bl SIInit
|
||||
/* 8037DA28 0037A988 48 00 5F 79 */ bl sub_803839a0
|
||||
/* 8037DA2C 0037A98C 48 00 6A 41 */ bl __OSThreadInit
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
.include "macros.inc"
|
||||
|
||||
.section .data, "wa"
|
||||
THPVersionStr:
|
||||
.ascii "<< Dolphin SDK - THP release build: Aug 27 2002 20:42:01 >>"
|
||||
.skip 5
|
||||
|
||||
.section .sdata, "wa"
|
||||
THPVersion:
|
||||
.4byte THPVersionStr
|
||||
|
||||
.section .text, "ax" # 0x80003640 - 0x803CB1C0
|
||||
|
||||
.global THPVideoDecode
|
||||
|
@ -7897,7 +7906,7 @@ THPInit:
|
|||
/* 803C9034 003C5F94 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||||
/* 803C9038 003C5F98 93 E1 00 0C */ stw r31, 0xc(r1)
|
||||
/* 803C903C 003C5F9C 3B E4 9F 60 */ addi r31, r4, lbl_80569F60@l
|
||||
/* 803C9040 003C5FA0 80 6D A0 58 */ lwz r3, lbl_805A8C18@sda21(r13)
|
||||
/* 803C9040 003C5FA0 80 6D A0 58 */ lwz r3, THPVersion@sda21(r13)
|
||||
/* 803C9044 003C5FA4 4B FB 4F F5 */ bl OSRegisterVersion
|
||||
/* 803C9048 003C5FA8 3C 80 E0 00 */ lis r4, 0xE0002000@ha
|
||||
/* 803C904C 003C5FAC 90 9F 01 00 */ stw r4, 0x100(r31)
|
||||
|
|
17
asm/data.s
17
asm/data.s
|
@ -2896,19 +2896,4 @@ lbl_803F6EF8:
|
|||
.incbin "baserom.dol", 0x3F3EF8, 0xC0
|
||||
.global lbl_803F6FB8
|
||||
lbl_803F6FB8:
|
||||
.incbin "baserom.dol", 0x3F3FB8, 0x1A8
|
||||
.global lbl_803F7160
|
||||
lbl_803F7160:
|
||||
.incbin "baserom.dol", 0x3F4160, 0x10
|
||||
.global lbl_803F7170
|
||||
lbl_803F7170:
|
||||
.incbin "baserom.dol", 0x3F4170, 0x30
|
||||
.global lbl_803F71A0
|
||||
lbl_803F71A0:
|
||||
.incbin "baserom.dol", 0x3F41A0, 0x380
|
||||
.global lbl_803F7520
|
||||
lbl_803F7520:
|
||||
.incbin "baserom.dol", 0x3F4520, 0xC
|
||||
.global lbl_803F752C
|
||||
lbl_803F752C:
|
||||
.incbin "baserom.dol", 0x3F452C, 0x1A
|
||||
.incbin "baserom.dol", 0x3F3FB8, 0x168
|
||||
|
|
|
@ -5792,6 +5792,4 @@ lbl_805A8C08:
|
|||
.global lbl_805A8C10
|
||||
lbl_805A8C10:
|
||||
.incbin "baserom.dol", 0x3F65B0, 0x8
|
||||
.global lbl_805A8C18
|
||||
lbl_805A8C18:
|
||||
.incbin "baserom.dol", 0x3F65B8, 0x4
|
||||
|
||||
|
|
Loading…
Reference in New Issue