added JP & PAL linker maps
This commit is contained in:
parent
4c85e70462
commit
759fe528e7
4 changed files with 204659 additions and 453 deletions
101930
maps/marioEU.map
Normal file
101930
maps/marioEU.map
Normal file
File diff suppressed because it is too large
Load diff
102729
maps/marioJP.map
Normal file
102729
maps/marioJP.map
Normal file
File diff suppressed because it is too large
Load diff
235
sms.map
235
sms.map
|
@ -1,235 +0,0 @@
|
|||
|
||||
Allocating common symbols
|
||||
Common symbol size file
|
||||
|
||||
timerx 0x4 sms.o
|
||||
timery 0x4 sms.o
|
||||
|
||||
Memory Configuration
|
||||
|
||||
Name Origin Length Attributes
|
||||
*default* 0x00000000 0xffffffff
|
||||
|
||||
Linker script and memory map
|
||||
|
||||
0x80337dc0 __destroy_global_chain = 0x80337dc0
|
||||
0x80337e08 __register_global_object = 0x80337e08
|
||||
0x80337e20 __destroy_new_array = 0x80337e20
|
||||
0x80337e9c __destroy_arr = 0x80337e9c
|
||||
0x80337f14 __construct_array = 0x80337f14
|
||||
0x80338014 __dt__26__partial_array_destructorFv = 0x80338014
|
||||
0x803380cc __construct_new_array = 0x803380cc
|
||||
0x803381d4 __ptmf_test = 0x803381d4
|
||||
0x80338204 __ptmf_scall = 0x80338204
|
||||
0x8033822c __unregister_fragment = 0x8033822c
|
||||
0x80338260 __register_fragment = 0x80338260
|
||||
0x80338014 __dt__26__partial_array_destructorFv = 0x80338014
|
||||
0x8033829c __cvt_fp2unsigned = 0x8033829c
|
||||
0x80338978 exit = 0x80338978
|
||||
0x8033b1a4 rand = 0x8033b1a4
|
||||
0x8033b19c srand = 0x8033b19c
|
||||
0x8033aaa0 long2str = 0x8033aaa0
|
||||
0x8033a7c0 longlong2str = 0x8033a7c0
|
||||
0x8033a68c round_decimal = 0x8033a68c
|
||||
0x8033a054 float2str = 0x8033a054
|
||||
0x80338f3c toupper = 0x80338f3c
|
||||
0x80338f64 tolower = 0x80338f64
|
||||
0x80338a84 __num2dec = 0x80338a84
|
||||
0x80338e38 __flush_buffer = 0x80338e38
|
||||
0x80338f04 __prep_buffer = 0x80338f04
|
||||
0x80338f38 __kill_critical_regions = 0x80338f38
|
||||
0x803382f8 __div2u = 0x803382f8
|
||||
0x803383e4 __div2i = 0x803383e4
|
||||
0x8033851c __mod2u = 0x8033851c
|
||||
0x80338600 __mod2i = 0x80338600
|
||||
0x8033870c __shl2i = 0x8033870c
|
||||
0x80338730 __shr2u = 0x80338730
|
||||
0x80338754 __shr2i = 0x80338754
|
||||
0x8033877c __cvt_sll_flt = 0x8033877c
|
||||
0x80338830 __cvt_dbl_usll = 0x80338830
|
||||
0x803388fc GetR2__Fv = 0x803388fc
|
||||
0x80338904 __fini_cpp_exceptions = 0x80338904
|
||||
0x80338938 __init_cpp_exceptions = 0x80338938
|
||||
0x80338f8c fwrite = 0x80338f8c
|
||||
0x80339268 wcstombs = 0x80339268
|
||||
0x803392a4 memcmp = 0x803392a4
|
||||
0x803392e8 memchr = 0x803392e8
|
||||
0x80339314 memmove = 0x80339314
|
||||
0x803393f0 __copy_longs_rev_unaligned = 0x803393f0
|
||||
0x803394a0 __copy_longs_unaligned = 0x803394a0
|
||||
0x80339564 __copy_longs_rev_aligned = 0x80339564
|
||||
0x80339610 __copy_longs_aligned = 0x80339610
|
||||
0x803396cc __stdio_atexit = 0x803396cc
|
||||
0x803396d0 sprintf = 0x803396d0
|
||||
0x803397a4 snprintf = 0x803397a4
|
||||
0x80339874 vsnprintf = 0x80339874
|
||||
0x803398e4 vprintf = 0x803398e4
|
||||
0x80339960 __StringWrite = 0x80339960
|
||||
0x803399cc __FileWrite = 0x803399cc
|
||||
0x80339a24 __pformatter = 0x80339a24
|
||||
0x8033acc4 parse_format = 0x8033acc4
|
||||
0x8033b1c8 __StringRead = 0x8033b1c8
|
||||
0x8033b258 strstr = 0x8033b258
|
||||
0x8033b30c strrchr = 0x8033b30c
|
||||
0x8033b30c strchr = 0x8033b30c
|
||||
0x8033b33c strcmp = 0x8033b33c
|
||||
0x8033b460 strcat = 0x8033b460
|
||||
0x8033b48c strncpy = 0x8033b48c
|
||||
0x8033b4d0 strcpy = 0x8033b4d0
|
||||
0x8033b584 strlen = 0x8033b584
|
||||
0x8033b5a4 strtol = 0x8033b5a4
|
||||
0x8033b694 strtoul = 0x8033b694
|
||||
0x8033b740 __strtoul = 0x8033b740
|
||||
0x8033ba88 __close_console = 0x8033ba88
|
||||
0x8033ba90 __write_console = 0x8033ba90
|
||||
0x8033bb28 __read_console = 0x8033bb28
|
||||
0x8033bc08 fwide = 0x8033bc08
|
||||
0x8033bc88 fabs__Fd = 0x8033bc88
|
||||
0x8033bc90 __ieee754_atan2 = 0x8033bc90
|
||||
0x8033bf28 atan = 0x8033bf28
|
||||
0x8033c168 frexp = 0x8033c168
|
||||
0x8033c204 atan2 = 0x8033c204
|
||||
0x8033c224 fabsf__Ff = 0x8033c224
|
||||
0x8033c22c atanf = 0x8033c22c
|
||||
0x8033c420 atan__Ff = 0x8033c420
|
||||
0x8033c440 _inv_sqrtf = 0x8033c440
|
||||
0x8033c4b0 acosf = 0x8033c4b0
|
||||
0x8033c4f4 atan2f = 0x8033c4f4
|
||||
0x8033c5cc tanf = 0x8033c5cc
|
||||
0x8033c610 cos__Ff = 0x8033c610
|
||||
0x8033c630 sin__Ff = 0x8033c630
|
||||
0x8033c650 cosf = 0x8033c650
|
||||
0x8033c7e4 sinf = 0x8033c7e4
|
||||
0x8033c988 __sinit_trigf_c = 0x8033c988
|
||||
0x8033c9b8 powf = 0x8033c9b8
|
||||
0x8033d0f8 expf = 0x8033d0f8
|
||||
0x80003100 memset = 0x80003100
|
||||
0x80003130 __fill_mem = 0x80003130
|
||||
0x800031f4 memcpy = 0x800031f4
|
||||
0x802c3ba4 __nw__FUl = 0x802c3ba4
|
||||
0x802c3bec __nw__FUli = 0x802c3bec
|
||||
0x802c3ca4 __nwa__FUl = 0x802c3ca4
|
||||
0x802c3cec __nwa__FUli = 0x802c3cec
|
||||
0x802c3da4 __dl__FPv = 0x802c3da4
|
||||
0x802c3e08 __dla__FPv = 0x802c3e08
|
||||
0x817fa000 . = 0x817fa000
|
||||
|
||||
.text 0x817fa000 0x278
|
||||
*(.text)
|
||||
.text 0x817fa000 0x278 sms.o
|
||||
0x817fa000 OnUpdate
|
||||
0x817fa0d8 OnDraw2D
|
||||
0x817fa19c OnSetup
|
||||
0x817fa26c TestNull
|
||||
|
||||
.glink 0x817fa278 0x0
|
||||
.glink 0x00000000 0x0 sms.o
|
||||
|
||||
.rodata 0x817fa278 0x10
|
||||
*(.rodata*)
|
||||
.rodata.cst4 0x817fa278 0x4 sms.o
|
||||
.rodata.str1.4
|
||||
0x817fa27c 0xc sms.o
|
||||
0xa (size before relaxing)
|
||||
|
||||
.eh_frame 0x817fa288 0x0
|
||||
.eh_frame 0x00000000 0x0 sms.o
|
||||
|
||||
.rela.dyn 0x817fa288 0x0
|
||||
.rela.iplt 0x00000000 0x0 sms.o
|
||||
.rela.text 0x00000000 0x0 sms.o
|
||||
|
||||
.data 0x817fa288 0x0
|
||||
*(.data)
|
||||
.data 0x817fa288 0x0 sms.o
|
||||
0x817fa290 . = (. + 0x8)
|
||||
|
||||
.sdata 0x817fa290 0x1b8
|
||||
*(.sdata)
|
||||
.sdata 0x817fa290 0x1b8 sms.o
|
||||
0x817fa290 time
|
||||
0x817fa294 timemilli
|
||||
0x802b76f4 MarDirector_SetupObjects = 0x802b76f4
|
||||
0x800189d4 PlaySound = 0x800189d4
|
||||
0x80016978 startBGM = 0x80016978
|
||||
0x8001686c stopBGM = 0x8001686c
|
||||
0x802bb880 StartStageEntranceDemoSeq = 0x802bb880
|
||||
0x80262e18 GenerateEffectElectric = 0x80262e18
|
||||
0x801b6e3c MakeObjAppear = 0x801b6e3c
|
||||
0x80273870 SendMsgToMario = 0x80273870
|
||||
0x8026465c EmitSweat = 0x8026465c
|
||||
0x80247fa4 WearGlasses = 0x80247fa4
|
||||
0x8028537c Mario_StartVoice = 0x8028537c
|
||||
0x80268f98 Fludd_Emit = 0x80268f98
|
||||
0x80254034 SetMarioStatus = 0x80254034
|
||||
0x802739b4 IsMarioJumping = 0x802739b4
|
||||
0x80247670 SetMarioAnim = 0x80247670
|
||||
0x80254034 ChangeMarioStatus = 0x80254034
|
||||
0x8007706c ThrowMario = 0x8007706c
|
||||
0x8007706c GetMarioMapPosition = 0x8007706c
|
||||
0x80294610 incGoldCoinFlag = 0x80294610
|
||||
0x80273648 GetMarioStatusFromHitActor = 0x80273648
|
||||
0x802738f0 GetMarioStatus = 0x802738f0
|
||||
0x80273674 GetMarioHP = 0x80273674
|
||||
0x80273a00 GetMarioYoshi = 0x80273a00
|
||||
0x802738c0 GetFLUDD = 0x802738c0
|
||||
0x802739d4 GetMarioHitActor = 0x802739d4
|
||||
0x802a8ac8 GetShineStage = 0x802a8ac8
|
||||
0x802fa7ac SearchF = 0x802fa7ac
|
||||
0x8029a31c ChangeStage = 0x8029a31c
|
||||
0x801492a4 DrawWaterBackground = 0x801492a4
|
||||
0x80150514 Talk2D_OpenWindow = 0x80150514
|
||||
0x8022a414 Vector_Magnitude = 0x8022a414
|
||||
0x8022a43c Vector_Normalize = 0x8022a43c
|
||||
0x80010ca0 Vector_Subtract = 0x80010ca0
|
||||
0x8034a56c Vector_Add = 0x8034a56c
|
||||
0x8034a5b4 Vector_Scale = 0x8034a5b4
|
||||
0x802fa4d8 CalcKeyCode = 0x802fa4d8
|
||||
0x802ca1e0 JUTRect_Set = 0x802ca1e0
|
||||
0x802cfda8 J2DScreen_Draw = 0x802cfda8
|
||||
0x802cbbfc J2DPane_MakeMatrix = 0x802cbbfc
|
||||
0x802cbe54 J2DPane_SetBasePosition = 0x802cbe54
|
||||
0x802cb6d4 J2DPane_Draw = 0x802cb6d4
|
||||
0x802d0a14 J2DTextBox_Delete = 0x802d0a14
|
||||
0x802d0c60 J2DTextBox_GetStringPtr = 0x802d0c60
|
||||
0x802d0c68 J2DTextBox_SetString = 0x802d0c68
|
||||
0x802d0dd8 J2DTextBox_DrawSelf = 0x802d0dd8
|
||||
0x802d0b28 J2DTextBox_Drawii = 0x802d0b28
|
||||
0x802d0b28 J2DTextBox_Draw = 0x802d0b28
|
||||
0x802d0848 J2DTextBox_Create = 0x802d0848
|
||||
0x802cdd70 J2DPrint_Delete = 0x802cdd70
|
||||
0x802ce0ec J2DPrint_Print = 0x802ce0ec
|
||||
0x802cddbc J2DPrint_Initiate = 0x802cddbc
|
||||
0x802ce294 J2DPrint_GetWidth = 0x802ce294
|
||||
0x802cdc7c J2DPrint_Create = 0x802cdc7c
|
||||
0x802eb6bc J2DGrafContext_Setup2D = 0x802eb6bc
|
||||
0x802ecfcc J2DOrthoGraph_Create = 0x802ecfcc
|
||||
0x80360400 GXInvalidateTexAll = 0x80360400
|
||||
0x80363138 GXSetScissor = 0x80363138
|
||||
0x8019de84 StampPollution = 0x8019de84
|
||||
0x8019ddb4 CleanPollution = 0x8019ddb4
|
||||
0x802fcc94 Drama_PrepareUpdate = 0x802fcc94
|
||||
0x8003fdc4 DraweMarioHP = 0x8003fdc4
|
||||
0x801a12e8 IsPolluted = 0x801a12e8
|
||||
LOAD sms.o
|
||||
OUTPUT(obj_sms.o elf32-powerpc)
|
||||
|
||||
.bss 0x817fa448 0x4
|
||||
.bss 0x817fa448 0x4 sms.o
|
||||
|
||||
.sbss 0x817fa44c 0x8
|
||||
.sbss 0x817fa44c 0x8 sms.o
|
||||
0x817fa44c timerx
|
||||
0x817fa450 timery
|
||||
|
||||
.iplt 0x817fa460 0x0
|
||||
.iplt 0x00000000 0x0 sms.o
|
||||
|
||||
.comment 0x00000000 0x22
|
||||
.comment 0x00000000 0x22 sms.o
|
||||
0x23 (size before relaxing)
|
||||
|
||||
.gnu.attributes
|
||||
0x00000000 0x10
|
||||
.gnu.attributes
|
||||
0x00000000 0x10 sms.o
|
218
sms.s
218
sms.s
|
@ -1,218 +0,0 @@
|
|||
.file "sms.c"
|
||||
.section ".text"
|
||||
.align 2
|
||||
.globl OnUpdate
|
||||
.type OnUpdate, @function
|
||||
OnUpdate:
|
||||
stwu 1,-32(1)
|
||||
mflr 0
|
||||
stw 0,36(1)
|
||||
stw 30,24(1)
|
||||
stw 31,28(1)
|
||||
mr 31,3
|
||||
lwz 9,0(3)
|
||||
lwz 30,100(9)
|
||||
bl IsMarioJumping
|
||||
lis 10,timemilli@ha
|
||||
lwz 9,timemilli@l(10)
|
||||
addi 9,9,-1
|
||||
stw 9,timemilli@l(10)
|
||||
lis 10,timery@ha
|
||||
lwz 8,timery@l(10)
|
||||
addi 8,8,1
|
||||
stw 8,timery@l(10)
|
||||
cmpwi 7,9,0
|
||||
bgt+ 7,.L2
|
||||
lis 9,time@ha
|
||||
lwz 10,time@l(9)
|
||||
addi 10,10,-1
|
||||
stw 10,time@l(9)
|
||||
li 10,30
|
||||
lis 9,timemilli@ha
|
||||
stw 10,timemilli@l(9)
|
||||
.L2:
|
||||
lis 9,0x8040
|
||||
ori 9,9,17492
|
||||
lhz 9,0(9)
|
||||
rlwinm 9,9,0,28,28
|
||||
andi. 10,9,0xffff
|
||||
beq+ 0,.L3
|
||||
bl GetMarioHitActor
|
||||
lis 9,.LC0@ha
|
||||
lfs 1,.LC0@l(9)
|
||||
li 4,109
|
||||
bl SetMarioAnim
|
||||
.L3:
|
||||
addi 3,1,8
|
||||
lis 9,timerx@ha
|
||||
lwz 4,timerx@l(9)
|
||||
lis 9,timery@ha
|
||||
lwz 5,timery@l(9)
|
||||
li 6,800
|
||||
li 7,512
|
||||
bl JUTRect_Set
|
||||
mr 3,31
|
||||
mtctr 30
|
||||
bctrl
|
||||
lwz 0,36(1)
|
||||
mtlr 0
|
||||
lwz 30,24(1)
|
||||
lwz 31,28(1)
|
||||
addi 1,1,32
|
||||
blr
|
||||
.size OnUpdate, .-OnUpdate
|
||||
.align 2
|
||||
.globl OnDraw2D
|
||||
.type OnDraw2D, @function
|
||||
OnDraw2D:
|
||||
stwu 1,-40(1)
|
||||
mflr 0
|
||||
stw 0,44(1)
|
||||
stw 29,28(1)
|
||||
stw 30,32(1)
|
||||
stw 31,36(1)
|
||||
mr 31,3
|
||||
lis 29,.LANCHOR0@ha
|
||||
lwz 3,.LANCHOR0@l(29)
|
||||
li 4,128
|
||||
lis 5,.LC1@ha
|
||||
la 5,.LC1@l(5)
|
||||
lis 9,time@ha
|
||||
lwz 6,time@l(9)
|
||||
crxor 6,6,6
|
||||
bl snprintf
|
||||
lis 30,textbox@ha
|
||||
la 30,textbox@l(30)
|
||||
mr 3,30
|
||||
lwz 4,.LANCHOR0@l(29)
|
||||
bl J2DTextBox_SetString
|
||||
mr 3,31
|
||||
bl J2DGrafContext_Setup2D
|
||||
mr 3,30
|
||||
li 4,0
|
||||
li 5,0
|
||||
mr 6,31
|
||||
li 7,129
|
||||
bl J2DScreen_Draw
|
||||
li 3,0
|
||||
li 4,0
|
||||
li 5,640
|
||||
li 6,448
|
||||
bl GXSetScissor
|
||||
addi 3,1,8
|
||||
lis 9,timerx@ha
|
||||
lwz 4,timerx@l(9)
|
||||
lis 9,timery@ha
|
||||
lwz 5,timery@l(9)
|
||||
li 6,800
|
||||
li 7,512
|
||||
bl JUTRect_Set
|
||||
lwz 0,44(1)
|
||||
mtlr 0
|
||||
lwz 29,28(1)
|
||||
lwz 30,32(1)
|
||||
lwz 31,36(1)
|
||||
addi 1,1,40
|
||||
blr
|
||||
.size OnDraw2D, .-OnDraw2D
|
||||
.align 2
|
||||
.globl OnSetup
|
||||
.type OnSetup, @function
|
||||
OnSetup:
|
||||
stwu 1,-40(1)
|
||||
mflr 0
|
||||
stw 0,44(1)
|
||||
stw 29,28(1)
|
||||
stw 30,32(1)
|
||||
stw 31,36(1)
|
||||
mr 29,3
|
||||
bl GetMarioHitActor
|
||||
bl WearGlasses
|
||||
li 10,300
|
||||
lis 9,time@ha
|
||||
stw 10,time@l(9)
|
||||
lis 30,timerx@ha
|
||||
li 9,440
|
||||
stw 9,timerx@l(30)
|
||||
lis 31,timery@ha
|
||||
li 9,-420
|
||||
stw 9,timery@l(31)
|
||||
mr 3,29
|
||||
bl MarDirector_SetupObjects
|
||||
addi 3,1,8
|
||||
lwz 4,timerx@l(30)
|
||||
lwz 5,timery@l(31)
|
||||
li 6,800
|
||||
li 7,512
|
||||
bl JUTRect_Set
|
||||
lwz 9,-24632(13)
|
||||
lis 3,textbox@ha
|
||||
la 3,textbox@l(3)
|
||||
li 4,0
|
||||
addi 5,1,8
|
||||
lwz 6,72(9)
|
||||
addi 7,2,-19304
|
||||
li 8,2
|
||||
li 9,0
|
||||
bl J2DTextBox_Create
|
||||
lis 9,0x8024
|
||||
ori 9,9,32676
|
||||
mtctr 9
|
||||
bctrl
|
||||
li 3,128
|
||||
crxor 6,6,6
|
||||
bl __nwa__FUl
|
||||
lis 9,.LANCHOR0@ha
|
||||
stw 3,.LANCHOR0@l(9)
|
||||
lwz 0,44(1)
|
||||
mtlr 0
|
||||
lwz 29,28(1)
|
||||
lwz 30,32(1)
|
||||
lwz 31,36(1)
|
||||
addi 1,1,40
|
||||
blr
|
||||
.size OnSetup, .-OnSetup
|
||||
.align 2
|
||||
.globl TestNull
|
||||
.type TestNull, @function
|
||||
TestNull:
|
||||
# 113 "C:\Users\ronal\Desktop\SunshineKit\Clib\sms.c" 1
|
||||
blr ;ori %r1, %r1, 0xd138 ;
|
||||
# 0 "" 2
|
||||
blr
|
||||
.size TestNull, .-TestNull
|
||||
.comm timery,4,4
|
||||
.comm timerx,4,4
|
||||
.globl time
|
||||
.globl timemilli
|
||||
.section .rodata.cst4,"aM",@progbits,4
|
||||
.align 2
|
||||
.LC0:
|
||||
.4byte 1065353216
|
||||
.section .rodata.str1.4,"aMS",@progbits,1
|
||||
.align 2
|
||||
.LC1:
|
||||
.string "Time x %d"
|
||||
.section .sdata,"aw",@progbits
|
||||
.align 2
|
||||
.type time, @object
|
||||
.size time, 4
|
||||
time:
|
||||
.long 30
|
||||
.type timemilli, @object
|
||||
.size timemilli, 4
|
||||
timemilli:
|
||||
.long 30
|
||||
.type textbox, @object
|
||||
.size textbox, 432
|
||||
textbox:
|
||||
.zero 432
|
||||
.section ".bss"
|
||||
.align 2
|
||||
.set .LANCHOR0,. + 0
|
||||
.type info, @object
|
||||
.size info, 4
|
||||
info:
|
||||
.zero 4
|
||||
.ident "GCC: (devkitPPC release 27) 4.8.2"
|
||||
.gnu_attribute 4, 1
|
Reference in a new issue