mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 13:30:47 +00:00
333 lines
7.1 KiB
ArmAsm
333 lines
7.1 KiB
ArmAsm
|
.include "macro.inc"
|
|||
|
|
|||
|
# assembler directives
|
|||
|
.set noat # allow manual use of $at
|
|||
|
.set noreorder # don't insert nops after branches
|
|||
|
.set gp=64 # allow use of 64-bit general purposee registers
|
|||
|
|
|||
|
.section .rodata
|
|||
|
|
|||
|
.align 4
|
|||
|
|
|||
|
glabel D_80140850
|
|||
|
.asciz "個人File作成\n"
|
|||
|
# EUC-JP: 個人File作成 | Create personal file
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140864
|
|||
|
.asciz "ぽいんと=%x(%d)\n"
|
|||
|
# EUC-JP: ぽいんと= | Point=
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140878
|
|||
|
.asciz "\x1b[33m"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140880
|
|||
|
.asciz "SCENE_DATA_ID = %d SceneNo = %d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_801408A4
|
|||
|
.asciz "scene_no = %d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_801408B4
|
|||
|
.asciz "\x1b[m"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_801408B8
|
|||
|
.asciz "\x1b[34m"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_801408C0
|
|||
|
.asciz "\n====================================================================\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140908
|
|||
|
.asciz "%d, "
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140910
|
|||
|
.asciz "\n====================================================================\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140958
|
|||
|
.asciz "\x1b[m"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_8014095C
|
|||
|
.asciz "\x1b[32m"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140964
|
|||
|
.asciz "\n====================================================================\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_801409AC
|
|||
|
.asciz "%d, "
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_801409B4
|
|||
|
.asciz "\n====================================================================\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_801409FC
|
|||
|
.asciz "\x1b[m"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140A00
|
|||
|
.asciz "SRAM START─LOAD\n"
|
|||
|
# EUC-JP: SRAM START─LOAD
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140A20
|
|||
|
.asciz "ぽいんと=%x(%d) SAVE_MAX=%d\n"
|
|||
|
# EUC-JP: ぽいんと= | Point=
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140A44
|
|||
|
.asciz "\n============= S(%d) =============\n"
|
|||
|
# EUC-JP: ============= S(%d) =============
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140A88
|
|||
|
.asciz "\nSAVEチェックサム計算 j=%x mmm=%x "
|
|||
|
# EUC-JP: SAVEチェックサム計算 | SAVE checksum calculation
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140AB4
|
|||
|
.asciz "ERROR!!! = %x(%d)\n"
|
|||
|
# EUC-JP: ERROR!!! =
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140AD0
|
|||
|
.asciz "================= BACK─UP ========================\n"
|
|||
|
# EUC-JP: BACK─UP
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140B0C
|
|||
|
.asciz "\n(B)SAVEチェックサム計算 j=%x mmm=%x "
|
|||
|
# EUC-JP: (B)SAVEチェックサム計算 | (B) SAVE checksum calculation
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140B3C
|
|||
|
.asciz "ERROR!!! = %x(%d+3)\n"
|
|||
|
#EUR-JP: ERROR!!! =
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140B5C
|
|||
|
.asciz "newf=%x,%x,%x,%x,%x,%x\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140B74
|
|||
|
.asciz "\n--------------------------------------------------------------\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140BB8
|
|||
|
.asciz "%x "
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140BBC
|
|||
|
.asciz "\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140BC0
|
|||
|
.asciz "\nCheck_Sum=%x(%x)\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140BD4
|
|||
|
.asciz "????#%x,%x,%x,%x,%x,%x\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140BEC
|
|||
|
.asciz "\nぽいんと=%x(%d+3) check_sum=%x(%x)\n"
|
|||
|
# EUC-JP: ぽいんと= | Point =
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140C14
|
|||
|
.asciz "ぽいんと=%x(%d) check_sum=%x(%x)\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140C38
|
|||
|
.asciz "\nSAVEデータ OK!!!!\n"
|
|||
|
# EUC-JP: SAVEデータ OK!!!! | SAVE data OK! ! ! !
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140C58
|
|||
|
.asciz "SAVECT=%x, NAME=%x, LIFE=%x, ITEM=%x, 64DD=%x, HEART=%x\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140C94
|
|||
|
.asciz "f_64dd=%d, %d, %d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140CA8
|
|||
|
.asciz "heart_status=%d, %d, %d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140CC4
|
|||
|
.asciz "now_life=%d, %d, %d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140CDC
|
|||
|
.asciz "64DDフラグ=%d\n"
|
|||
|
# EUC-JP: 64DDフラグ | 64DD flag
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140CF0
|
|||
|
.asciz "newf=%x,%x,%x,%x,%x,%x\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140D08
|
|||
|
.asciz "\n$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140D58
|
|||
|
.asciz "%x "
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140D5C
|
|||
|
.asciz "\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140D60
|
|||
|
.asciz "\nチェックサム=%x\n"
|
|||
|
# EUC-JP: チェックサム=%x | Checksum
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140D74
|
|||
|
.asciz "I=%x no=%d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140D80
|
|||
|
.asciz "I=%x no=%d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140D8C
|
|||
|
.asciz "SAVE終了\n"
|
|||
|
# EUC-JP: SAVE終了 | SAVE end
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140D9C
|
|||
|
.asciz "z_common_data.file_no = %d\n"
|
|||
|
.balign
|
|||
|
|
|||
|
glabel D_80140DB8
|
|||
|
.asciz "SAVECT=%x, NAME=%x, LIFE=%x, ITEM=%x, SAVE_64DD=%x\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140DF0
|
|||
|
.asciz "f_64dd[%d]=%d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140E00
|
|||
|
.asciz "heart_status[%d]=%d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140E18
|
|||
|
.asciz "now_life[%d]=%d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140E2C
|
|||
|
.asciz "CLEAR終了\n"
|
|||
|
# EUC-JP: CLEAR終了 | Clear End
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140E3C
|
|||
|
.asciz "READ=%d(%x) COPY=%d(%x)\n"
|
|||
|
# EUC-JP: READ=%d(%x) COPY=%d
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140E60
|
|||
|
.asciz "f_64dd[%d]=%d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140E70
|
|||
|
.asciz "heart_status[%d]=%d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140E88
|
|||
|
.asciz "COPY終了\n"
|
|||
|
# EUC-JP: COPY終了 | Copy end
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140E98
|
|||
|
.asciz "sram_initialize( Game *game, Sram *sram )\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140EC4
|
|||
|
.asciz "SRAM破壊!!!!!!\n"
|
|||
|
# EUC-JP: SRAM破壊!!!!!! | SRAM destruction! ! ! ! ! !
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140EE0
|
|||
|
.asciz "SRAM破壊!!!!!!\n"
|
|||
|
# EUC-JP: SRAM破壊!!!!!! | SRAM destruction! ! ! ! ! !
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140EFC
|
|||
|
.asciz "GOOD!GOOD! サイズ=%d + %d = %d\n"
|
|||
|
# EUC-JP: GOOD!GOOD! サイズ=%d + %d = %d | GOOD! GOOD! Size =% d +% d =% d
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140F28
|
|||
|
.asciz "\x1b[34m"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140F30
|
|||
|
.asciz "Na_SetSoundOutputMode = %d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140F4C
|
|||
|
.asciz "Na_SetSoundOutputMode = %d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140F68
|
|||
|
.asciz "Na_SetSoundOutputMode = %d\n"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140F84
|
|||
|
.asciz "\x1b[m"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140F88
|
|||
|
.asciz "../z_sram.c"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140F94
|
|||
|
.asciz "sram->read_buff != NULL"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel D_80140FAC
|
|||
|
.asciz "../z_sram.c"
|
|||
|
.balign 4
|
|||
|
|
|||
|
glabel jtbl_80140FB8
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A854C
|
|||
|
.word L800A85C0
|
|||
|
.word L800A85C0
|
|||
|
.word L800A85CC
|
|||
|
.word L800A8564
|
|||
|
.word L800A856C
|
|||
|
.word L800A8578
|
|||
|
.word L800A8584
|
|||
|
.word L800A8590
|
|||
|
.word L800A859C
|
|||
|
.word L800A85A8
|
|||
|
.word L800A85B4
|
|||
|
.word L800A85C0
|
|||
|
.word L800A85C0
|