mirror of
https://github.com/pret/pokediamond.git
synced 2024-11-27 00:00:24 +00:00
filesystem.mk; arm7 global symbol names
This commit is contained in:
parent
6bc6ec1ccc
commit
1d92bac012
3
Makefile
3
Makefile
@ -1,5 +1,8 @@
|
||||
# Makefile to build Pokemon Diamond image
|
||||
|
||||
include config.mk
|
||||
include filesystem.mk
|
||||
|
||||
.PHONY: clean tidy all default patch_mwasmarm
|
||||
|
||||
# Try to include devkitarm if installed
|
||||
|
2372
arm7/asm/dtcm.s
2372
arm7/asm/dtcm.s
File diff suppressed because it is too large
Load Diff
1432
arm7/asm/dtcm2.s
1432
arm7/asm/dtcm2.s
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,12 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "global.inc"
|
||||
.section .bss
|
||||
.global _0380770C
|
||||
_0380770C: ;0x0380770C
|
||||
.global OSi_IrqThreadQueue
|
||||
OSi_IrqThreadQueue: ;0x0380770C
|
||||
.space 0x03807714 - 0x0380770C
|
||||
|
||||
.global _03807714
|
||||
_03807714: ;0x03807714
|
||||
.global OSi_IrqCallbackInfo
|
||||
OSi_IrqCallbackInfo: ;0x03807714
|
||||
.space 0x03807718 - 0x03807714
|
||||
|
||||
.global _03807718
|
||||
@ -37,52 +37,52 @@ _03807774: ;0x03807774
|
||||
_03807780: ;0x03807780
|
||||
.space 0x03807784 - 0x03807780
|
||||
|
||||
.global _03807784
|
||||
_03807784: ;0x03807784
|
||||
.global OSi_StackForDestructor
|
||||
OSi_StackForDestructor: ;0x03807784
|
||||
.space 0x03807788 - 0x03807784
|
||||
|
||||
.global _03807788
|
||||
_03807788: ;0x03807788
|
||||
.global OSi_RescheduleCount
|
||||
OSi_RescheduleCount: ;0x03807788
|
||||
.space 0x0380778C - 0x03807788
|
||||
|
||||
.global _0380778C
|
||||
_0380778C: ;0x0380778C
|
||||
.space 0x03807790 - 0x0380778C
|
||||
|
||||
.global _03807790
|
||||
_03807790: ;0x03807790
|
||||
.global OSi_SystemCallbackInSwitchThread
|
||||
OSi_SystemCallbackInSwitchThread: ;0x03807790
|
||||
.space 0x03807794 - 0x03807790
|
||||
|
||||
.global _03807794
|
||||
_03807794: ;0x03807794
|
||||
.global OSi_CurrentThreadPtr
|
||||
OSi_CurrentThreadPtr: ;0x03807794
|
||||
.space 0x03807798 - 0x03807794
|
||||
|
||||
.global _03807798
|
||||
_03807798: ;0x03807798
|
||||
.global OSi_IsThreadInitialized
|
||||
OSi_IsThreadInitialized: ;0x03807798
|
||||
.space 0x0380779C - 0x03807798
|
||||
|
||||
.global _0380779C
|
||||
_0380779C: ;0x0380779C
|
||||
.global OSi_ThreadInfo
|
||||
OSi_ThreadInfo: ;0x0380779C
|
||||
.space 0x038077A0 - 0x0380779C
|
||||
|
||||
.global _038077A0
|
||||
_038077A0: ;0x038077A0
|
||||
.space 0x038077AC - 0x038077A0
|
||||
|
||||
.global _038077AC
|
||||
_038077AC: ;0x038077AC
|
||||
.global OSi_IdleThread
|
||||
OSi_IdleThread: ;0x038077AC
|
||||
.space 0x03807850 - 0x038077AC
|
||||
|
||||
.global _03807850
|
||||
_03807850: ;0x03807850
|
||||
.global OSi_LauncherThread
|
||||
OSi_LauncherThread: ;0x03807850
|
||||
.space 0x038078F4 - 0x03807850
|
||||
|
||||
.global _038078F4
|
||||
_038078F4: ;0x038078F4
|
||||
.space 0x038078F8 - 0x038078F4
|
||||
|
||||
.global _038078F8
|
||||
_038078F8: ;0x038078F8
|
||||
.global OSiHeapInfo
|
||||
OSiHeapInfo: ;0x038078F8
|
||||
.space 0x0380791C - 0x038078F8
|
||||
|
||||
.global _0380791C
|
||||
@ -93,12 +93,12 @@ _0380791C: ;0x0380791C
|
||||
_03807920: ;0x03807920
|
||||
.space 0x03807924 - 0x03807920
|
||||
|
||||
.global _03807924
|
||||
_03807924: ;0x03807924
|
||||
.global OSi_NeedResetTimer
|
||||
OSi_NeedResetTimer: ;0x03807924
|
||||
.space 0x03807928 - 0x03807924
|
||||
|
||||
.global _03807928
|
||||
_03807928: ;0x03807928
|
||||
.global OSi_TickCounter
|
||||
OSi_TickCounter: ;0x03807928
|
||||
.space 0x03807930 - 0x03807928
|
||||
|
||||
.global _03807930
|
||||
@ -141,24 +141,24 @@ _03807958: ;0x03807958
|
||||
_0380795C: ;0x0380795C
|
||||
.space 0x038079DC - 0x0380795C
|
||||
|
||||
.global _038079DC
|
||||
_038079DC: ;0x038079DC
|
||||
.global PADi_XYButtonAvailable
|
||||
PADi_XYButtonAvailable: ;0x038079DC
|
||||
.space 0x038079E0 - 0x038079DC
|
||||
|
||||
.global _038079E0
|
||||
_038079E0: ;0x038079E0
|
||||
.space 0x03807A0C - 0x038079E0
|
||||
|
||||
.global _03807A0C
|
||||
_03807A0C: ;0x03807A0C
|
||||
.global sSurroundDecay
|
||||
sSurroundDecay: ;0x03807A0C
|
||||
.space 0x03807A10 - 0x03807A0C
|
||||
|
||||
.global _03807A10
|
||||
_03807A10: ;0x03807A10
|
||||
.global sOrgPan
|
||||
sOrgPan: ;0x03807A10
|
||||
.space 0x03807A20 - 0x03807A10
|
||||
|
||||
.global _03807A20
|
||||
_03807A20: ;0x03807A20
|
||||
.global sOrgVolume
|
||||
sOrgVolume: ;0x03807A20
|
||||
.space 0x03807A30 - 0x03807A20
|
||||
|
||||
.global _03807A30
|
||||
@ -201,12 +201,12 @@ _03807F50: ;0x03807F50
|
||||
_03807F58: ;0x03807F58
|
||||
.space 0x03807F68 - 0x03807F58
|
||||
|
||||
.global _03807F68
|
||||
_03807F68: ;0x03807F68
|
||||
.global SNDi_SharedWork
|
||||
SNDi_SharedWork: ;0x03807F68
|
||||
.space 0x03807F6C - 0x03807F68
|
||||
|
||||
.global _03807F6C
|
||||
_03807F6C: ;0x03807F6C
|
||||
.global SNDi_Work
|
||||
SNDi_Work: ;0x03807F6C
|
||||
.space 0x038084AC - 0x03807F6C
|
||||
|
||||
.global _038084AC
|
||||
@ -233,8 +233,8 @@ _0380910C: ;0x0380910C
|
||||
_0380912C: ;0x0380912C
|
||||
.space 0x03809140 - 0x0380912C
|
||||
|
||||
.global _03809140
|
||||
_03809140: ;0x03809140
|
||||
.global cardi_common
|
||||
cardi_common: ;0x03809140
|
||||
.space 0x03809188 - 0x03809140
|
||||
|
||||
.global _03809188
|
||||
@ -249,12 +249,12 @@ _03809760: ;0x03809760
|
||||
_03809764: ;0x03809764
|
||||
.space 0x03809774 - 0x03809764
|
||||
|
||||
.global _03809774
|
||||
_03809774: ;0x03809774
|
||||
.global cardi_rom_base
|
||||
cardi_rom_base: ;0x03809774
|
||||
.space 0x03809780 - 0x03809774
|
||||
|
||||
.global _03809780
|
||||
_03809780: ;0x03809780
|
||||
.global rom_stat
|
||||
rom_stat: ;0x03809780
|
||||
.space 0x038099A0 - 0x03809780
|
||||
|
||||
.global _038099A0
|
||||
@ -321,28 +321,28 @@ _03809E80: ;0x03809E80
|
||||
_03809F28: ;0x03809F28
|
||||
.space 0x03809F2C - 0x03809F28
|
||||
|
||||
.global _03809F2C
|
||||
_03809F2C: ;0x03809F2C
|
||||
.global PMi_KeyPattern
|
||||
PMi_KeyPattern: ;0x03809F2C
|
||||
.space 0x03809F30 - 0x03809F2C
|
||||
|
||||
.global _03809F30
|
||||
_03809F30: ;0x03809F30
|
||||
.global PMi_TriggerBL
|
||||
PMi_TriggerBL: ;0x03809F30
|
||||
.space 0x03809F34 - 0x03809F30
|
||||
|
||||
.global _03809F34
|
||||
_03809F34: ;0x03809F34
|
||||
.global PMi_Initialized
|
||||
PMi_Initialized: ;0x03809F34
|
||||
.space 0x03809F38 - 0x03809F34
|
||||
|
||||
.global _03809F38
|
||||
_03809F38: ;0x03809F38
|
||||
.global PMi_Work
|
||||
PMi_Work: ;0x03809F38
|
||||
.space 0x03809F64 - 0x03809F38
|
||||
|
||||
.global _03809F64
|
||||
_03809F64: ;0x03809F64
|
||||
.space 0x03809F68 - 0x03809F64
|
||||
|
||||
.global _03809F68
|
||||
_03809F68: ;0x03809F68
|
||||
.global PMi_BlinkPatternNo
|
||||
PMi_BlinkPatternNo: ;0x03809F68
|
||||
.space 0x03809F6C - 0x03809F68
|
||||
|
||||
.global _03809F6C
|
||||
@ -353,16 +353,16 @@ _03809F6C: ;0x03809F6C
|
||||
_03809FA8: ;0x03809FA8
|
||||
.space 0x03809FB8 - 0x03809FA8
|
||||
|
||||
.global _03809FB8
|
||||
_03809FB8: ;0x03809FB8
|
||||
.global CTRDGi_Work
|
||||
CTRDGi_Work: ;0x03809FB8
|
||||
.space 0x03809FBC - 0x03809FB8
|
||||
|
||||
.global _03809FBC
|
||||
_03809FBC: ;0x03809FBC
|
||||
.space 0x03809FC0 - 0x03809FBC
|
||||
|
||||
.global _03809FC0
|
||||
_03809FC0: ;0x03809FC0
|
||||
.global current_vib
|
||||
current_vib: ;0x03809FC0
|
||||
.space 0x03809FC4 - 0x03809FC0
|
||||
|
||||
.global _03809FC4
|
||||
|
@ -11,44 +11,44 @@ _038075E4:
|
||||
.word 0x00060005
|
||||
.word 0x00000000
|
||||
|
||||
.global _038075F8
|
||||
_038075F8:
|
||||
.word FUN_037F86B4
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F873C
|
||||
.word FUN_037F872C
|
||||
.word FUN_037F871C
|
||||
.word FUN_037F870C
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F877C
|
||||
.word FUN_037F876C
|
||||
.word FUN_037F875C
|
||||
.word FUN_037F874C
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.word FUN_037F8820
|
||||
.global OS_IRQTable
|
||||
OS_IRQTable:
|
||||
.word OSi_IrqVBlank
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OSi_IrqTimer0
|
||||
.word OSi_IrqTimer1
|
||||
.word OSi_IrqTimer2
|
||||
.word OSi_IrqTimer3
|
||||
.word OS_IrqDummy
|
||||
.word OSi_IrqDma0
|
||||
.word OSi_IrqDma1
|
||||
.word OSi_IrqDma2
|
||||
.word OSi_IrqDma3
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
.word OS_IrqDummy
|
||||
|
||||
.global _0380765C
|
||||
_0380765C:
|
||||
.global sMasterPan
|
||||
sMasterPan:
|
||||
.word 0xFFFFFFFF
|
||||
|
||||
.global _03807660
|
||||
_03807660:
|
||||
.word 0x12345678
|
||||
|
||||
.global _03807664
|
||||
_03807664:
|
||||
.global cardi_rom_header_addr
|
||||
cardi_rom_header_addr:
|
||||
.word 0x027FFE00
|
||||
|
||||
.global _03807668
|
||||
@ -59,12 +59,12 @@ _03807668:
|
||||
_0380766C:
|
||||
.word 0x00000001
|
||||
|
||||
.global _03807670
|
||||
_03807670:
|
||||
.global PMi_LEDStatus
|
||||
PMi_LEDStatus:
|
||||
.word 0x00000001
|
||||
|
||||
.global _03807674
|
||||
_03807674:
|
||||
.global PMi_BlinkPatternData
|
||||
PMi_BlinkPatternData:
|
||||
.word 0x00000000
|
||||
.word 0xAA000000
|
||||
.word 0x00010008
|
||||
|
5114
arm7/asm/ext.s
5114
arm7/asm/ext.s
File diff suppressed because it is too large
Load Diff
@ -3,8 +3,8 @@
|
||||
.include "global.inc"
|
||||
|
||||
.section .text
|
||||
arm_func_start FUN_027E0000
|
||||
FUN_027E0000: ; 0x027E0000 load at 0x023801B0
|
||||
arm_func_start WVR_ShelterExtWram
|
||||
WVR_ShelterExtWram: ; 0x027E0000 load at 0x023801B0
|
||||
stmdb sp!, {r4, r5, r6, lr}
|
||||
ldr r6, _027E00C0 ; =0x023801B0
|
||||
ldr r3, _027E00C4 ; =0x023A92F8
|
||||
|
340
arm7/global.inc
340
arm7/global.inc
@ -11,141 +11,141 @@
|
||||
.extern SDK_STATIC_BSS_START
|
||||
|
||||
; .itcm
|
||||
.extern FUN_027E0000
|
||||
.extern WVR_ShelterExtWram
|
||||
|
||||
; .dtcm
|
||||
.extern FUN_037F8590
|
||||
.extern FUN_037F86B4
|
||||
.extern FUN_037F870C
|
||||
.extern FUN_037F871C
|
||||
.extern FUN_037F872C
|
||||
.extern FUN_037F873C
|
||||
.extern FUN_037F874C
|
||||
.extern FUN_037F875C
|
||||
.extern FUN_037F876C
|
||||
.extern FUN_037F877C
|
||||
.extern FUN_037F8820
|
||||
.extern FUN_037F8858
|
||||
.extern FUN_037F8894
|
||||
.extern FUN_037F88CC
|
||||
.extern FUN_037F894C
|
||||
.extern FUN_037F8A18
|
||||
.extern FUN_037F8A24
|
||||
.extern FUN_037F8ABC
|
||||
.extern FUN_037F8AEC
|
||||
.extern FUN_037F8AFC
|
||||
.extern FUN_037F8B1C
|
||||
.extern FUN_037F8B3C
|
||||
.extern OS_IrqHandler_ThreadSwitch
|
||||
.extern OSi_IrqVBlank
|
||||
.extern OSi_IrqTimer3
|
||||
.extern OSi_IrqTimer2
|
||||
.extern OSi_IrqTimer1
|
||||
.extern OSi_IrqTimer0
|
||||
.extern OSi_IrqDma3
|
||||
.extern OSi_IrqDma2
|
||||
.extern OSi_IrqDma1
|
||||
.extern OSi_IrqDma0
|
||||
.extern OS_IrqDummy
|
||||
.extern OS_DisableIrqMask
|
||||
.extern OS_EnableIrqMask
|
||||
.extern OS_SetIrqMask
|
||||
.extern OS_SetIrqFunction
|
||||
.extern OS_UnLockCartridge
|
||||
.extern OS_GetLockID
|
||||
.extern OS_ReleaseLockID
|
||||
.extern OS_ReadOwnerOfLockWord
|
||||
.extern OS_TryLockCartridge
|
||||
.extern OS_UnlockCartridge
|
||||
.extern OS_LockCartridge
|
||||
.extern FUN_037F8CB4
|
||||
.extern FUN_037F8E14
|
||||
.extern FUN_037F8FB4
|
||||
.extern FUN_037F8FE8
|
||||
.extern FUN_037F9064
|
||||
.extern FUN_037F90CC
|
||||
.extern FUN_037F9218
|
||||
.extern FUN_037F9244
|
||||
.extern FUN_037F980C
|
||||
.extern FUN_037F9884
|
||||
.extern FUN_037F9924
|
||||
.extern FUN_037F99B8
|
||||
.extern FUN_037F9A6C
|
||||
.extern FUN_037F9ADC
|
||||
.extern FUN_037FA4AC
|
||||
.extern FUN_037FA650
|
||||
.extern FUN_037FA75C
|
||||
.extern FUN_037FA900
|
||||
.extern FUN_037FA920
|
||||
.extern FUN_037FAC30
|
||||
.extern FUN_037FAD00
|
||||
.extern FUN_037FAD88
|
||||
.extern FUN_037FAEB8
|
||||
.extern FUN_037FAFD0
|
||||
.extern FUN_037FAFE0
|
||||
.extern FUN_037FB05C
|
||||
.extern FUN_037FB070
|
||||
.extern FUN_037FB0C0
|
||||
.extern OS_Sleep
|
||||
.extern OS_WakeupThreadDirect
|
||||
.extern OS_WakeupThread
|
||||
.extern OS_SleepThread
|
||||
.extern OS_JoinThread
|
||||
.extern OS_ExitThread
|
||||
.extern OS_CreateThread
|
||||
.extern OS_ReadMessage
|
||||
.extern OS_ReceiveMessage
|
||||
.extern OS_SendMessage
|
||||
.extern OS_InitMessageQueue
|
||||
.extern OS_UnlockMutex
|
||||
.extern OS_LockMutex
|
||||
.extern OS_InitTick
|
||||
.extern OS_CancelAlarm
|
||||
.extern OS_SetAlarm
|
||||
.extern OS_CreateAlarm
|
||||
.extern OS_InitAlarm
|
||||
.extern OS_CancelVAlarms
|
||||
.extern OS_SetVAlarmTag
|
||||
.extern OS_SetPeriodicVAlarm
|
||||
.extern OS_CreateVAlarm
|
||||
.extern OS_IsVAlarmAvailable
|
||||
.extern OS_InitVAlarm
|
||||
.extern OS_DisableInterrupts
|
||||
.extern OS_RestoreInterrupts
|
||||
.extern OS_SpinWait
|
||||
.extern FUN_037FB1F0
|
||||
.extern FUN_037FB334
|
||||
.extern FUN_037FB360
|
||||
.extern FUN_037FB3AC
|
||||
.extern FUN_037FB3E4
|
||||
.extern FUN_037FB5B0
|
||||
.extern FUN_037FB6DC
|
||||
.extern FUN_037FB7A8
|
||||
.extern FUN_037FB8F0
|
||||
.extern FUN_037FB90C
|
||||
.extern FUN_037FBA54
|
||||
.extern FUN_037FBAA8
|
||||
.extern FUN_03801544
|
||||
.extern FUN_038026B0
|
||||
.extern FUN_038026DC
|
||||
.extern FUN_03802BEC
|
||||
.extern FUN_03803C80
|
||||
.extern FUN_03803E5C
|
||||
.extern FUN_038041E0
|
||||
.extern FUN_03804E50
|
||||
.extern FUN_03805954
|
||||
.extern FUN_03806A98
|
||||
.extern FUN_03806AD0
|
||||
.extern MIi_CpuClear32
|
||||
.extern MIi_CpuClearFast
|
||||
.extern MIi_CpuCopyFast
|
||||
.extern MI_CpuFill8
|
||||
.extern PXI_Init
|
||||
.extern PXI_SendWordByFifo
|
||||
.extern PXI_SetFifoRecvCallback
|
||||
.extern EXIi_SelectRcnt
|
||||
.extern EXIi_SetBitRcnt0L
|
||||
.extern SND_EndSleep
|
||||
.extern SND_BeginSleep
|
||||
.extern SPI_Init
|
||||
.extern PMi_ResetControl
|
||||
.extern PMi_SetControl
|
||||
.extern PM_SelfBlinkProc
|
||||
.extern CTRDG_CheckPullOut_Polling
|
||||
.extern CTRDG_VibPulseEdgeUpdate
|
||||
.extern CTRDG_Init
|
||||
.extern NVRAM_ReadDataBytes
|
||||
.extern RTC_Init
|
||||
.extern WVR_Shutdown
|
||||
.extern WVR_Init
|
||||
.extern FUN_038073EC
|
||||
.extern FUN_03807408
|
||||
.extern FUN_037F8858
|
||||
.extern FUN_037F8894
|
||||
.extern FUN_037F894C
|
||||
.extern FUN_037F8A24
|
||||
.extern FUN_037F8D50
|
||||
.extern FUN_037F8D88
|
||||
.extern FUN_037F8E14
|
||||
.extern FUN_037F8EB8
|
||||
.extern FUN_037F8FB4
|
||||
.extern FUN_037F90B8
|
||||
.extern FUN_037F90CC
|
||||
.extern FUN_037F9218
|
||||
.extern FUN_037F9244
|
||||
.extern FUN_037F9884
|
||||
.extern FUN_037F9924
|
||||
.extern FUN_037F99B8
|
||||
.extern FUN_037F9A6C
|
||||
.extern FUN_037F9ADC
|
||||
.extern FUN_037F9B68
|
||||
.extern FUN_037FA0C4
|
||||
.extern FUN_037FA138
|
||||
.extern FUN_037FA364
|
||||
.extern FUN_037FA650
|
||||
.extern FUN_037FA6E0
|
||||
.extern FUN_037FA75C
|
||||
.extern FUN_037FA900
|
||||
.extern FUN_037FA910
|
||||
.extern FUN_037FACAC
|
||||
.extern FUN_037FAE20
|
||||
.extern FUN_037FAEB8
|
||||
.extern FUN_037FAFD0
|
||||
.extern FUN_037FAFE0
|
||||
.extern FUN_037FB05C
|
||||
.extern FUN_037FB070
|
||||
.extern WMSP_GetAllowedChannel
|
||||
.extern OS_DisableIrqMask
|
||||
.extern OS_EnableIrqMask
|
||||
.extern OS_SetIrqFunction
|
||||
.extern OS_GetLockID
|
||||
.extern OS_EnableScheduler
|
||||
.extern OS_DisableScheduler
|
||||
.extern OS_Sleep
|
||||
.extern OS_SetThreadPriority
|
||||
.extern OS_WakeupThreadDirect
|
||||
.extern OS_IsThreadTerminated
|
||||
.extern OS_JoinThread
|
||||
.extern OS_ExitThread
|
||||
.extern OS_CreateThread
|
||||
.extern OS_ReceiveMessage
|
||||
.extern OS_SendMessage
|
||||
.extern OS_InitMessageQueue
|
||||
.extern OS_UnlockMutex
|
||||
.extern OS_LockMutex
|
||||
.extern OS_InitMutex
|
||||
.extern OS_FreeToHeap
|
||||
.extern OS_AllocFromHeap
|
||||
.extern OS_GetTick
|
||||
.extern OS_CancelAlarm
|
||||
.extern OS_SetPeriodicAlarm
|
||||
.extern OS_SetAlarm
|
||||
.extern OS_CreateAlarm
|
||||
.extern OS_IsAlarmAvailable
|
||||
.extern OS_CancelVAlarm
|
||||
.extern OS_SetVAlarm
|
||||
.extern OS_CreateVAlarm
|
||||
.extern OS_IsVAlarmAvailable
|
||||
.extern OS_InitVAlarm
|
||||
.extern OS_DisableInterrupts
|
||||
.extern OS_RestoreInterrupts
|
||||
.extern FUN_037FB1F0
|
||||
.extern FUN_037FB290
|
||||
.extern FUN_037FB300
|
||||
.extern FUN_037FB318
|
||||
.extern FUN_037FB334
|
||||
.extern FUN_037FB348
|
||||
.extern FUN_037FB360
|
||||
.extern FUN_037FB3E4
|
||||
.extern FUN_037FB478
|
||||
.extern FUN_037FB5B0
|
||||
.extern FUN_037FB7A8
|
||||
.extern FUN_037FBAA8
|
||||
.extern FUN_03801474
|
||||
.extern FUN_038014E0
|
||||
.extern FUN_03802BC8
|
||||
.extern FUN_03804798
|
||||
.extern FUN_03804E50
|
||||
.extern FUN_03804F70
|
||||
.extern MI_WaitDma
|
||||
.extern MIi_CpuClear16
|
||||
.extern MIi_CpuCopy16
|
||||
.extern MIi_CpuClear32
|
||||
.extern MIi_CpuCopy32
|
||||
.extern MIi_CpuClearFast
|
||||
.extern MI_CpuFill8
|
||||
.extern MI_CpuCopy8
|
||||
.extern PXI_Init
|
||||
.extern PXI_SetFifoRecvCallback
|
||||
.extern SND_BeginSleep
|
||||
.extern SPI_Unlock
|
||||
.extern SPI_Lock
|
||||
.extern PM_SetLEDPattern
|
||||
.extern NVRAM_SoftwareReset
|
||||
.extern NVRAM_ReadDataBytes
|
||||
.extern NVRAM_ReadStatusRegister
|
||||
.extern FUN_03806F8C
|
||||
.extern FUN_03807408
|
||||
.extern FUN_03807534
|
||||
.extern FUN_03807590
|
||||
.extern FUN_03806B34
|
||||
.extern WMSP_GetAllowedChannel
|
||||
.extern WMSP_GetBuffer4Callback2Wm9
|
||||
.extern WMSP_ReturnResult2Wm9
|
||||
.extern MATH_CountPopulation
|
||||
.extern _0380B764
|
||||
.extern _0380B808
|
||||
.extern _0380B8AC
|
||||
@ -156,7 +156,7 @@
|
||||
.extern _s32_div_f
|
||||
.extern _u32_div_f
|
||||
.extern _03807170
|
||||
.extern _03807194
|
||||
.extern SNDi_DecibelSquareTable
|
||||
.extern _03807294
|
||||
.extern _03807298
|
||||
.extern _038072A8
|
||||
@ -173,18 +173,18 @@
|
||||
.extern SVC_Stop
|
||||
.extern SVC_WaitByLoop
|
||||
.extern _038075E4
|
||||
.extern _038075F8
|
||||
.extern _0380765C
|
||||
.extern OS_IRQTable
|
||||
.extern sMasterPan
|
||||
.extern _03807660
|
||||
.extern _03807664
|
||||
.extern cardi_rom_header_addr
|
||||
.extern _03807668
|
||||
.extern _0380766C
|
||||
.extern _03807670
|
||||
.extern _03807674
|
||||
.extern PMi_LEDStatus
|
||||
.extern PMi_BlinkPatternData
|
||||
.extern _03807704
|
||||
.extern _03807708
|
||||
.extern _0380770C
|
||||
.extern _03807714
|
||||
.extern OSi_IrqThreadQueue
|
||||
.extern OSi_IrqCallbackInfo
|
||||
.extern _03807718
|
||||
.extern _0380771C
|
||||
.extern _03807744
|
||||
@ -192,22 +192,22 @@
|
||||
.extern _0380774C
|
||||
.extern _03807774
|
||||
.extern _03807780
|
||||
.extern _03807784
|
||||
.extern _03807788
|
||||
.extern OSi_StackForDestructor
|
||||
.extern OSi_RescheduleCount
|
||||
.extern _0380778C
|
||||
.extern _03807790
|
||||
.extern _03807794
|
||||
.extern _03807798
|
||||
.extern _0380779C
|
||||
.extern OSi_SystemCallbackInSwitchThread
|
||||
.extern OSi_CurrentThreadPtr
|
||||
.extern OSi_IsThreadInitialized
|
||||
.extern OSi_ThreadInfo
|
||||
.extern _038077A0
|
||||
.extern _038077AC
|
||||
.extern _03807850
|
||||
.extern OSi_IdleThread
|
||||
.extern OSi_LauncherThread
|
||||
.extern _038078F4
|
||||
.extern _038078F8
|
||||
.extern OSiHeapInfo
|
||||
.extern _0380791C
|
||||
.extern _03807920
|
||||
.extern _03807924
|
||||
.extern _03807928
|
||||
.extern OSi_NeedResetTimer
|
||||
.extern OSi_TickCounter
|
||||
.extern _03807930
|
||||
.extern _03807934
|
||||
.extern _0380793C
|
||||
@ -218,11 +218,11 @@
|
||||
.extern _03807954
|
||||
.extern _03807958
|
||||
.extern _0380795C
|
||||
.extern _038079DC
|
||||
.extern PADi_XYButtonAvailable
|
||||
.extern _038079E0
|
||||
.extern _03807A0C
|
||||
.extern _03807A10
|
||||
.extern _03807A20
|
||||
.extern sSurroundDecay
|
||||
.extern sOrgPan
|
||||
.extern sOrgVolume
|
||||
.extern _03807A30
|
||||
.extern _03807A34
|
||||
.extern _03807A54
|
||||
@ -233,20 +233,20 @@
|
||||
.extern _03807F4C
|
||||
.extern _03807F50
|
||||
.extern _03807F58
|
||||
.extern _03807F68
|
||||
.extern _03807F6C
|
||||
.extern SNDi_SharedWork
|
||||
.extern SNDi_Work
|
||||
.extern _038084AC
|
||||
.extern _038086EC
|
||||
.extern _03808EEC
|
||||
.extern _038090EC
|
||||
.extern _0380910C
|
||||
.extern _0380912C
|
||||
.extern _03809140
|
||||
.extern cardi_common
|
||||
.extern _03809188
|
||||
.extern _03809760
|
||||
.extern _03809764
|
||||
.extern _03809774
|
||||
.extern _03809780
|
||||
.extern cardi_rom_base
|
||||
.extern rom_stat
|
||||
.extern _038099A0
|
||||
.extern _038099A4
|
||||
.extern _038099A8
|
||||
@ -263,17 +263,17 @@
|
||||
.extern _03809E54
|
||||
.extern _03809E80
|
||||
.extern _03809F28
|
||||
.extern _03809F2C
|
||||
.extern _03809F30
|
||||
.extern _03809F34
|
||||
.extern _03809F38
|
||||
.extern PMi_KeyPattern
|
||||
.extern PMi_TriggerBL
|
||||
.extern PMi_Initialized
|
||||
.extern PMi_Work
|
||||
.extern _03809F64
|
||||
.extern _03809F68
|
||||
.extern PMi_BlinkPatternNo
|
||||
.extern _03809F6C
|
||||
.extern _03809FA8
|
||||
.extern _03809FB8
|
||||
.extern CTRDGi_Work
|
||||
.extern _03809FBC
|
||||
.extern _03809FC0
|
||||
.extern current_vib
|
||||
.extern _03809FC4
|
||||
.extern _03809FC8
|
||||
.extern _03809FCC
|
||||
@ -297,12 +297,12 @@
|
||||
.extern _0380B064
|
||||
|
||||
; .ext
|
||||
.extern FUN_060001F8
|
||||
.extern FUN_06000204
|
||||
.extern FUN_06000798
|
||||
.extern FUN_060009A4
|
||||
.extern FUN_06006978
|
||||
.extern FUN_06008CC4
|
||||
.extern _06019960
|
||||
.extern WMSP_GetIndicateThread
|
||||
.extern WMSP_GetRequestThread
|
||||
.extern WM_sp_init
|
||||
.extern WMSP_CancelAllAlarms
|
||||
.extern WMSP_CancelVAlarm
|
||||
.extern WL_Terminate
|
||||
.extern wmspW
|
||||
.extern _0601A960
|
||||
.extern _0601AE88
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Makefile to build Pokemon Diamond image
|
||||
|
||||
include config.mk
|
||||
include ../config.mk
|
||||
|
||||
.PHONY: clean tidy all default patch_mwasmarm
|
||||
|
||||
|
273
filesystem.mk
Normal file
273
filesystem.mk
Normal file
@ -0,0 +1,273 @@
|
||||
NITROFS_FILES := files/data/UTF16.dat \
|
||||
files/data/area00light.txt \
|
||||
files/data/area01light.txt \
|
||||
files/data/area02light.txt \
|
||||
files/data/battle_win.NSCR \
|
||||
files/data/btower_canm.resdat \
|
||||
files/data/btower_celact.cldat \
|
||||
files/data/btower_cell.resdat \
|
||||
files/data/btower_chr.resdat \
|
||||
files/data/btower_pal.resdat \
|
||||
files/data/cell0.NCGR \
|
||||
files/data/cell0.NCLR \
|
||||
files/data/clact_default.NANR \
|
||||
files/data/crystal.nsbmd \
|
||||
files/data/demo_climax.narc \
|
||||
files/data/dp_areawindow.NCGR \
|
||||
files/data/dp_areawindow.NCLR \
|
||||
files/data/dt_test_celact.txt \
|
||||
files/data/dt_test_res_cell.txt \
|
||||
files/data/dt_test_res_cellanm.txt \
|
||||
files/data/dt_test_res_char.txt \
|
||||
files/data/dt_test_res_multi.txt \
|
||||
files/data/dt_test_res_multianm.txt \
|
||||
files/data/dt_test_res_pltt.txt \
|
||||
files/data/dun_sea.nsbtx \
|
||||
files/data/eoo.dat \
|
||||
files/data/exdata.dat \
|
||||
files/data/field_cutin.narc \
|
||||
files/data/fld_anime0.bin \
|
||||
files/data/fld_anime1.bin \
|
||||
files/data/fld_anime10.bin \
|
||||
files/data/fld_anime2.bin \
|
||||
files/data/fld_anime3.bin \
|
||||
files/data/fld_anime4.bin \
|
||||
files/data/fld_anime5.bin \
|
||||
files/data/fld_anime6.bin \
|
||||
files/data/fld_anime7.bin \
|
||||
files/data/fld_anime8.bin \
|
||||
files/data/fld_anime9.bin \
|
||||
files/data/fs_kanban.nsbca \
|
||||
files/data/ground0.NCGR \
|
||||
files/data/ground0.NCLR \
|
||||
files/data/ground0.NSCR \
|
||||
files/data/kemu_itpconv.dat \
|
||||
files/data/lake_anim.nsbtx \
|
||||
files/data/miniasahamabe.nsbtx \
|
||||
files/data/miniasasea.nsbtx \
|
||||
files/data/minihamabe.nsbtx \
|
||||
files/data/minimum.nsbtx \
|
||||
files/data/minirhana.nsbtx \
|
||||
files/data/namein.narc \
|
||||
files/data/nfont.NCGR \
|
||||
files/data/nfont.NCLR \
|
||||
files/data/pc.nsbca \
|
||||
files/data/plist_canm.resdat \
|
||||
files/data/plist_cell.resdat \
|
||||
files/data/plist_chr.resdat \
|
||||
files/data/plist_h.cldat \
|
||||
files/data/plist_pal.resdat \
|
||||
files/data/porucase_canm.resdat \
|
||||
files/data/porucase_celact.cldat \
|
||||
files/data/porucase_cell.resdat \
|
||||
files/data/porucase_chr.resdat \
|
||||
files/data/porucase_pal.resdat \
|
||||
files/data/pst_canm.resdat \
|
||||
files/data/pst_cell.resdat \
|
||||
files/data/pst_chr.resdat \
|
||||
files/data/pst_h.cldat \
|
||||
files/data/pst_pal.resdat \
|
||||
files/data/shop_canm.resdat \
|
||||
files/data/shop_cell.resdat \
|
||||
files/data/shop_chr.resdat \
|
||||
files/data/shop_h.cldat \
|
||||
files/data/shop_pal.resdat \
|
||||
files/data/slot.narc \
|
||||
files/data/smptm_koori.NANR \
|
||||
files/data/smptm_koori.NCER \
|
||||
files/data/smptm_koori.NCGR \
|
||||
files/data/smptm_koori.NCLR \
|
||||
files/data/smptm_nemuri.NANR \
|
||||
files/data/smptm_nemuri.NCER \
|
||||
files/data/smptm_nemuri.NCGR \
|
||||
files/data/smptm_nemuri.NCLR \
|
||||
files/data/t3_fl_b.nsbtx \
|
||||
files/data/t3_fl_p.nsbtx \
|
||||
files/data/t3_fl_r.nsbtx \
|
||||
files/data/t3_fl_y.nsbtx \
|
||||
files/data/test.atr \
|
||||
files/data/tmap_block.dat \
|
||||
files/data/tmap_flags.dat \
|
||||
files/data/tmapn_canm.resdat \
|
||||
files/data/tmapn_celact.cldat \
|
||||
files/data/tmapn_celact.txt \
|
||||
files/data/tmapn_cell.resdat \
|
||||
files/data/tmapn_chr.resdat \
|
||||
files/data/tmapn_pal.resdat \
|
||||
files/data/tmapn_res_canm.txt \
|
||||
files/data/tmapn_res_cell.txt \
|
||||
files/data/tmapn_res_chr.txt \
|
||||
files/data/tmapn_res_pal.txt \
|
||||
files/data/tradelist.narc \
|
||||
files/data/trapmark.narc \
|
||||
files/data/ug_anim.narc \
|
||||
files/data/ug_base_cur.nsbmd \
|
||||
files/data/ug_boygirl.NCGR \
|
||||
files/data/ug_boygirl.NCLR \
|
||||
files/data/ug_fossil.narc \
|
||||
files/data/ug_hero.NANR \
|
||||
files/data/ug_hero.NCER \
|
||||
files/data/ug_hole.NANR \
|
||||
files/data/ug_hole.NCER \
|
||||
files/data/ug_hole.NCGR \
|
||||
files/data/ug_parts.narc \
|
||||
files/data/ug_radar.narc \
|
||||
files/data/ug_trap.narc \
|
||||
files/data/ugeffect_obj_graphic.narc \
|
||||
files/data/uground_cell.resdat \
|
||||
files/data/uground_cellanm.resdat \
|
||||
files/data/uground_char.resdat \
|
||||
files/data/uground_char2.resdat \
|
||||
files/data/uground_clact.cldat \
|
||||
files/data/uground_pltt.resdat \
|
||||
files/data/uground_pltt2.resdat \
|
||||
files/data/underg_radar.narc \
|
||||
files/data/utility.bin \
|
||||
files/data/weather_sys.narc \
|
||||
files/data/wifi.ncgr \
|
||||
files/data/wifinote.narc \
|
||||
files/data/wifip2pmatch.narc \
|
||||
files/data/wm.ncgr \
|
||||
files/data/wm.nclr \
|
||||
files/data/sound/sound_data.sdat \
|
||||
files/msgdata/msg.narc \
|
||||
files/msgdata/scenario/scr_msg.narc \
|
||||
files/poketool/pokegra/height.narc \
|
||||
files/poketool/pokegra/height_o.narc \
|
||||
files/poketool/pokegra/otherpoke.narc \
|
||||
files/poketool/pokegra/poke_shadow.narc \
|
||||
files/poketool/pokegra/poke_shadow_ofx.narc \
|
||||
files/poketool/pokegra/poke_yofs.narc \
|
||||
files/poketool/pokegra/pokegra.narc \
|
||||
files/poketool/trgra/trbgra.narc \
|
||||
files/poketool/trgra/trfgra.narc \
|
||||
files/poketool/personal/personal.narc \
|
||||
files/poketool/personal/evo.narc \
|
||||
files/poketool/personal/growtbl.narc \
|
||||
files/poketool/personal/pms.narc \
|
||||
files/poketool/personal/wotbl.narc \
|
||||
files/poketool/trainer/trdata.narc \
|
||||
files/poketool/trainer/trpoke.narc \
|
||||
files/poketool/trmsg/trtbl.narc \
|
||||
files/poketool/trmsg/trtblofs.narc \
|
||||
files/battle/graphic/b_bag_gra.narc \
|
||||
files/battle/graphic/b_plist_gra.narc \
|
||||
files/battle/graphic/batt_bg.narc \
|
||||
files/battle/graphic/batt_obj.narc \
|
||||
files/battle/graphic/vs_demo_gra.narc \
|
||||
files/wazaeffect/we.arc \
|
||||
files/wazaeffect/we_sub.narc \
|
||||
files/battle/skill/be_seq.narc \
|
||||
files/battle/skill/sub_seq.narc \
|
||||
files/battle/skill/waza_seq.narc \
|
||||
files/wazaeffect/effectclact/wecell.narc \
|
||||
files/wazaeffect/effectclact/wecellanm.narc \
|
||||
files/wazaeffect/effectclact/wechar.narc \
|
||||
files/wazaeffect/effectclact/wepltt.narc \
|
||||
files/poketool/waza/waza_tbl.narc \
|
||||
files/fielddata/script/scr_seq_release.narc \
|
||||
files/graphic/bag_gra.narc \
|
||||
files/graphic/box.narc \
|
||||
files/graphic/btower.narc \
|
||||
files/graphic/config_gra.narc \
|
||||
files/graphic/demo_trade.narc \
|
||||
files/graphic/dendou_demo.narc \
|
||||
files/graphic/dendou_pc.narc \
|
||||
files/graphic/ending.narc \
|
||||
files/graphic/ev_pokeselect.narc \
|
||||
files/graphic/f_note_gra.narc \
|
||||
files/graphic/field_board.narc \
|
||||
files/graphic/field_encounteffect.narc \
|
||||
files/graphic/fld_comact.narc \
|
||||
files/graphic/font.narc \
|
||||
files/graphic/fontoam.narc \
|
||||
files/graphic/hiden_effect.narc \
|
||||
files/graphic/imageclip.narc \
|
||||
files/graphic/mail_gra.narc \
|
||||
files/graphic/menu_gra.narc \
|
||||
files/graphic/mysign.narc \
|
||||
files/graphic/mystery.narc \
|
||||
files/graphic/ntag_gra.narc \
|
||||
files/graphic/nutmixer.narc \
|
||||
files/graphic/oekaki.narc \
|
||||
files/graphic/opening.narc \
|
||||
files/graphic/plist_gra.narc \
|
||||
files/graphic/pmsi.narc \
|
||||
files/graphic/poketch.narc \
|
||||
files/graphic/poru_gra.narc \
|
||||
files/graphic/poruact.narc \
|
||||
files/graphic/porudemo.narc \
|
||||
files/graphic/pst_gra.narc \
|
||||
files/graphic/ranking.narc \
|
||||
files/graphic/record.narc \
|
||||
files/graphic/shop_gra.narc \
|
||||
files/graphic/tmap_gra.narc \
|
||||
files/graphic/touch_subwindow.narc \
|
||||
files/graphic/trainer_case.narc \
|
||||
files/graphic/unionroom.narc \
|
||||
files/graphic/waza_oshie_gra.narc \
|
||||
files/graphic/winframe.narc \
|
||||
files/graphic/worldtrade.narc \
|
||||
files/itemtool/itemdata/item_data.narc \
|
||||
files/itemtool/itemdata/item_icon.narc \
|
||||
files/itemtool/itemdata/nuts_data.narc \
|
||||
files/poketool/icongra/poke_icon.narc \
|
||||
files/poketool/pokefoot/pokefoot.narc \
|
||||
files/data/mmodel/mmodel.narc \
|
||||
files/data/mmodel/fldeff.narc \
|
||||
files/wazaeffect/effectdata/ball_particle.narc \
|
||||
files/wazaeffect/effectdata/waza_particle.narc \
|
||||
files/wazaeffect/pt_debug/debug_particle.narc \
|
||||
files/fielddata/eventdata/zone_event_release.narc \
|
||||
files/fielddata/encountdata/d_enc_data.narc \
|
||||
files/fielddata/encountdata/p_enc_data.narc \
|
||||
files/fielddata/build_model/build_model.narc \
|
||||
files/fielddata/build_model/build_model_matshp.dat \
|
||||
files/fielddata/mapmatrix/map_matrix.narc \
|
||||
files/fielddata/areadata/area_data.narc \
|
||||
files/fielddata/areadata/area_build_model/area_build.narc \
|
||||
files/fielddata/areadata/area_build_model/areabm_texset.narc \
|
||||
files/fielddata/areadata/area_map_tex/map_tex_set.narc \
|
||||
files/fielddata/areadata/area_move_model/move_model_list.narc \
|
||||
files/fielddata/land_data/land_data_release.narc \
|
||||
files/contest/graphic/contest_bg.narc \
|
||||
files/contest/graphic/contest_obj.narc \
|
||||
files/contest/data/contest_data.narc \
|
||||
files/particledata/particledata.narc \
|
||||
files/application/zukanlist/zkn_data/zukan_data.narc \
|
||||
files/application/wifi_earth/wifi_earth.narc \
|
||||
files/application/wifi_earth/wifi_earth_place.narc \
|
||||
files/demo/title/titledemo.narc \
|
||||
files/application/custom_ball/data/cb_data.narc \
|
||||
files/demo/egg/data/egg_data.narc \
|
||||
files/demo/egg/data/particle/egg_demo_particle.narc \
|
||||
files/fielddata/mm_list/move_model_list.narc \
|
||||
files/pokeanime/poke_anm.narc \
|
||||
files/battle/tr_ai/tr_ai_seq.narc \
|
||||
files/arc/bm_anime.narc \
|
||||
files/arc/bm_anime_list.narc \
|
||||
files/arc/encdata_ex.narc \
|
||||
files/arc/ppark.narc \
|
||||
files/arc/ship_demo.narc \
|
||||
files/arc/tv.narc \
|
||||
files/fielddata/maptable/mapname.bin \
|
||||
files/poketool/pokezukan.narc \
|
||||
files/poketool/shinzukan.narc \
|
||||
files/poketool/pokeanm/pokeanm.narc \
|
||||
files/fielddata/pokemon_trade/fld_trade.narc \
|
||||
files/demo/shinka/data/particle/shinka_demo_particle.narc \
|
||||
files/demo/intro/intro.narc \
|
||||
files/demo/intro/intro_tv.narc \
|
||||
files/demo/title/op_demo.narc \
|
||||
files/demo/syoujyou/syoujyou.narc \
|
||||
files/battle/b_tower/btdpm.narc \
|
||||
files/battle/b_tower/btdtr.narc \
|
||||
files/application/zukanlist/zkn_data/zukan_enc_diamond.narc \
|
||||
files/application/zukanlist/zkn_data/zukan_enc_pearl.narc \
|
||||
files/resource/eng/trial/trial.narc \
|
||||
files/resource/eng/zukan/zukan.narc \
|
||||
files/dwc/utility.bin
|
||||
|
||||
ifeq ($(GAME_VERSION),PEARL)
|
||||
NITROFS_FILES = $(NITROFS_FILES:poketool/personal/personal.narc=poketool/personal_pearl/personal.narc)
|
||||
endif
|
Loading…
Reference in New Issue
Block a user