1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-27 07:07:09 +00:00
oot/data/z_sram.rodata.s
Roman971 53ceea717d
Properly align asm & data (+ minor fixes) (#165)
* Add .align 4 directives to all data/ files (+ minor alignment fixes)

* Use .balign for everything and fix typo
2020-05-26 18:09:00 -04:00

332 lines
7.1 KiB
ArmAsm
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.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 purpose registers
.section .rodata
.balign 16
glabel D_80140850
.asciz "\n"
# EUC-JP: | 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 " \n"
# EUC-JP:
.balign 4
glabel D_80140A20
.asciz "%x(%d) SAVE_MAX=%d\n"
# EUC-JP: | Point=
.balign 4
glabel D_80140A44
.asciz "\n %d \n"
# EUC-JP: %d
.balign 4
glabel D_80140A88
.asciz "\n j=%x mmm=%x "
# EUC-JP: | SAVE checksum calculation
.balign 4
glabel D_80140AB4
.asciz " %x(%d)\n"
# EUC-JP:
.balign 4
glabel D_80140AD0
.asciz "================= ========================\n"
# EUC-JP:
.balign 4
glabel D_80140B0C
.asciz "\n j=%x mmm=%x "
# EUC-JP: | (B) SAVE checksum calculation
.balign 4
glabel D_80140B3C
.asciz " %x(%d+3)\n"
#EUR-JP:
.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 "\n \n"
# EUC-JP: | 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 "=%d\n"
# EUC-JP: | 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 "\n"
# EUC-JP: | 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 "\n"
# EUC-JP: | Clear End
.balign 4
glabel D_80140E3C
.asciz "=%d(%x) =%d(%x)\n"
# EUC-JP: =%d(%x) =%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 "\n"
# EUC-JP: | Copy end
.balign 4
glabel D_80140E98
.asciz "sram_initialize( Game *game, Sram *sram )\n"
.balign 4
glabel D_80140EC4
.asciz "\n"
# EUC-JP: | SRAM destruction! ! ! ! ! !
.balign 4
glabel D_80140EE0
.asciz "\n"
# EUC-JP: | SRAM destruction! ! ! ! ! !
.balign 4
glabel D_80140EFC
.asciz " %d + %d %d\n"
# EUC-JP: %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