diff --git a/asm/bte/bd_80077f34.s b/asm/bte/bd.s similarity index 95% rename from asm/bte/bd_80077f34.s rename to asm/bte/bd.s index 61da158b..dab4ad30 100644 --- a/asm/bte/bd_80077f34.s +++ b/asm/bte/bd.s @@ -70,3 +70,9 @@ lbl_80077FE8: lbl_80078000: /* 80078000 00073E40 38 60 00 00 */ li r3, 0x0 /* 80078004 00073E44 4E 80 00 20 */ blr +.include "macros.inc" + +.section .sbss2, "", @nobits # 0x805643C0 - 0x805643FC ; 0x0000003C +.global bd_addr_null +bd_addr_null: + .skip 0x8 diff --git a/asm/bte/bd_805643c8.s b/asm/bte/bd_805643c8.s deleted file mode 100644 index 6f75637e..00000000 --- a/asm/bte/bd_805643c8.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .sbss2, "", @nobits # 0x805643C0 - 0x805643FC ; 0x0000003C -.global bd_addr_null -bd_addr_null: - .skip 0x8 diff --git a/asm/bte/bta_dm_act_800786c4.s b/asm/bte/bta_dm_act.s similarity index 97% rename from asm/bte/bta_dm_act_800786c4.s rename to asm/bte/bta_dm_act.s index 1c35233b..af54629f 100644 --- a/asm/bte/bta_dm_act_800786c4.s +++ b/asm/bte/bta_dm_act.s @@ -2694,3 +2694,188 @@ lbl_8007A9C8: /* 8007A9D8 00076818 7C 08 03 A6 */ mtlr r0 /* 8007A9DC 0007681C 38 21 00 10 */ addi r1, r1, 0x10 /* 8007A9E0 00076820 4E 80 00 20 */ blr +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global bta_service_id_to_uuid_lkup_tbl +bta_service_id_to_uuid_lkup_tbl: + + .4byte 0x12001101 + .4byte 0x11031111 + .4byte 0x11021108 + .4byte 0x111E1105 + .4byte 0x11061109 + .4byte 0x11101104 + .4byte 0x1118111B + .4byte 0x11151116 + .4byte 0x1117112D + .4byte 0x110B110E + .4byte 0x11241304 + .4byte 0x112F0000 + +.global bta_service_id_to_btm_srv_id_lkup_tbl +bta_service_id_to_btm_srv_id_lkup_tbl: + + .4byte 0 + .4byte 0x00000001 + .4byte 0x00000003 + .4byte 0x0000000B + .4byte 0x00000002 + .4byte 0x0000000C + .4byte 0x0000001D + .4byte 0x00000006 + .4byte 0x00000007 + .4byte 0x00000009 + .4byte 0x0000000A + .4byte 0x00000004 + .4byte 0x00000016 + .4byte 0x00000023 + .4byte 0x00000019 + .4byte 0x0000001B + .4byte 0x0000001A + .4byte 0x00000028 + .4byte 0x00000025 + .4byte 0x00000027 + .4byte 0x00000020 + .4byte 0x00000025 + .4byte 0x0000002C + .4byte 0 + +.global bta_security +bta_security: + + .4byte bta_dm_authorize_cback + .4byte bta_dm_pin_cback + .4byte bta_dm_new_link_key_cback + .4byte bta_dm_link_key_request_cback + .4byte bta_dm_authentication_complete_cback + .4byte 0 +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@2277" +"@2277": + + .4byte 0x20627461 + .4byte 0x5F646D5F + .4byte 0x64697361 + .4byte 0x626C655F + .4byte 0x74696D65 + .4byte 0x725F6362 + .4byte 0x61636B20 + .4byte 0x20000000 + +.global "@2402" +"@2402": + + .4byte 0x20627461 + .4byte 0x5F646D5F + .4byte 0x73656172 + .4byte 0x63685F74 + .4byte 0x696D6572 + .4byte 0x5F636261 + .4byte 0x636B2020 + .4byte 0 + +.global "@2488" +"@2488": + + .4byte 0x20627461 + .4byte 0x5F646D5F + .4byte 0x70696E5F + .4byte 0x63626163 + .4byte 0x6B282920 + .4byte 0x2D3E2046 + .4byte 0x61696C65 + .4byte 0x6420746F + .4byte 0x20737461 + .4byte 0x72742052 + .4byte 0x656D6F74 + .4byte 0x65204E61 + .4byte 0x6D652052 + .4byte 0x65717565 + .4byte 0x73742020 + .4byte 0 + +.global "@2555_8043AAD8" +"@2555_8043AAD8": + + .4byte 0x2074696D + .4byte 0x65722073 + .4byte 0x746F7070 + .4byte 0x65642020 + .4byte 0 + +.global "@2586_8043AAEC" +"@2586_8043AAEC": + + .4byte 0x6274615F + .4byte 0x646D5F6C + .4byte 0x32636170 + .4byte 0x5F736572 + .4byte 0x7665725F + .4byte 0x636F6D70 + .4byte 0x72657373 + .4byte 0x5F636261 + .4byte 0x636B2C20 + .4byte 0x42544120 + .4byte 0x49442025 + .4byte 0x64000000 + +.global "@2689_8043AB1C" +"@2689_8043AB1C": + + .4byte 0x6274615F + .4byte 0x646D5F63 + .4byte 0x6F6D7072 + .4byte 0x6573735F + .4byte 0x63626163 + .4byte 0x6B206F70 + .4byte 0x656E2061 + .4byte 0x70705F69 + .4byte 0x64202564 + .4byte 0x2C204254 + .4byte 0x41206964 + .4byte 0x2025642C + .4byte 0x20737461 + .4byte 0x74652025 + .4byte 0x64000000 + +.global "@2690" +"@2690": + + .4byte 0x6274615F + .4byte 0x646D5F63 + .4byte 0x6F6D7072 + .4byte 0x6573735F + .4byte 0x63626163 + .4byte 0x6B20636C + .4byte 0x6F736520 + .4byte 0x6170705F + .4byte 0x69642025 + .4byte 0x642C2042 + .4byte 0x54412069 + .4byte 0x64202564 + .4byte 0x2C207374 + .4byte 0x61746520 + .4byte 0x25640000 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global bta_dm_compress_srvcs +bta_dm_compress_srvcs: + .skip 0x30 +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global "@1489" +"@1489": + + .2byte 0x0001 + +.global lbl_8055E922 +lbl_8055E922: + + .byte 0x80, 0x01 + .4byte 0 diff --git a/asm/bte/bta_dm_act_80407ea0.s b/asm/bte/bta_dm_act_80407ea0.s deleted file mode 100644 index d28a48a4..00000000 --- a/asm/bte/bta_dm_act_80407ea0.s +++ /dev/null @@ -1,56 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global bta_service_id_to_uuid_lkup_tbl -bta_service_id_to_uuid_lkup_tbl: - - .4byte 0x12001101 - .4byte 0x11031111 - .4byte 0x11021108 - .4byte 0x111E1105 - .4byte 0x11061109 - .4byte 0x11101104 - .4byte 0x1118111B - .4byte 0x11151116 - .4byte 0x1117112D - .4byte 0x110B110E - .4byte 0x11241304 - .4byte 0x112F0000 - -.global bta_service_id_to_btm_srv_id_lkup_tbl -bta_service_id_to_btm_srv_id_lkup_tbl: - - .4byte 0 - .4byte 0x00000001 - .4byte 0x00000003 - .4byte 0x0000000B - .4byte 0x00000002 - .4byte 0x0000000C - .4byte 0x0000001D - .4byte 0x00000006 - .4byte 0x00000007 - .4byte 0x00000009 - .4byte 0x0000000A - .4byte 0x00000004 - .4byte 0x00000016 - .4byte 0x00000023 - .4byte 0x00000019 - .4byte 0x0000001B - .4byte 0x0000001A - .4byte 0x00000028 - .4byte 0x00000025 - .4byte 0x00000027 - .4byte 0x00000020 - .4byte 0x00000025 - .4byte 0x0000002C - .4byte 0 - -.global bta_security -bta_security: - - .4byte bta_dm_authorize_cback - .4byte bta_dm_pin_cback - .4byte bta_dm_new_link_key_cback - .4byte bta_dm_link_key_request_cback - .4byte bta_dm_authentication_complete_cback - .4byte 0 diff --git a/asm/bte/bta_dm_act_8043aa58.s b/asm/bte/bta_dm_act_8043aa58.s deleted file mode 100644 index 75eeb3cb..00000000 --- a/asm/bte/bta_dm_act_8043aa58.s +++ /dev/null @@ -1,110 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@2277" -"@2277": - - .4byte 0x20627461 - .4byte 0x5F646D5F - .4byte 0x64697361 - .4byte 0x626C655F - .4byte 0x74696D65 - .4byte 0x725F6362 - .4byte 0x61636B20 - .4byte 0x20000000 - -.global "@2402" -"@2402": - - .4byte 0x20627461 - .4byte 0x5F646D5F - .4byte 0x73656172 - .4byte 0x63685F74 - .4byte 0x696D6572 - .4byte 0x5F636261 - .4byte 0x636B2020 - .4byte 0 - -.global "@2488" -"@2488": - - .4byte 0x20627461 - .4byte 0x5F646D5F - .4byte 0x70696E5F - .4byte 0x63626163 - .4byte 0x6B282920 - .4byte 0x2D3E2046 - .4byte 0x61696C65 - .4byte 0x6420746F - .4byte 0x20737461 - .4byte 0x72742052 - .4byte 0x656D6F74 - .4byte 0x65204E61 - .4byte 0x6D652052 - .4byte 0x65717565 - .4byte 0x73742020 - .4byte 0 - -.global "@2555_8043AAD8" -"@2555_8043AAD8": - - .4byte 0x2074696D - .4byte 0x65722073 - .4byte 0x746F7070 - .4byte 0x65642020 - .4byte 0 - -.global "@2586_8043AAEC" -"@2586_8043AAEC": - - .4byte 0x6274615F - .4byte 0x646D5F6C - .4byte 0x32636170 - .4byte 0x5F736572 - .4byte 0x7665725F - .4byte 0x636F6D70 - .4byte 0x72657373 - .4byte 0x5F636261 - .4byte 0x636B2C20 - .4byte 0x42544120 - .4byte 0x49442025 - .4byte 0x64000000 - -.global "@2689_8043AB1C" -"@2689_8043AB1C": - - .4byte 0x6274615F - .4byte 0x646D5F63 - .4byte 0x6F6D7072 - .4byte 0x6573735F - .4byte 0x63626163 - .4byte 0x6B206F70 - .4byte 0x656E2061 - .4byte 0x70705F69 - .4byte 0x64202564 - .4byte 0x2C204254 - .4byte 0x41206964 - .4byte 0x2025642C - .4byte 0x20737461 - .4byte 0x74652025 - .4byte 0x64000000 - -.global "@2690" -"@2690": - - .4byte 0x6274615F - .4byte 0x646D5F63 - .4byte 0x6F6D7072 - .4byte 0x6573735F - .4byte 0x63626163 - .4byte 0x6B20636C - .4byte 0x6F736520 - .4byte 0x6170705F - .4byte 0x69642025 - .4byte 0x642C2042 - .4byte 0x54412069 - .4byte 0x64202564 - .4byte 0x2C207374 - .4byte 0x61746520 - .4byte 0x25640000 - .4byte 0 diff --git a/asm/bte/bta_dm_act_804f5b48.s b/asm/bte/bta_dm_act_804f5b48.s deleted file mode 100644 index 87e3309b..00000000 --- a/asm/bte/bta_dm_act_804f5b48.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global bta_dm_compress_srvcs -bta_dm_compress_srvcs: - .skip 0x30 diff --git a/asm/bte/bta_dm_act_8055e920.s b/asm/bte/bta_dm_act_8055e920.s deleted file mode 100644 index 71293526..00000000 --- a/asm/bte/bta_dm_act_8055e920.s +++ /dev/null @@ -1,13 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global "@1489" -"@1489": - - .2byte 0x0001 - -.global lbl_8055E922 -lbl_8055E922: - - .byte 0x80, 0x01 - .4byte 0 diff --git a/asm/bte/bta_dm_api_8007a9e4.s b/asm/bte/bta_dm_api.s similarity index 98% rename from asm/bte/bta_dm_api_8007a9e4.s rename to asm/bte/bta_dm_api.s index 626f7a41..599b3ec4 100644 --- a/asm/bte/bta_dm_api_8007a9e4.s +++ b/asm/bte/bta_dm_api.s @@ -334,3 +334,17 @@ lbl_8007AE40: /* 8007AE44 00076C84 7C 08 03 A6 */ mtlr r0 /* 8007AE48 00076C88 38 21 00 10 */ addi r1, r1, 0x10 /* 8007AE4C 00076C8C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global bta_dm_reg +bta_dm_reg: + + .4byte bta_dm_sm_execute + .4byte 0 + +.global bta_dm_search_reg +bta_dm_search_reg: + + .4byte bta_dm_search_sm_execute + .4byte 0 diff --git a/asm/bte/bta_dm_api_8055e928.s b/asm/bte/bta_dm_api_8055e928.s deleted file mode 100644 index 1ff99585..00000000 --- a/asm/bte/bta_dm_api_8055e928.s +++ /dev/null @@ -1,14 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global bta_dm_reg -bta_dm_reg: - - .4byte bta_dm_sm_execute - .4byte 0 - -.global bta_dm_search_reg -bta_dm_search_reg: - - .4byte bta_dm_search_sm_execute - .4byte 0 diff --git a/asm/bte/bta_dm_cfg_80407e00.s b/asm/bte/bta_dm_cfg.s similarity index 59% rename from asm/bte/bta_dm_cfg_80407e00.s rename to asm/bte/bta_dm_cfg.s index 915cdb4f..0cdec695 100644 --- a/asm/bte/bta_dm_cfg_80407e00.s +++ b/asm/bte/bta_dm_cfg.s @@ -56,3 +56,37 @@ bta_dm_pm_md: .4byte 0x01900000 .4byte 0x00000300 .4byte 0 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global p_bta_dm_rm_cfg +p_bta_dm_rm_cfg: + + .4byte bta_dm_rm_cfg + +.global p_bta_dm_compress_cfg +p_bta_dm_compress_cfg: + + .4byte bta_dm_compress_cfg + +.global p_bta_dm_pm_cfg +p_bta_dm_pm_cfg: + + .4byte bta_dm_pm_cfg + +.global p_bta_dm_pm_spec +p_bta_dm_pm_spec: + + .4byte bta_dm_pm_spec + +.global p_bta_dm_pm_md +p_bta_dm_pm_md: + + .4byte bta_dm_pm_md + .4byte 0 +.include "macros.inc" + +.section .sbss2, "", @nobits # 0x805643C0 - 0x805643FC ; 0x0000003C +.global bta_dm_pm_cfg +bta_dm_pm_cfg: + .skip 0x8 diff --git a/asm/bte/bta_dm_cfg_805568b0.s b/asm/bte/bta_dm_cfg_805568b0.s deleted file mode 100644 index 91d45bd3..00000000 --- a/asm/bte/bta_dm_cfg_805568b0.s +++ /dev/null @@ -1,28 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global p_bta_dm_rm_cfg -p_bta_dm_rm_cfg: - - .4byte bta_dm_rm_cfg - -.global p_bta_dm_compress_cfg -p_bta_dm_compress_cfg: - - .4byte bta_dm_compress_cfg - -.global p_bta_dm_pm_cfg -p_bta_dm_pm_cfg: - - .4byte bta_dm_pm_cfg - -.global p_bta_dm_pm_spec -p_bta_dm_pm_spec: - - .4byte bta_dm_pm_spec - -.global p_bta_dm_pm_md -p_bta_dm_pm_md: - - .4byte bta_dm_pm_md - .4byte 0 diff --git a/asm/bte/bta_dm_cfg_805643c0.s b/asm/bte/bta_dm_cfg_805643c0.s deleted file mode 100644 index c51287c6..00000000 --- a/asm/bte/bta_dm_cfg_805643c0.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .sbss2, "", @nobits # 0x805643C0 - 0x805643FC ; 0x0000003C -.global bta_dm_pm_cfg -bta_dm_pm_cfg: - .skip 0x8 diff --git a/asm/bte/bta_dm_main_8007ae50.s b/asm/bte/bta_dm_main.s similarity index 66% rename from asm/bte/bta_dm_main_8007ae50.s rename to asm/bte/bta_dm_main.s index 8c6c31bd..ce76fbbd 100644 --- a/asm/bte/bta_dm_main_8007ae50.s +++ b/asm/bte/bta_dm_main.s @@ -102,3 +102,121 @@ lbl_8007AF8C: /* 8007AFA4 00076DE4 7C 08 03 A6 */ mtlr r0 /* 8007AFA8 00076DE8 38 21 00 20 */ addi r1, r1, 0x20 /* 8007AFAC 00076DEC 4E 80 00 20 */ blr +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global bta_dm_action +bta_dm_action: + + .4byte bta_dm_enable + .4byte bta_dm_disable + .4byte bta_dm_set_dev_name + .4byte bta_dm_set_visibility + .4byte bta_dm_bond + .4byte bta_dm_pin_reply + .4byte bta_dm_auth_reply + .4byte bta_dm_signal_strength + .4byte bta_dm_acl_change + .4byte bta_dm_pm_btm_status + .4byte bta_dm_pm_timer + .4byte bta_dm_keep_acl + .4byte bta_dm_send_hci_reset + +.global bta_dm_st_table +bta_dm_st_table: + + .4byte 0x000D0001 + .4byte 0x0D00020D + .4byte 0x00030D00 + .4byte 0x070D0008 + .4byte 0x0D00040D + .4byte 0x00050D00 + .4byte 0x060D0009 + .4byte 0x0D000A0D + .4byte 0x000B0D00 + .4byte 0x0C0D0000 + .4byte 0 + +.global bta_dm_search_action +bta_dm_search_action: + + .4byte bta_dm_search_start + .4byte bta_dm_search_cancel + .4byte bta_dm_discover + .4byte bta_dm_inq_cmpl + .4byte bta_dm_rmt_name + .4byte bta_dm_sdp_result + .4byte bta_dm_search_cmpl + .4byte bta_dm_free_sdp_db + .4byte bta_dm_disc_result + .4byte bta_dm_search_result + .4byte bta_dm_queue_search + .4byte bta_dm_queue_disc + .4byte bta_dm_search_clear_queue + .4byte bta_dm_search_cancel_cmpl + .4byte bta_dm_search_cancel_notify + .4byte bta_dm_search_cancel_transac_cmpl + .4byte bta_dm_disc_rmt_name + .4byte bta_dm_cancel_rmt_name + +.global bta_dm_search_idle_st_table +bta_dm_search_idle_st_table: + + .4byte 0x0012010E + .4byte 0x12000212 + .4byte 0x03121200 + .4byte 0x12120012 + .4byte 0x12000712 + .4byte 0x00121200 + .4byte 0x12120000 + +.global bta_dm_search_search_active_st_table +bta_dm_search_search_active_st_table: + + .4byte 0x12120101 + .4byte 0x12021212 + .4byte 0x01031201 + .4byte 0x04120111 + .4byte 0x12010512 + .4byte 0x01061200 + .4byte 0x09120100 + +.global bta_dm_search_search_cancelling_st_table +bta_dm_search_search_cancelling_st_table: + + .4byte 0x0A12020C + .4byte 0x0E020B12 + .4byte 0x020D1200 + .4byte 0x0F0D0012 + .4byte 0x12020F0D + .4byte 0x000D1200 + .4byte 0x0D120000 + +.global bta_dm_search_disc_active_st_table +bta_dm_search_disc_active_st_table: + + .4byte 0x1212030E + .4byte 0x12031212 + .4byte 0x03121203 + .4byte 0x10120311 + .4byte 0x12030512 + .4byte 0x03121200 + .4byte 0x08120300 + +.global bta_dm_search_st_tbl +bta_dm_search_st_tbl: + + .4byte bta_dm_search_idle_st_table + .4byte bta_dm_search_search_active_st_table + .4byte bta_dm_search_search_cancelling_st_table + .4byte bta_dm_search_disc_active_st_table +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global bta_dm_search_cb +bta_dm_search_cb: + .skip 0x7C + +.global bta_dm_cb +bta_dm_cb: + .skip 0x104 diff --git a/asm/bte/bta_dm_main_80407f48.s b/asm/bte/bta_dm_main_80407f48.s deleted file mode 100644 index 2e09adf3..00000000 --- a/asm/bte/bta_dm_main_80407f48.s +++ /dev/null @@ -1,108 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global bta_dm_action -bta_dm_action: - - .4byte bta_dm_enable - .4byte bta_dm_disable - .4byte bta_dm_set_dev_name - .4byte bta_dm_set_visibility - .4byte bta_dm_bond - .4byte bta_dm_pin_reply - .4byte bta_dm_auth_reply - .4byte bta_dm_signal_strength - .4byte bta_dm_acl_change - .4byte bta_dm_pm_btm_status - .4byte bta_dm_pm_timer - .4byte bta_dm_keep_acl - .4byte bta_dm_send_hci_reset - -.global bta_dm_st_table -bta_dm_st_table: - - .4byte 0x000D0001 - .4byte 0x0D00020D - .4byte 0x00030D00 - .4byte 0x070D0008 - .4byte 0x0D00040D - .4byte 0x00050D00 - .4byte 0x060D0009 - .4byte 0x0D000A0D - .4byte 0x000B0D00 - .4byte 0x0C0D0000 - .4byte 0 - -.global bta_dm_search_action -bta_dm_search_action: - - .4byte bta_dm_search_start - .4byte bta_dm_search_cancel - .4byte bta_dm_discover - .4byte bta_dm_inq_cmpl - .4byte bta_dm_rmt_name - .4byte bta_dm_sdp_result - .4byte bta_dm_search_cmpl - .4byte bta_dm_free_sdp_db - .4byte bta_dm_disc_result - .4byte bta_dm_search_result - .4byte bta_dm_queue_search - .4byte bta_dm_queue_disc - .4byte bta_dm_search_clear_queue - .4byte bta_dm_search_cancel_cmpl - .4byte bta_dm_search_cancel_notify - .4byte bta_dm_search_cancel_transac_cmpl - .4byte bta_dm_disc_rmt_name - .4byte bta_dm_cancel_rmt_name - -.global bta_dm_search_idle_st_table -bta_dm_search_idle_st_table: - - .4byte 0x0012010E - .4byte 0x12000212 - .4byte 0x03121200 - .4byte 0x12120012 - .4byte 0x12000712 - .4byte 0x00121200 - .4byte 0x12120000 - -.global bta_dm_search_search_active_st_table -bta_dm_search_search_active_st_table: - - .4byte 0x12120101 - .4byte 0x12021212 - .4byte 0x01031201 - .4byte 0x04120111 - .4byte 0x12010512 - .4byte 0x01061200 - .4byte 0x09120100 - -.global bta_dm_search_search_cancelling_st_table -bta_dm_search_search_cancelling_st_table: - - .4byte 0x0A12020C - .4byte 0x0E020B12 - .4byte 0x020D1200 - .4byte 0x0F0D0012 - .4byte 0x12020F0D - .4byte 0x000D1200 - .4byte 0x0D120000 - -.global bta_dm_search_disc_active_st_table -bta_dm_search_disc_active_st_table: - - .4byte 0x1212030E - .4byte 0x12031212 - .4byte 0x03121203 - .4byte 0x10120311 - .4byte 0x12030512 - .4byte 0x03121200 - .4byte 0x08120300 - -.global bta_dm_search_st_tbl -bta_dm_search_st_tbl: - - .4byte bta_dm_search_idle_st_table - .4byte bta_dm_search_search_active_st_table - .4byte bta_dm_search_search_cancelling_st_table - .4byte bta_dm_search_disc_active_st_table diff --git a/asm/bte/bta_dm_main_804f5b78.s b/asm/bte/bta_dm_main_804f5b78.s deleted file mode 100644 index 32422d2b..00000000 --- a/asm/bte/bta_dm_main_804f5b78.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global bta_dm_search_cb -bta_dm_search_cb: - .skip 0x7C - -.global bta_dm_cb -bta_dm_cb: - .skip 0x104 diff --git a/asm/bte/bta_dm_pm_8007afb0.s b/asm/bte/bta_dm_pm.s similarity index 98% rename from asm/bte/bta_dm_pm_8007afb0.s rename to asm/bte/bta_dm_pm.s index 44c5e727..5f88a3dd 100644 --- a/asm/bte/bta_dm_pm_8007afb0.s +++ b/asm/bte/bta_dm_pm.s @@ -782,3 +782,39 @@ bta_dm_pm_timer: /* 8007B9C0 00077800 38 80 00 01 */ li r4, 0x1 /* 8007B9C4 00077804 38 63 00 08 */ addi r3, r3, 0x8 /* 8007B9C8 00077808 4B FF F9 E8 */ b bta_dm_pm_set_mode +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@951" +"@951": + + .4byte 0x6274615F + .4byte 0x646D5F61 + .4byte 0x6374206E + .4byte 0x6F206D6F + .4byte 0x72652063 + .4byte 0x6F6E6E65 + .4byte 0x63746564 + .4byte 0x20736572 + .4byte 0x76696365 + .4byte 0x20636273 + .4byte 0 + +.global "@1226" +"@1226": + + .4byte 0x6274615F + .4byte 0x646D5F61 + .4byte 0x6374206E + .4byte 0x6F206D6F + .4byte 0x72652070 + .4byte 0x6D207469 + .4byte 0x6D657273 + .4byte 0 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global bta_dm_conn_srvcs +bta_dm_conn_srvcs: + .skip 0x30 diff --git a/asm/bte/bta_dm_pm_8043ab98.s b/asm/bte/bta_dm_pm_8043ab98.s deleted file mode 100644 index 8a424d5d..00000000 --- a/asm/bte/bta_dm_pm_8043ab98.s +++ /dev/null @@ -1,30 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@951" -"@951": - - .4byte 0x6274615F - .4byte 0x646D5F61 - .4byte 0x6374206E - .4byte 0x6F206D6F - .4byte 0x72652063 - .4byte 0x6F6E6E65 - .4byte 0x63746564 - .4byte 0x20736572 - .4byte 0x76696365 - .4byte 0x20636273 - .4byte 0 - -.global "@1226" -"@1226": - - .4byte 0x6274615F - .4byte 0x646D5F61 - .4byte 0x6374206E - .4byte 0x6F206D6F - .4byte 0x72652070 - .4byte 0x6D207469 - .4byte 0x6D657273 - .4byte 0 - .4byte 0 diff --git a/asm/bte/bta_dm_pm_804f5cf8.s b/asm/bte/bta_dm_pm_804f5cf8.s deleted file mode 100644 index 3d99fc56..00000000 --- a/asm/bte/bta_dm_pm_804f5cf8.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global bta_dm_conn_srvcs -bta_dm_conn_srvcs: - .skip 0x30 diff --git a/asm/bte/bta_hh_act_8007b9cc.s b/asm/bte/bta_hh_act.s similarity index 92% rename from asm/bte/bta_hh_act_8007b9cc.s rename to asm/bte/bta_hh_act.s index f295d0c4..70c614a3 100644 --- a/asm/bte/bta_hh_act_8007b9cc.s +++ b/asm/bte/bta_hh_act.s @@ -1884,3 +1884,391 @@ lbl_8007D0F4: /* 8007D108 00078F48 7C 08 03 A6 */ mtlr r0 /* 8007D10C 00078F4C 38 21 00 20 */ addi r1, r1, 0x20 /* 8007D110 00078F50 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1516_8043ABE8" +"@1516_8043ABE8": + + .4byte 0x6274615F + .4byte 0x68685F73 + .4byte 0x64705F63 + .4byte 0x6261636B + .4byte 0x3A20705F + .4byte 0x63623A20 + .4byte 0x25642072 + .4byte 0x6573756C + .4byte 0x74203078 + .4byte 0x25303278 + .4byte 0x2C202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20206174 + .4byte 0x74725F6D + .4byte 0x61736B20 + .4byte 0x30782530 + .4byte 0x32780000 + +.global "@1527" +"@1527": + + .4byte 0x6274615F + .4byte 0x68685F73 + .4byte 0x74617274 + .4byte 0x5F736470 + .4byte 0x3A3A2073 + .4byte 0x6B697020 + .4byte 0x53445020 + .4byte 0x666F7220 + .4byte 0x6B6E6F77 + .4byte 0x6E206465 + .4byte 0x76696365 + .4byte 0x73000000 + +.global "@1528" +"@1528": + + .4byte 0x6274615F + .4byte 0x68685F73 + .4byte 0x74617274 + .4byte 0x5F736470 + .4byte 0x3A202048 + .4byte 0x49445F48 + .4byte 0x6F737447 + .4byte 0x65745344 + .4byte 0x50526563 + .4byte 0x6F726420 + .4byte 0x6661696C + .4byte 0x65643A20 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x53746174 + .4byte 0x75732030 + .4byte 0x78253258 + .4byte 0 + +.global "@1541" +"@1541": + + .4byte 0x6274615F + .4byte 0x68685F73 + .4byte 0x64705F63 + .4byte 0x6D706C3A + .4byte 0x20207374 + .4byte 0x61747573 + .4byte 0x20307825 + .4byte 0x32580000 + +.global "@1542" +"@1542": + + .4byte 0x6274615F + .4byte 0x68685F73 + .4byte 0x64705F63 + .4byte 0x6D706C3A + .4byte 0x20204849 + .4byte 0x445F486F + .4byte 0x73744F70 + .4byte 0x656E4465 + .4byte 0x76206661 + .4byte 0x696C6564 + .4byte 0x3A202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20205374 + .4byte 0x61747573 + .4byte 0x20307825 + .4byte 0x32580000 + +.global "@1573_8043AD2C" +"@1573_8043AD2C": + + .4byte 0x6274615F + .4byte 0x68685F6F + .4byte 0x70656E5F + .4byte 0x6163743A + .4byte 0x20204465 + .4byte 0x76696365 + .4byte 0x5B25645D + .4byte 0x20636F6E + .4byte 0x6E656374 + .4byte 0x65640000 + .4byte 0x4254415F + .4byte 0x48485F47 + .4byte 0x45545F52 + .4byte 0x50545F45 + .4byte 0x56540000 + .4byte 0x4254415F + .4byte 0x48485F53 + .4byte 0x45545F52 + .4byte 0x50545F45 + .4byte 0x56540000 + .4byte 0x4254415F + .4byte 0x48485F47 + .4byte 0x45545F50 + .4byte 0x524F544F + .4byte 0x5F455654 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F53 + .4byte 0x45545F50 + .4byte 0x524F544F + .4byte 0x5F455654 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F47 + .4byte 0x45545F49 + .4byte 0x444C455F + .4byte 0x45565400 + .4byte 0x4254415F + .4byte 0x48485F53 + .4byte 0x45545F49 + .4byte 0x444C455F + .4byte 0x45565400 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F4F + .4byte 0x50454E5F + .4byte 0x45565400 + .4byte 0x556E6B6E + .4byte 0x6F776E20 + .4byte 0x6576656E + .4byte 0x74000000 + .4byte 0x48414E44 + .4byte 0x5348414B + .4byte 0x45207265 + .4byte 0x63656976 + .4byte 0x65642066 + .4byte 0x6F723A20 + .4byte 0x6576656E + .4byte 0x74203D20 + .4byte 0x25732064 + .4byte 0x6174613D + .4byte 0x20256400 + .4byte 0x756E6B6E + .4byte 0x6F776E20 + .4byte 0x7472616E + .4byte 0x73616374 + .4byte 0x696F6E20 + .4byte 0x74797065 + .4byte 0 + +.global "@1638_8043AE40" +"@1638_8043AE40": + + .4byte lbl_8007C5DC + .4byte lbl_8007C5DC + .4byte lbl_8007C570 + .4byte lbl_8007C5DC + .4byte lbl_8007C480 + .4byte lbl_8007C500 + .4byte lbl_8007C480 + .4byte lbl_8007C500 + .4byte lbl_8007C480 + .4byte lbl_8007C500 + +.global "@1637_8043AE68" +"@1637_8043AE68": + + .4byte lbl_8007C448 + .4byte lbl_8007C448 + .4byte lbl_8007C440 + .4byte lbl_8007C448 + .4byte lbl_8007C410 + .4byte lbl_8007C418 + .4byte lbl_8007C420 + .4byte lbl_8007C428 + .4byte lbl_8007C430 + .4byte lbl_8007C438 + .4byte 0x4374726C + .4byte 0x20444154 + .4byte 0x41207265 + .4byte 0x63656976 + .4byte 0x65642077 + .4byte 0x343A2065 + .4byte 0x76656E74 + .4byte 0x5B25735D + .4byte 0 + .4byte 0x696E7661 + .4byte 0x6C696420 + .4byte 0x20747261 + .4byte 0x6E736163 + .4byte 0x74696F6E + .4byte 0x20747970 + .4byte 0x6520666F + .4byte 0x72204441 + .4byte 0x54412070 + .4byte 0x61796C6F + .4byte 0x61643A20 + .4byte 0x345F6576 + .4byte 0x745B2573 + .4byte 0x5D000000 + +.global "@1678" +"@1678": + + .4byte lbl_8007C7A0 + .4byte lbl_8007C7A0 + .4byte lbl_8007C798 + .4byte lbl_8007C7A0 + .4byte lbl_8007C768 + .4byte lbl_8007C770 + .4byte lbl_8007C778 + .4byte lbl_8007C780 + .4byte lbl_8007C788 + .4byte lbl_8007C790 + +.global "@1677" +"@1677": + + .4byte lbl_8007C6BC + .4byte lbl_8007C6BC + .4byte lbl_8007C6B4 + .4byte lbl_8007C6BC + .4byte lbl_8007C684 + .4byte lbl_8007C68C + .4byte lbl_8007C694 + .4byte lbl_8007C69C + .4byte lbl_8007C6A4 + .4byte lbl_8007C6AC + .4byte 0 + +.global "@1713" +"@1713": + + .4byte 0x696E7661 + .4byte 0x6C696420 + .4byte 0x636F6D6D + .4byte 0x616E6400 + +.global "@1760" +"@1760": + + .4byte 0x4849445F + .4byte 0x486F7374 + .4byte 0x57726974 + .4byte 0x65446576 + .4byte 0x20457272 + .4byte 0x6F722025 + .4byte 0x64000000 + +.global "@1761" +"@1761": + + .4byte 0x6274615F + .4byte 0x68685F77 + .4byte 0x72697465 + .4byte 0x5F646576 + .4byte 0x5F616374 + .4byte 0x3A3A2063 + .4byte 0x6D642074 + .4byte 0x79706520 + .4byte 0x3D202564 + .4byte 0 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F4F5045 + .4byte 0x4E000000 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F434C4F + .4byte 0x53450000 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F524554 + .4byte 0x5259494E + .4byte 0x47000000 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F494E54 + .4byte 0x525F4441 + .4byte 0x54410000 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F494E54 + .4byte 0x525F4441 + .4byte 0x54430000 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F435452 + .4byte 0x4C5F4441 + .4byte 0x54410000 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F435452 + .4byte 0x4C5F4441 + .4byte 0x54430000 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F48414E + .4byte 0x44534841 + .4byte 0x4B450000 + .4byte 0x4849445F + .4byte 0x48444556 + .4byte 0x5F455654 + .4byte 0x5F56435F + .4byte 0x554E504C + .4byte 0x55470000 + .4byte 0x556E6B6E + .4byte 0x6F776E20 + .4byte 0x48494420 + .4byte 0x6576656E + .4byte 0x74000000 + .4byte 0x6274615F + .4byte 0x68685F63 + .4byte 0x6261636B + .4byte 0x3A3A4849 + .4byte 0x445F6576 + .4byte 0x656E7420 + .4byte 0x5B25735D + .4byte 0 + +.global "@1804_8043B098" +"@1804_8043B098": + + .4byte lbl_8007CF58 + .4byte lbl_8007CF60 + .4byte lbl_8007D0C4 + .4byte lbl_8007CF68 + .4byte lbl_8007CF80 + .4byte lbl_8007CF78 + .4byte lbl_8007CF80 + .4byte lbl_8007CF70 + .4byte lbl_8007CF8C + +.global "@1803_8043B0BC" +"@1803_8043B0BC": + + .4byte lbl_8007CEE0 + .4byte lbl_8007CEE8 + .4byte lbl_8007CEF0 + .4byte lbl_8007CEF8 + .4byte lbl_8007CF00 + .4byte lbl_8007CF08 + .4byte lbl_8007CF10 + .4byte lbl_8007CF18 + .4byte lbl_8007CF20 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global "@1486" +"@1486": + + .4byte 0 + .4byte 0 diff --git a/asm/bte/bta_hh_act_8043abe8.s b/asm/bte/bta_hh_act_8043abe8.s deleted file mode 100644 index 8feac36d..00000000 --- a/asm/bte/bta_hh_act_8043abe8.s +++ /dev/null @@ -1,380 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1516_8043ABE8" -"@1516_8043ABE8": - - .4byte 0x6274615F - .4byte 0x68685F73 - .4byte 0x64705F63 - .4byte 0x6261636B - .4byte 0x3A20705F - .4byte 0x63623A20 - .4byte 0x25642072 - .4byte 0x6573756C - .4byte 0x74203078 - .4byte 0x25303278 - .4byte 0x2C202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20206174 - .4byte 0x74725F6D - .4byte 0x61736B20 - .4byte 0x30782530 - .4byte 0x32780000 - -.global "@1527" -"@1527": - - .4byte 0x6274615F - .4byte 0x68685F73 - .4byte 0x74617274 - .4byte 0x5F736470 - .4byte 0x3A3A2073 - .4byte 0x6B697020 - .4byte 0x53445020 - .4byte 0x666F7220 - .4byte 0x6B6E6F77 - .4byte 0x6E206465 - .4byte 0x76696365 - .4byte 0x73000000 - -.global "@1528" -"@1528": - - .4byte 0x6274615F - .4byte 0x68685F73 - .4byte 0x74617274 - .4byte 0x5F736470 - .4byte 0x3A202048 - .4byte 0x49445F48 - .4byte 0x6F737447 - .4byte 0x65745344 - .4byte 0x50526563 - .4byte 0x6F726420 - .4byte 0x6661696C - .4byte 0x65643A20 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x53746174 - .4byte 0x75732030 - .4byte 0x78253258 - .4byte 0 - -.global "@1541" -"@1541": - - .4byte 0x6274615F - .4byte 0x68685F73 - .4byte 0x64705F63 - .4byte 0x6D706C3A - .4byte 0x20207374 - .4byte 0x61747573 - .4byte 0x20307825 - .4byte 0x32580000 - -.global "@1542" -"@1542": - - .4byte 0x6274615F - .4byte 0x68685F73 - .4byte 0x64705F63 - .4byte 0x6D706C3A - .4byte 0x20204849 - .4byte 0x445F486F - .4byte 0x73744F70 - .4byte 0x656E4465 - .4byte 0x76206661 - .4byte 0x696C6564 - .4byte 0x3A202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20205374 - .4byte 0x61747573 - .4byte 0x20307825 - .4byte 0x32580000 - -.global "@1573_8043AD2C" -"@1573_8043AD2C": - - .4byte 0x6274615F - .4byte 0x68685F6F - .4byte 0x70656E5F - .4byte 0x6163743A - .4byte 0x20204465 - .4byte 0x76696365 - .4byte 0x5B25645D - .4byte 0x20636F6E - .4byte 0x6E656374 - .4byte 0x65640000 - .4byte 0x4254415F - .4byte 0x48485F47 - .4byte 0x45545F52 - .4byte 0x50545F45 - .4byte 0x56540000 - .4byte 0x4254415F - .4byte 0x48485F53 - .4byte 0x45545F52 - .4byte 0x50545F45 - .4byte 0x56540000 - .4byte 0x4254415F - .4byte 0x48485F47 - .4byte 0x45545F50 - .4byte 0x524F544F - .4byte 0x5F455654 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F53 - .4byte 0x45545F50 - .4byte 0x524F544F - .4byte 0x5F455654 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F47 - .4byte 0x45545F49 - .4byte 0x444C455F - .4byte 0x45565400 - .4byte 0x4254415F - .4byte 0x48485F53 - .4byte 0x45545F49 - .4byte 0x444C455F - .4byte 0x45565400 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F4F - .4byte 0x50454E5F - .4byte 0x45565400 - .4byte 0x556E6B6E - .4byte 0x6F776E20 - .4byte 0x6576656E - .4byte 0x74000000 - .4byte 0x48414E44 - .4byte 0x5348414B - .4byte 0x45207265 - .4byte 0x63656976 - .4byte 0x65642066 - .4byte 0x6F723A20 - .4byte 0x6576656E - .4byte 0x74203D20 - .4byte 0x25732064 - .4byte 0x6174613D - .4byte 0x20256400 - .4byte 0x756E6B6E - .4byte 0x6F776E20 - .4byte 0x7472616E - .4byte 0x73616374 - .4byte 0x696F6E20 - .4byte 0x74797065 - .4byte 0 - -.global "@1638_8043AE40" -"@1638_8043AE40": - - .4byte lbl_8007C5DC - .4byte lbl_8007C5DC - .4byte lbl_8007C570 - .4byte lbl_8007C5DC - .4byte lbl_8007C480 - .4byte lbl_8007C500 - .4byte lbl_8007C480 - .4byte lbl_8007C500 - .4byte lbl_8007C480 - .4byte lbl_8007C500 - -.global "@1637_8043AE68" -"@1637_8043AE68": - - .4byte lbl_8007C448 - .4byte lbl_8007C448 - .4byte lbl_8007C440 - .4byte lbl_8007C448 - .4byte lbl_8007C410 - .4byte lbl_8007C418 - .4byte lbl_8007C420 - .4byte lbl_8007C428 - .4byte lbl_8007C430 - .4byte lbl_8007C438 - .4byte 0x4374726C - .4byte 0x20444154 - .4byte 0x41207265 - .4byte 0x63656976 - .4byte 0x65642077 - .4byte 0x343A2065 - .4byte 0x76656E74 - .4byte 0x5B25735D - .4byte 0 - .4byte 0x696E7661 - .4byte 0x6C696420 - .4byte 0x20747261 - .4byte 0x6E736163 - .4byte 0x74696F6E - .4byte 0x20747970 - .4byte 0x6520666F - .4byte 0x72204441 - .4byte 0x54412070 - .4byte 0x61796C6F - .4byte 0x61643A20 - .4byte 0x345F6576 - .4byte 0x745B2573 - .4byte 0x5D000000 - -.global "@1678" -"@1678": - - .4byte lbl_8007C7A0 - .4byte lbl_8007C7A0 - .4byte lbl_8007C798 - .4byte lbl_8007C7A0 - .4byte lbl_8007C768 - .4byte lbl_8007C770 - .4byte lbl_8007C778 - .4byte lbl_8007C780 - .4byte lbl_8007C788 - .4byte lbl_8007C790 - -.global "@1677" -"@1677": - - .4byte lbl_8007C6BC - .4byte lbl_8007C6BC - .4byte lbl_8007C6B4 - .4byte lbl_8007C6BC - .4byte lbl_8007C684 - .4byte lbl_8007C68C - .4byte lbl_8007C694 - .4byte lbl_8007C69C - .4byte lbl_8007C6A4 - .4byte lbl_8007C6AC - .4byte 0 - -.global "@1713" -"@1713": - - .4byte 0x696E7661 - .4byte 0x6C696420 - .4byte 0x636F6D6D - .4byte 0x616E6400 - -.global "@1760" -"@1760": - - .4byte 0x4849445F - .4byte 0x486F7374 - .4byte 0x57726974 - .4byte 0x65446576 - .4byte 0x20457272 - .4byte 0x6F722025 - .4byte 0x64000000 - -.global "@1761" -"@1761": - - .4byte 0x6274615F - .4byte 0x68685F77 - .4byte 0x72697465 - .4byte 0x5F646576 - .4byte 0x5F616374 - .4byte 0x3A3A2063 - .4byte 0x6D642074 - .4byte 0x79706520 - .4byte 0x3D202564 - .4byte 0 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F4F5045 - .4byte 0x4E000000 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F434C4F - .4byte 0x53450000 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F524554 - .4byte 0x5259494E - .4byte 0x47000000 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F494E54 - .4byte 0x525F4441 - .4byte 0x54410000 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F494E54 - .4byte 0x525F4441 - .4byte 0x54430000 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F435452 - .4byte 0x4C5F4441 - .4byte 0x54410000 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F435452 - .4byte 0x4C5F4441 - .4byte 0x54430000 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F48414E - .4byte 0x44534841 - .4byte 0x4B450000 - .4byte 0x4849445F - .4byte 0x48444556 - .4byte 0x5F455654 - .4byte 0x5F56435F - .4byte 0x554E504C - .4byte 0x55470000 - .4byte 0x556E6B6E - .4byte 0x6F776E20 - .4byte 0x48494420 - .4byte 0x6576656E - .4byte 0x74000000 - .4byte 0x6274615F - .4byte 0x68685F63 - .4byte 0x6261636B - .4byte 0x3A3A4849 - .4byte 0x445F6576 - .4byte 0x656E7420 - .4byte 0x5B25735D - .4byte 0 - -.global "@1804_8043B098" -"@1804_8043B098": - - .4byte lbl_8007CF58 - .4byte lbl_8007CF60 - .4byte lbl_8007D0C4 - .4byte lbl_8007CF68 - .4byte lbl_8007CF80 - .4byte lbl_8007CF78 - .4byte lbl_8007CF80 - .4byte lbl_8007CF70 - .4byte lbl_8007CF8C - -.global "@1803_8043B0BC" -"@1803_8043B0BC": - - .4byte lbl_8007CEE0 - .4byte lbl_8007CEE8 - .4byte lbl_8007CEF0 - .4byte lbl_8007CEF8 - .4byte lbl_8007CF00 - .4byte lbl_8007CF08 - .4byte lbl_8007CF10 - .4byte lbl_8007CF18 - .4byte lbl_8007CF20 diff --git a/asm/bte/bta_hh_act_805568f8.s b/asm/bte/bta_hh_act_805568f8.s deleted file mode 100644 index b1eda7c6..00000000 --- a/asm/bte/bta_hh_act_805568f8.s +++ /dev/null @@ -1,8 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global "@1486" -"@1486": - - .4byte 0 - .4byte 0 diff --git a/asm/bte/bta_hh_api_8007d114.s b/asm/bte/bta_hh_api.s similarity index 96% rename from asm/bte/bta_hh_api_8007d114.s rename to asm/bte/bta_hh_api.s index 3970cf3c..5331f939 100644 --- a/asm/bte/bta_hh_api_8007d114.s +++ b/asm/bte/bta_hh_api.s @@ -280,3 +280,29 @@ lbl_8007D4D0: /* 8007D4D8 00079318 7C 08 03 A6 */ mtlr r0 /* 8007D4DC 0007931C 38 21 00 10 */ addi r1, r1, 0x10 /* 8007D4E0 00079320 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@863_8043B0E0" +"@863_8043B0E0": + + .4byte 0x4E6F2072 + .4byte 0x65736F75 + .4byte 0x72636520 + .4byte 0x746F2073 + .4byte 0x656E6420 + .4byte 0x48494420 + .4byte 0x686F7374 + .4byte 0x20436F6E + .4byte 0x6E656374 + .4byte 0x20726571 + .4byte 0x75657374 + .4byte 0x2E000000 +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global bta_hh_reg +bta_hh_reg: + + .4byte bta_hh_hdl_event + .4byte BTA_HhDisable diff --git a/asm/bte/bta_hh_api_8043b0e0.s b/asm/bte/bta_hh_api_8043b0e0.s deleted file mode 100644 index d0686d48..00000000 --- a/asm/bte/bta_hh_api_8043b0e0.s +++ /dev/null @@ -1,18 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@863_8043B0E0" -"@863_8043B0E0": - - .4byte 0x4E6F2072 - .4byte 0x65736F75 - .4byte 0x72636520 - .4byte 0x746F2073 - .4byte 0x656E6420 - .4byte 0x48494420 - .4byte 0x686F7374 - .4byte 0x20436F6E - .4byte 0x6E656374 - .4byte 0x20726571 - .4byte 0x75657374 - .4byte 0x2E000000 diff --git a/asm/bte/bta_hh_api_8055e938.s b/asm/bte/bta_hh_api_8055e938.s deleted file mode 100644 index 48a30605..00000000 --- a/asm/bte/bta_hh_api_8055e938.s +++ /dev/null @@ -1,8 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global bta_hh_reg -bta_hh_reg: - - .4byte bta_hh_hdl_event - .4byte BTA_HhDisable diff --git a/asm/bte/bta_hh_cfg_805568c8.s b/asm/bte/bta_hh_cfg.s similarity index 54% rename from asm/bte/bta_hh_cfg_805568c8.s rename to asm/bte/bta_hh_cfg.s index a6c688b9..4d2c3599 100644 --- a/asm/bte/bta_hh_cfg_805568c8.s +++ b/asm/bte/bta_hh_cfg.s @@ -1,5 +1,15 @@ .include "macros.inc" +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global bta_hh_cfg +bta_hh_cfg: + + .4byte 0x04000000 + .4byte p_devt_list + .4byte 0x04000000 + .4byte 0 +.include "macros.inc" + .section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 .global p_devt_list p_devt_list: diff --git a/asm/bte/bta_hh_cfg_80407e90.s b/asm/bte/bta_hh_cfg_80407e90.s deleted file mode 100644 index 7a092d63..00000000 --- a/asm/bte/bta_hh_cfg_80407e90.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global bta_hh_cfg -bta_hh_cfg: - - .4byte 0x04000000 - .4byte p_devt_list - .4byte 0x04000000 - .4byte 0 diff --git a/asm/bte/bta_hh_main_8007d4e4.s b/asm/bte/bta_hh_main.s similarity index 81% rename from asm/bte/bta_hh_main_8007d4e4.s rename to asm/bte/bta_hh_main.s index f6559e31..c91d773e 100644 --- a/asm/bte/bta_hh_main_8007d4e4.s +++ b/asm/bte/bta_hh_main.s @@ -495,3 +495,263 @@ lbl_8007DA28: lbl_8007DA30: /* 8007DA30 00079870 38 64 02 84 */ addi r3, r4, 0x284 /* 8007DA34 00079874 4E 80 00 20 */ blr +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global bta_hh_action +bta_hh_action: + + .4byte bta_hh_api_disc_act + .4byte bta_hh_open_act + .4byte bta_hh_close_act + .4byte bta_hh_data_act + .4byte bta_hh_ctrl_dat_act + .4byte bta_hh_handsk_act + .4byte bta_hh_start_sdp + .4byte bta_hh_sdp_cmpl + .4byte bta_hh_write_dev_act + .4byte bta_hh_get_dscp_act + .4byte bta_hh_maint_dev_act + .4byte bta_hh_open_cmpl_act + +.global bta_hh_st_idle +bta_hh_st_idle: + + .4byte 0x06020C01 + .4byte 0x01020201 + .4byte 0x0C010C01 + .4byte 0x0C010C01 + .4byte 0x0C010C01 + .4byte 0x0A010C01 + +.global bta_hh_st_w4_conn +bta_hh_st_w4_conn: + + .4byte 0x0C020C01 + .4byte 0x01020201 + .4byte 0x0C020C02 + .4byte 0x0C020702 + .4byte 0x0C020C02 + .4byte 0x0A010B03 + +.global bta_hh_st_connected +bta_hh_st_connected: + + .4byte 0x0C030003 + .4byte 0x01030201 + .4byte 0x03030403 + .4byte 0x05030C03 + .4byte 0x08030903 + .4byte 0x0A030C03 + +.global bta_hh_st_tbl +bta_hh_st_tbl: + + .4byte bta_hh_st_idle + .4byte bta_hh_st_w4_conn + .4byte bta_hh_st_connected + .4byte 0 +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@811_8043B110" +"@811_8043B110": + + .4byte 0x77726F6E + .4byte 0x67206465 + .4byte 0x76696365 + .4byte 0x2068616E + .4byte 0x646C653A + .4byte 0x205B2564 + .4byte 0x5D000000 + .4byte 0x4254415F + .4byte 0x48485F4E + .4byte 0x554C4C5F + .4byte 0x53540000 + .4byte 0x4254415F + .4byte 0x48485F49 + .4byte 0x444C455F + .4byte 0x53540000 + .4byte 0x4254415F + .4byte 0x48485F57 + .4byte 0x345F434F + .4byte 0x4E4E5F53 + .4byte 0x54000000 + .4byte 0x4254415F + .4byte 0x48485F43 + .4byte 0x4F4E4E5F + .4byte 0x53540000 + .4byte 0x756E6B6E + .4byte 0x6F776E20 + .4byte 0x48494420 + .4byte 0x486F7374 + .4byte 0x20737461 + .4byte 0x74650000 + .4byte 0x6274615F + .4byte 0x68685F73 + .4byte 0x6D5F6578 + .4byte 0x65637574 + .4byte 0x653A2053 + .4byte 0x74617465 + .4byte 0x20307825 + .4byte 0x30327820 + .4byte 0x5B25735D + .4byte 0x2C204576 + .4byte 0x656E7420 + .4byte 0x5B25735D + .4byte 0 + .4byte 0x48482053 + .4byte 0x74617465 + .4byte 0x20436861 + .4byte 0x6E67653A + .4byte 0x205B2573 + .4byte 0x5D202D3E + .4byte 0x205B2573 + .4byte 0x5D206166 + .4byte 0x74657220 + .4byte 0x4576656E + .4byte 0x74205B25 + .4byte 0x735D0000 + +.global "@840_8043B1EC" +"@840_8043B1EC": + + .4byte 0x6274615F + .4byte 0x68685F68 + .4byte 0x646C5F65 + .4byte 0x76656E74 + .4byte 0x3A3A2068 + .4byte 0x616E646C + .4byte 0x65203D20 + .4byte 0x25642064 + .4byte 0x65765F63 + .4byte 0x625B2564 + .4byte 0x5D200000 + .4byte 0x4254415F + .4byte 0x48485F41 + .4byte 0x50495F44 + .4byte 0x49534142 + .4byte 0x4C455F45 + .4byte 0x56540000 + .4byte 0x4254415F + .4byte 0x48485F41 + .4byte 0x50495F45 + .4byte 0x4E41424C + .4byte 0x455F4556 + .4byte 0x54000000 + .4byte 0x4254415F + .4byte 0x48485F41 + .4byte 0x50495F4F + .4byte 0x50454E5F + .4byte 0x45565400 + .4byte 0x4254415F + .4byte 0x48485F41 + .4byte 0x50495F43 + .4byte 0x4C4F5345 + .4byte 0x5F455654 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F49 + .4byte 0x4E545F4F + .4byte 0x50454E5F + .4byte 0x45565400 + .4byte 0x4254415F + .4byte 0x48485F49 + .4byte 0x4E545F43 + .4byte 0x4C4F5345 + .4byte 0x5F455654 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F49 + .4byte 0x4E545F48 + .4byte 0x414E4453 + .4byte 0x4B5F4556 + .4byte 0x54000000 + .4byte 0x4254415F + .4byte 0x48485F49 + .4byte 0x4E545F44 + .4byte 0x4154415F + .4byte 0x45565400 + .4byte 0x4254415F + .4byte 0x48485F49 + .4byte 0x4E545F43 + .4byte 0x54524C5F + .4byte 0x44415441 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F41 + .4byte 0x50495F57 + .4byte 0x52495445 + .4byte 0x5F444556 + .4byte 0x5F455654 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F53 + .4byte 0x44505F43 + .4byte 0x4D504C5F + .4byte 0x45565400 + .4byte 0x4254415F + .4byte 0x48485F44 + .4byte 0x4953435F + .4byte 0x434D504C + .4byte 0x5F455654 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F41 + .4byte 0x50495F4D + .4byte 0x41494E54 + .4byte 0x5F444556 + .4byte 0x5F455654 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F41 + .4byte 0x50495F47 + .4byte 0x45545F44 + .4byte 0x5343505F + .4byte 0x45565400 + .4byte 0x4254415F + .4byte 0x48485F4F + .4byte 0x50454E5F + .4byte 0x434D504C + .4byte 0x5F455654 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48485F41 + .4byte 0x50495F47 + .4byte 0x45545F41 + .4byte 0x434C5F51 + .4byte 0x5F455654 + .4byte 0 + .4byte 0x756E6B6E + .4byte 0x6F776E20 + .4byte 0x48494420 + .4byte 0x486F7374 + .4byte 0x20657665 + .4byte 0x6E742063 + .4byte 0x6F646500 + +.global "@877" +"@877": + + .4byte lbl_8007D9C0 + .4byte lbl_8007D9C8 + .4byte lbl_8007D9D0 + .4byte lbl_8007D9D8 + .4byte lbl_8007D9E8 + .4byte lbl_8007D9F0 + .4byte lbl_8007D9E0 + .4byte lbl_8007DA00 + .4byte lbl_8007D9F8 + .4byte lbl_8007DA18 + .4byte lbl_8007DA10 + .4byte lbl_8007DA20 + .4byte lbl_8007D9B8 + .4byte lbl_8007D9B0 + .4byte lbl_8007DA28 + .4byte lbl_8007DA08 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global bta_hh_cb +bta_hh_cb: + .skip 0x230 diff --git a/asm/bte/bta_hh_main_80408070.s b/asm/bte/bta_hh_main_80408070.s deleted file mode 100644 index a81ea3ad..00000000 --- a/asm/bte/bta_hh_main_80408070.s +++ /dev/null @@ -1,56 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global bta_hh_action -bta_hh_action: - - .4byte bta_hh_api_disc_act - .4byte bta_hh_open_act - .4byte bta_hh_close_act - .4byte bta_hh_data_act - .4byte bta_hh_ctrl_dat_act - .4byte bta_hh_handsk_act - .4byte bta_hh_start_sdp - .4byte bta_hh_sdp_cmpl - .4byte bta_hh_write_dev_act - .4byte bta_hh_get_dscp_act - .4byte bta_hh_maint_dev_act - .4byte bta_hh_open_cmpl_act - -.global bta_hh_st_idle -bta_hh_st_idle: - - .4byte 0x06020C01 - .4byte 0x01020201 - .4byte 0x0C010C01 - .4byte 0x0C010C01 - .4byte 0x0C010C01 - .4byte 0x0A010C01 - -.global bta_hh_st_w4_conn -bta_hh_st_w4_conn: - - .4byte 0x0C020C01 - .4byte 0x01020201 - .4byte 0x0C020C02 - .4byte 0x0C020702 - .4byte 0x0C020C02 - .4byte 0x0A010B03 - -.global bta_hh_st_connected -bta_hh_st_connected: - - .4byte 0x0C030003 - .4byte 0x01030201 - .4byte 0x03030403 - .4byte 0x05030C03 - .4byte 0x08030903 - .4byte 0x0A030C03 - -.global bta_hh_st_tbl -bta_hh_st_tbl: - - .4byte bta_hh_st_idle - .4byte bta_hh_st_w4_conn - .4byte bta_hh_st_connected - .4byte 0 diff --git a/asm/bte/bta_hh_main_8043b110.s b/asm/bte/bta_hh_main_8043b110.s deleted file mode 100644 index aa142b1e..00000000 --- a/asm/bte/bta_hh_main_8043b110.s +++ /dev/null @@ -1,198 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@811_8043B110" -"@811_8043B110": - - .4byte 0x77726F6E - .4byte 0x67206465 - .4byte 0x76696365 - .4byte 0x2068616E - .4byte 0x646C653A - .4byte 0x205B2564 - .4byte 0x5D000000 - .4byte 0x4254415F - .4byte 0x48485F4E - .4byte 0x554C4C5F - .4byte 0x53540000 - .4byte 0x4254415F - .4byte 0x48485F49 - .4byte 0x444C455F - .4byte 0x53540000 - .4byte 0x4254415F - .4byte 0x48485F57 - .4byte 0x345F434F - .4byte 0x4E4E5F53 - .4byte 0x54000000 - .4byte 0x4254415F - .4byte 0x48485F43 - .4byte 0x4F4E4E5F - .4byte 0x53540000 - .4byte 0x756E6B6E - .4byte 0x6F776E20 - .4byte 0x48494420 - .4byte 0x486F7374 - .4byte 0x20737461 - .4byte 0x74650000 - .4byte 0x6274615F - .4byte 0x68685F73 - .4byte 0x6D5F6578 - .4byte 0x65637574 - .4byte 0x653A2053 - .4byte 0x74617465 - .4byte 0x20307825 - .4byte 0x30327820 - .4byte 0x5B25735D - .4byte 0x2C204576 - .4byte 0x656E7420 - .4byte 0x5B25735D - .4byte 0 - .4byte 0x48482053 - .4byte 0x74617465 - .4byte 0x20436861 - .4byte 0x6E67653A - .4byte 0x205B2573 - .4byte 0x5D202D3E - .4byte 0x205B2573 - .4byte 0x5D206166 - .4byte 0x74657220 - .4byte 0x4576656E - .4byte 0x74205B25 - .4byte 0x735D0000 - -.global "@840_8043B1EC" -"@840_8043B1EC": - - .4byte 0x6274615F - .4byte 0x68685F68 - .4byte 0x646C5F65 - .4byte 0x76656E74 - .4byte 0x3A3A2068 - .4byte 0x616E646C - .4byte 0x65203D20 - .4byte 0x25642064 - .4byte 0x65765F63 - .4byte 0x625B2564 - .4byte 0x5D200000 - .4byte 0x4254415F - .4byte 0x48485F41 - .4byte 0x50495F44 - .4byte 0x49534142 - .4byte 0x4C455F45 - .4byte 0x56540000 - .4byte 0x4254415F - .4byte 0x48485F41 - .4byte 0x50495F45 - .4byte 0x4E41424C - .4byte 0x455F4556 - .4byte 0x54000000 - .4byte 0x4254415F - .4byte 0x48485F41 - .4byte 0x50495F4F - .4byte 0x50454E5F - .4byte 0x45565400 - .4byte 0x4254415F - .4byte 0x48485F41 - .4byte 0x50495F43 - .4byte 0x4C4F5345 - .4byte 0x5F455654 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F49 - .4byte 0x4E545F4F - .4byte 0x50454E5F - .4byte 0x45565400 - .4byte 0x4254415F - .4byte 0x48485F49 - .4byte 0x4E545F43 - .4byte 0x4C4F5345 - .4byte 0x5F455654 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F49 - .4byte 0x4E545F48 - .4byte 0x414E4453 - .4byte 0x4B5F4556 - .4byte 0x54000000 - .4byte 0x4254415F - .4byte 0x48485F49 - .4byte 0x4E545F44 - .4byte 0x4154415F - .4byte 0x45565400 - .4byte 0x4254415F - .4byte 0x48485F49 - .4byte 0x4E545F43 - .4byte 0x54524C5F - .4byte 0x44415441 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F41 - .4byte 0x50495F57 - .4byte 0x52495445 - .4byte 0x5F444556 - .4byte 0x5F455654 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F53 - .4byte 0x44505F43 - .4byte 0x4D504C5F - .4byte 0x45565400 - .4byte 0x4254415F - .4byte 0x48485F44 - .4byte 0x4953435F - .4byte 0x434D504C - .4byte 0x5F455654 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F41 - .4byte 0x50495F4D - .4byte 0x41494E54 - .4byte 0x5F444556 - .4byte 0x5F455654 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F41 - .4byte 0x50495F47 - .4byte 0x45545F44 - .4byte 0x5343505F - .4byte 0x45565400 - .4byte 0x4254415F - .4byte 0x48485F4F - .4byte 0x50454E5F - .4byte 0x434D504C - .4byte 0x5F455654 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48485F41 - .4byte 0x50495F47 - .4byte 0x45545F41 - .4byte 0x434C5F51 - .4byte 0x5F455654 - .4byte 0 - .4byte 0x756E6B6E - .4byte 0x6F776E20 - .4byte 0x48494420 - .4byte 0x486F7374 - .4byte 0x20657665 - .4byte 0x6E742063 - .4byte 0x6F646500 - -.global "@877" -"@877": - - .4byte lbl_8007D9C0 - .4byte lbl_8007D9C8 - .4byte lbl_8007D9D0 - .4byte lbl_8007D9D8 - .4byte lbl_8007D9E8 - .4byte lbl_8007D9F0 - .4byte lbl_8007D9E0 - .4byte lbl_8007DA00 - .4byte lbl_8007D9F8 - .4byte lbl_8007DA18 - .4byte lbl_8007DA10 - .4byte lbl_8007DA20 - .4byte lbl_8007D9B8 - .4byte lbl_8007D9B0 - .4byte lbl_8007DA28 - .4byte lbl_8007DA08 diff --git a/asm/bte/bta_hh_main_804f5d28.s b/asm/bte/bta_hh_main_804f5d28.s deleted file mode 100644 index 6cca3360..00000000 --- a/asm/bte/bta_hh_main_804f5d28.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global bta_hh_cb -bta_hh_cb: - .skip 0x230 diff --git a/asm/bte/bta_hh_utils_8007da38.s b/asm/bte/bta_hh_utils.s similarity index 79% rename from asm/bte/bta_hh_utils_8007da38.s rename to asm/bte/bta_hh_utils.s index fa61daa7..5898527e 100644 --- a/asm/bte/bta_hh_utils_8007da38.s +++ b/asm/bte/bta_hh_utils.s @@ -286,3 +286,189 @@ lbl_8007DDC8: /* 8007DDD8 00079C18 7C 08 03 A6 */ mtlr r0 /* 8007DDDC 00079C1C 38 21 00 20 */ addi r1, r1, 0x20 /* 8007DDE0 00079C20 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@865_8043B3F0" +"@865_8043B3F0": + + .4byte 0x666F756E + .4byte 0x64206B64 + .4byte 0x65765F63 + .4byte 0x625B2564 + .4byte 0x5D206869 + .4byte 0x645F6861 + .4byte 0x6E646C65 + .4byte 0x203D2025 + .4byte 0x64200000 + .4byte 0x696E5F75 + .4byte 0x7365203F + .4byte 0x205B2564 + .4byte 0x5D206B64 + .4byte 0x65765B25 + .4byte 0x645D2E68 + .4byte 0x69645F68 + .4byte 0x616E646C + .4byte 0x65203D20 + .4byte 0x25642073 + .4byte 0x74617465 + .4byte 0x203D205B + .4byte 0x25645D00 + .4byte 0x6274615F + .4byte 0x68685F66 + .4byte 0x696E645F + .4byte 0x63623A3A + .4byte 0x20696E64 + .4byte 0x6578203D + .4byte 0x20256420 + .4byte 0x7768696C + .4byte 0x65206D61 + .4byte 0x78203D20 + .4byte 0x25640000 + +.global "@880_8043B474" +"@880_8043B474": + + .4byte 0x73756263 + .4byte 0x6C617373 + .4byte 0x203D2030 + .4byte 0x78253278 + .4byte 0 + .4byte 0x6274615F + .4byte 0x68685F70 + .4byte 0x61727365 + .4byte 0x5F6B6579 + .4byte 0x62645F72 + .4byte 0x70743A20 + .4byte 0x20287265 + .4byte 0x706F7274 + .4byte 0x3D25702C + .4byte 0x20726570 + .4byte 0x6F72745F + .4byte 0x6C656E3D + .4byte 0x25642920 + .4byte 0x63616C6C + .4byte 0x65640000 + .4byte 0 + .4byte 0x416C7420 + .4byte 0x6B657920 + .4byte 0x70726573 + .4byte 0x73656400 + .4byte 0x416C7420 + .4byte 0x6B657920 + .4byte 0x6E6F7420 + .4byte 0x70726573 + .4byte 0x73656400 + .4byte 0x74686973 + .4byte 0x5F636861 + .4byte 0x72203D20 + .4byte 0x25303278 + .4byte 0 + .4byte 0x4254415F + .4byte 0x48685061 + .4byte 0x7273654B + .4byte 0x65796264 + .4byte 0x5270743A + .4byte 0x20204361 + .4byte 0x6E6E6F74 + .4byte 0x20696E74 + .4byte 0x65727072 + .4byte 0x65742073 + .4byte 0x63616E20 + .4byte 0x636F6465 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20307825 + .4byte 0x30327800 + .4byte 0x6274615F + .4byte 0x68685F70 + .4byte 0x61727365 + .4byte 0x5F6D6963 + .4byte 0x655F7270 + .4byte 0x743A2020 + .4byte 0x6274615F + .4byte 0x6B657962 + .4byte 0x645F7270 + .4byte 0x745F7263 + .4byte 0x76642872 + .4byte 0x65706F72 + .4byte 0x743D2570 + .4byte 0x2C202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20207265 + .4byte 0x706F7274 + .4byte 0x5F6C656E + .4byte 0x3D256429 + .4byte 0x2063616C + .4byte 0x6C656400 + .4byte 0x6D696365 + .4byte 0x20627574 + .4byte 0x746F6E3A + .4byte 0x20307825 + .4byte 0x32780000 + .4byte 0x6D696365 + .4byte 0x206D6F76 + .4byte 0x653A2078 + .4byte 0x203D2025 + .4byte 0x64207920 + .4byte 0x3D202564 + .4byte 0 + .4byte 0x6274615F + .4byte 0x68685F74 + .4byte 0x72616365 + .4byte 0x5F646576 + .4byte 0x5F64623A + .4byte 0x3A204465 + .4byte 0x76696365 + .4byte 0x20444220 + .4byte 0x6C697374 + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0 + .4byte 0x6B646576 + .4byte 0x5B25645D + .4byte 0x20696E5F + .4byte 0x7573655B + .4byte 0x25645D20 + .4byte 0x2068616E + .4byte 0x646C655B + .4byte 0x25645D20 + .4byte 0 + .4byte 0x09090920 + .4byte 0x61747472 + .4byte 0x5F6D6173 + .4byte 0x6B5B2530 + .4byte 0x34785D20 + .4byte 0x73746174 + .4byte 0x65205B25 + .4byte 0x645D2073 + .4byte 0x75625F63 + .4byte 0x6C617373 + .4byte 0x5B253032 + .4byte 0x785D2069 + .4byte 0x6E646578 + .4byte 0x203D2025 + .4byte 0x64000000 + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A000000 + .4byte 0 diff --git a/asm/bte/bta_hh_utils_8043b3f0.s b/asm/bte/bta_hh_utils_8043b3f0.s deleted file mode 100644 index 2c149b0d..00000000 --- a/asm/bte/bta_hh_utils_8043b3f0.s +++ /dev/null @@ -1,186 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@865_8043B3F0" -"@865_8043B3F0": - - .4byte 0x666F756E - .4byte 0x64206B64 - .4byte 0x65765F63 - .4byte 0x625B2564 - .4byte 0x5D206869 - .4byte 0x645F6861 - .4byte 0x6E646C65 - .4byte 0x203D2025 - .4byte 0x64200000 - .4byte 0x696E5F75 - .4byte 0x7365203F - .4byte 0x205B2564 - .4byte 0x5D206B64 - .4byte 0x65765B25 - .4byte 0x645D2E68 - .4byte 0x69645F68 - .4byte 0x616E646C - .4byte 0x65203D20 - .4byte 0x25642073 - .4byte 0x74617465 - .4byte 0x203D205B - .4byte 0x25645D00 - .4byte 0x6274615F - .4byte 0x68685F66 - .4byte 0x696E645F - .4byte 0x63623A3A - .4byte 0x20696E64 - .4byte 0x6578203D - .4byte 0x20256420 - .4byte 0x7768696C - .4byte 0x65206D61 - .4byte 0x78203D20 - .4byte 0x25640000 - -.global "@880_8043B474" -"@880_8043B474": - - .4byte 0x73756263 - .4byte 0x6C617373 - .4byte 0x203D2030 - .4byte 0x78253278 - .4byte 0 - .4byte 0x6274615F - .4byte 0x68685F70 - .4byte 0x61727365 - .4byte 0x5F6B6579 - .4byte 0x62645F72 - .4byte 0x70743A20 - .4byte 0x20287265 - .4byte 0x706F7274 - .4byte 0x3D25702C - .4byte 0x20726570 - .4byte 0x6F72745F - .4byte 0x6C656E3D - .4byte 0x25642920 - .4byte 0x63616C6C - .4byte 0x65640000 - .4byte 0 - .4byte 0x416C7420 - .4byte 0x6B657920 - .4byte 0x70726573 - .4byte 0x73656400 - .4byte 0x416C7420 - .4byte 0x6B657920 - .4byte 0x6E6F7420 - .4byte 0x70726573 - .4byte 0x73656400 - .4byte 0x74686973 - .4byte 0x5F636861 - .4byte 0x72203D20 - .4byte 0x25303278 - .4byte 0 - .4byte 0x4254415F - .4byte 0x48685061 - .4byte 0x7273654B - .4byte 0x65796264 - .4byte 0x5270743A - .4byte 0x20204361 - .4byte 0x6E6E6F74 - .4byte 0x20696E74 - .4byte 0x65727072 - .4byte 0x65742073 - .4byte 0x63616E20 - .4byte 0x636F6465 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20307825 - .4byte 0x30327800 - .4byte 0x6274615F - .4byte 0x68685F70 - .4byte 0x61727365 - .4byte 0x5F6D6963 - .4byte 0x655F7270 - .4byte 0x743A2020 - .4byte 0x6274615F - .4byte 0x6B657962 - .4byte 0x645F7270 - .4byte 0x745F7263 - .4byte 0x76642872 - .4byte 0x65706F72 - .4byte 0x743D2570 - .4byte 0x2C202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20207265 - .4byte 0x706F7274 - .4byte 0x5F6C656E - .4byte 0x3D256429 - .4byte 0x2063616C - .4byte 0x6C656400 - .4byte 0x6D696365 - .4byte 0x20627574 - .4byte 0x746F6E3A - .4byte 0x20307825 - .4byte 0x32780000 - .4byte 0x6D696365 - .4byte 0x206D6F76 - .4byte 0x653A2078 - .4byte 0x203D2025 - .4byte 0x64207920 - .4byte 0x3D202564 - .4byte 0 - .4byte 0x6274615F - .4byte 0x68685F74 - .4byte 0x72616365 - .4byte 0x5F646576 - .4byte 0x5F64623A - .4byte 0x3A204465 - .4byte 0x76696365 - .4byte 0x20444220 - .4byte 0x6C697374 - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0 - .4byte 0x6B646576 - .4byte 0x5B25645D - .4byte 0x20696E5F - .4byte 0x7573655B - .4byte 0x25645D20 - .4byte 0x2068616E - .4byte 0x646C655B - .4byte 0x25645D20 - .4byte 0 - .4byte 0x09090920 - .4byte 0x61747472 - .4byte 0x5F6D6173 - .4byte 0x6B5B2530 - .4byte 0x34785D20 - .4byte 0x73746174 - .4byte 0x65205B25 - .4byte 0x645D2073 - .4byte 0x75625F63 - .4byte 0x6C617373 - .4byte 0x5B253032 - .4byte 0x785D2069 - .4byte 0x6E646578 - .4byte 0x203D2025 - .4byte 0x64000000 - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A000000 - .4byte 0 diff --git a/asm/bte/bta_sys_cfg_805568d8.s b/asm/bte/bta_sys_cfg.s similarity index 50% rename from asm/bte/bta_sys_cfg_805568d8.s rename to asm/bte/bta_sys_cfg.s index 9608f6a5..45ef36b6 100644 --- a/asm/bte/bta_sys_cfg_805568d8.s +++ b/asm/bte/bta_sys_cfg.s @@ -6,3 +6,11 @@ p_bta_sys_cfg: .4byte bta_sys_cfg .4byte 0 +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global bta_sys_cfg +bta_sys_cfg: + + .4byte 0x00040201 + .4byte 0 diff --git a/asm/bte/bta_sys_cfg_8055e918.s b/asm/bte/bta_sys_cfg_8055e918.s deleted file mode 100644 index 88161b79..00000000 --- a/asm/bte/bta_sys_cfg_8055e918.s +++ /dev/null @@ -1,8 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global bta_sys_cfg -bta_sys_cfg: - - .4byte 0x00040201 - .4byte 0 diff --git a/asm/bte/bta_sys_conn_80078008.s b/asm/bte/bta_sys_conn.s similarity index 100% rename from asm/bte/bta_sys_conn_80078008.s rename to asm/bte/bta_sys_conn.s diff --git a/asm/bte/bta_sys_main_8007825c.s b/asm/bte/bta_sys_main.s similarity index 92% rename from asm/bte/bta_sys_main_8007825c.s rename to asm/bte/bta_sys_main.s index 95ae239a..9e425675 100644 --- a/asm/bte/bta_sys_main_8007825c.s +++ b/asm/bte/bta_sys_main.s @@ -180,3 +180,39 @@ lbl_80078470: bta_sys_set_trace_level: /* 80078498 000742D8 98 6D EA F0 */ stb r3, appl_trace_level@sda21(r13) /* 8007849C 000742DC 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@587_8043AA20" +"@587_8043AA20": + + .4byte 0x42544120 + .4byte 0x676F7420 + .4byte 0x6576656E + .4byte 0x74203078 + .4byte 0x25780000 + +.global "@588_8043AA34" +"@588_8043AA34": + + .4byte 0x42544120 + .4byte 0x676F7420 + .4byte 0x756E7265 + .4byte 0x67697374 + .4byte 0x65726564 + .4byte 0x20657665 + .4byte 0x6E742069 + .4byte 0x64202564 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global bta_sys_cb +bta_sys_cb: + .skip 0x90 +.include "macros.inc" + +.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 +.global appl_trace_level +appl_trace_level: + .skip 0x8 diff --git a/asm/bte/bta_sys_main_8043aa20.s b/asm/bte/bta_sys_main_8043aa20.s deleted file mode 100644 index 24e8d8f1..00000000 --- a/asm/bte/bta_sys_main_8043aa20.s +++ /dev/null @@ -1,24 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@587_8043AA20" -"@587_8043AA20": - - .4byte 0x42544120 - .4byte 0x676F7420 - .4byte 0x6576656E - .4byte 0x74203078 - .4byte 0x25780000 - -.global "@588_8043AA34" -"@588_8043AA34": - - .4byte 0x42544120 - .4byte 0x676F7420 - .4byte 0x756E7265 - .4byte 0x67697374 - .4byte 0x65726564 - .4byte 0x20657665 - .4byte 0x6E742069 - .4byte 0x64202564 - .4byte 0 diff --git a/asm/bte/bta_sys_main_804f5ab8.s b/asm/bte/bta_sys_main_804f5ab8.s deleted file mode 100644 index 1c058b4a..00000000 --- a/asm/bte/bta_sys_main_804f5ab8.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global bta_sys_cb -bta_sys_cb: - .skip 0x90 diff --git a/asm/bte/bta_sys_main_8055cf10.s b/asm/bte/bta_sys_main_8055cf10.s deleted file mode 100644 index fee04b17..00000000 --- a/asm/bte/bta_sys_main_8055cf10.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 -.global appl_trace_level -appl_trace_level: - .skip 0x8 diff --git a/asm/bte/bte_hcisu_800777a0.s b/asm/bte/bte_hcisu.s similarity index 94% rename from asm/bte/bte_hcisu_800777a0.s rename to asm/bte/bte_hcisu.s index 2f8fd641..c6734760 100644 --- a/asm/bte/bte_hcisu_800777a0.s +++ b/asm/bte/bte_hcisu.s @@ -67,3 +67,13 @@ bta_ci_hci_msg_handler: /* 80077864 000736A4 38 60 00 02 */ li r3, 0x2 /* 80077868 000736A8 38 80 00 00 */ li r4, 0x0 /* 8007786C 000736AC 4B FF D8 64 */ b GKI_send_msg +.include "macros.inc" + +.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 +.global p_hcisu_if +p_hcisu_if: + .skip 0x4 + +.global p_hcisu_cfg +p_hcisu_cfg: + .skip 0x4 diff --git a/asm/bte/bte_hcisu_8055cef8.s b/asm/bte/bte_hcisu_8055cef8.s deleted file mode 100644 index b9661c11..00000000 --- a/asm/bte/bte_hcisu_8055cef8.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 -.global p_hcisu_if -p_hcisu_if: - .skip 0x4 - -.global p_hcisu_cfg -p_hcisu_cfg: - .skip 0x4 diff --git a/asm/bte/bte_init_80077870.s b/asm/bte/bte_init.s similarity index 100% rename from asm/bte/bte_init_80077870.s rename to asm/bte/bte_init.s diff --git a/asm/bte/bte_logmsg_800778a0.s b/asm/bte/bte_logmsg.s similarity index 91% rename from asm/bte/bte_logmsg_800778a0.s rename to asm/bte/bte_logmsg.s index 2e27cf78..7087b75e 100644 --- a/asm/bte/bte_logmsg_800778a0.s +++ b/asm/bte/bte_logmsg.s @@ -63,3 +63,17 @@ LogMsg_0: /* 80077974 000737B4 4E 80 00 20 */ blr /* 80077978 000737B8 00 00 00 00 */ .4byte 0x00000000 /* 8007797C 000737BC 00 00 00 00 */ .4byte 0x00000000 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global "@LOCAL@LogMsg__FUlPCce@tmp" +"@LOCAL@LogMsg__FUlPCce@tmp": + .skip 0x7E0 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global "@2252" +"@2252": + + .4byte 0x25730A00 + .4byte 0 diff --git a/asm/bte/bte_logmsg_804f4220.s b/asm/bte/bte_logmsg_804f4220.s deleted file mode 100644 index 6924c887..00000000 --- a/asm/bte/bte_logmsg_804f4220.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global "@LOCAL@LogMsg__FUlPCce@tmp" -"@LOCAL@LogMsg__FUlPCce@tmp": - .skip 0x7E0 diff --git a/asm/bte/bte_logmsg_805568e0.s b/asm/bte/bte_logmsg_805568e0.s deleted file mode 100644 index 8a8a5f64..00000000 --- a/asm/bte/bte_logmsg_805568e0.s +++ /dev/null @@ -1,8 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global "@2252" -"@2252": - - .4byte 0x25730A00 - .4byte 0 diff --git a/asm/bte/bte_main_80077980.s b/asm/bte/bte_main.s similarity index 90% rename from asm/bte/bte_main_80077980.s rename to asm/bte/bte_main.s index 40b6266d..53d0a79f 100644 --- a/asm/bte/bte_main_80077980.s +++ b/asm/bte/bte_main.s @@ -111,3 +111,31 @@ lbl_80077AE0: /* 80077AE4 00073924 7D 89 03 A6 */ mtctr r12 /* 80077AE8 00073928 4E 80 04 20 */ bctr /* 80077AEC 0007392C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global __BTUInterruptHandlerStack +__BTUInterruptHandlerStack: + .skip 0x1000 + +.global _bte_alarm +_bte_alarm: + .skip 0x30 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global bte_hcisu_h2_cfg +bte_hcisu_h2_cfg: + + .4byte 0x0A5C2101 + .4byte 0 +.include "macros.inc" + +.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 +.global bte_target_mode +bte_target_mode: + .skip 0x4 + +.global _bte_app_info +_bte_app_info: + .skip 0x4 diff --git a/asm/bte/bte_main_804f4a00.s b/asm/bte/bte_main_804f4a00.s deleted file mode 100644 index 18fc3932..00000000 --- a/asm/bte/bte_main_804f4a00.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global __BTUInterruptHandlerStack -__BTUInterruptHandlerStack: - .skip 0x1000 - -.global _bte_alarm -_bte_alarm: - .skip 0x30 diff --git a/asm/bte/bte_main_805568e8.s b/asm/bte/bte_main_805568e8.s deleted file mode 100644 index f98ea4ec..00000000 --- a/asm/bte/bte_main_805568e8.s +++ /dev/null @@ -1,8 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global bte_hcisu_h2_cfg -bte_hcisu_h2_cfg: - - .4byte 0x0A5C2101 - .4byte 0 diff --git a/asm/bte/bte_main_8055cf00.s b/asm/bte/bte_main_8055cf00.s deleted file mode 100644 index 0a8afca4..00000000 --- a/asm/bte/bte_main_8055cf00.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 -.global bte_target_mode -bte_target_mode: - .skip 0x4 - -.global _bte_app_info -_bte_app_info: - .skip 0x4 diff --git a/asm/bte/btm_acl_8007dde4.s b/asm/bte/btm_acl.s similarity index 95% rename from asm/bte/btm_acl_8007dde4.s rename to asm/bte/btm_acl.s index a3e9f056..bb7942ae 100644 --- a/asm/bte/btm_acl_8007dde4.s +++ b/asm/bte/btm_acl.s @@ -2322,3 +2322,309 @@ lbl_8007FB10: /* 8007FB1C 0007B95C 7C 08 03 A6 */ mtlr r0 /* 8007FB20 0007B960 38 21 00 40 */ addi r1, r1, 0x40 /* 8007FB24 0007B964 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@2591_8043B6B0" +"@2591_8043B6B0": + + .4byte 0x4475706C + .4byte 0x69636174 + .4byte 0x65206274 + .4byte 0x6D5F6163 + .4byte 0x6C5F6372 + .4byte 0x65617465 + .4byte 0x643A2052 + .4byte 0x656D4264 + .4byte 0x41646472 + .4byte 0x3A202530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32780000 + +.global "@2592_8043B6F0" +"@2592_8043B6F0": + + .4byte 0x53657450 + .4byte 0x61636B65 + .4byte 0x74547970 + .4byte 0x65204D61 + .4byte 0x736B202D + .4byte 0x3E203078 + .4byte 0x25303478 + .4byte 0 + +.global "@2642" +"@2642": + + .4byte 0x526F6C65 + .4byte 0x20636861 + .4byte 0x6E676520 + .4byte 0x72657175 + .4byte 0x65737420 + .4byte 0x6465636C + .4byte 0x696E6564 + .4byte 0x2073696E + .4byte 0x63652074 + .4byte 0x68652070 + .4byte 0x72657669 + .4byte 0x6F757320 + .4byte 0x72657175 + .4byte 0x65737420 + .4byte 0x666F7220 + .4byte 0x74686973 + .4byte 0x20646576 + .4byte 0x69636520 + .4byte 0x6973206E + .4byte 0x6F742063 + .4byte 0x6F6D706C + .4byte 0x65746564 + .4byte 0x20000000 + .4byte 0x42544D5F + .4byte 0x5365744C + .4byte 0x696E6B50 + .4byte 0x6F6C6963 + .4byte 0x79207377 + .4byte 0x69746368 + .4byte 0x206E6F74 + .4byte 0x20737570 + .4byte 0x706F7274 + .4byte 0x65642028 + .4byte 0x73657474 + .4byte 0x696E6773 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0x29000000 + .4byte 0x42544D5F + .4byte 0x5365744C + .4byte 0x696E6B50 + .4byte 0x6F6C6963 + .4byte 0x7920686F + .4byte 0x6C64206E + .4byte 0x6F742073 + .4byte 0x7570706F + .4byte 0x72746564 + .4byte 0x20287365 + .4byte 0x7474696E + .4byte 0x67733A20 + .4byte 0x30782530 + .4byte 0x34782900 + .4byte 0x42544D5F + .4byte 0x5365744C + .4byte 0x696E6B50 + .4byte 0x6F6C6963 + .4byte 0x7920736E + .4byte 0x69666620 + .4byte 0x6E6F7420 + .4byte 0x73757070 + .4byte 0x6F727465 + .4byte 0x64202873 + .4byte 0x65747469 + .4byte 0x6E67733A + .4byte 0x20307825 + .4byte 0x30347829 + .4byte 0 + .4byte 0 + .4byte 0x42544D5F + .4byte 0x5365744C + .4byte 0x696E6B50 + .4byte 0x6F6C6963 + .4byte 0x79207061 + .4byte 0x726B206E + .4byte 0x6F742073 + .4byte 0x7570706F + .4byte 0x72746564 + .4byte 0x20287365 + .4byte 0x7474696E + .4byte 0x67733A20 + .4byte 0x30782530 + .4byte 0x34782900 + .4byte 0x42544D5F + .4byte 0x52656164 + .4byte 0x4C696E6B + .4byte 0x506F6C69 + .4byte 0x63793A20 + .4byte 0x52656D42 + .4byte 0x64416464 + .4byte 0x723A2025 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327800 + +.global "@2800" +"@2800": + + .4byte 0x42544D5F + .4byte 0x52656164 + .4byte 0x436C6F63 + .4byte 0x6B4F6666 + .4byte 0x7365743A + .4byte 0x2052656D + .4byte 0x42644164 + .4byte 0x64723A20 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0 + +.global "@2857" +"@2857": + + .4byte 0x526F6C65 + .4byte 0x20537769 + .4byte 0x74636820 + .4byte 0x4576656E + .4byte 0x743A206E + .4byte 0x65775F72 + .4byte 0x6F6C6520 + .4byte 0x30782530 + .4byte 0x32782C20 + .4byte 0x48434920 + .4byte 0x53746174 + .4byte 0x75732030 + .4byte 0x78253032 + .4byte 0x78000000 + .4byte 0x42544D5F + .4byte 0x53657451 + .4byte 0x6F533A20 + .4byte 0x42644164 + .4byte 0x64723A20 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0 + +.global "@2946" +"@2946": + + .4byte 0x42544D3A + .4byte 0x20705F66 + .4byte 0x6C6F772D + .4byte 0x3E64656C + .4byte 0x61795F76 + .4byte 0x61726961 + .4byte 0x74696F6E + .4byte 0x3A203078 + .4byte 0x25303278 + .4byte 0 + +.global "@2957_8043B95C" +"@2957_8043B95C": + + .4byte 0x42544D5F + .4byte 0x52656164 + .4byte 0x52535349 + .4byte 0x3A205265 + .4byte 0x6D426441 + .4byte 0x6464723A + .4byte 0x20253032 + .4byte 0x78253032 + .4byte 0x78253032 + .4byte 0x78253032 + .4byte 0x78253032 + .4byte 0x78253032 + .4byte 0x78000000 + +.global "@2969" +"@2969": + + .4byte 0x42544D5F + .4byte 0x52656164 + .4byte 0x4C696E6B + .4byte 0x5175616C + .4byte 0x6974793A + .4byte 0x2052656D + .4byte 0x42644164 + .4byte 0x64723A20 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0 + +.global "@2982_8043B9CC" +"@2982_8043B9CC": + + .4byte 0x42544D20 + .4byte 0x52535349 + .4byte 0x20436F6D + .4byte 0x706C6574 + .4byte 0x653A2072 + .4byte 0x73736920 + .4byte 0x25642C20 + .4byte 0x68636920 + .4byte 0x73746174 + .4byte 0x75732030 + .4byte 0x78253032 + .4byte 0x78000000 + +.global "@2994_8043B9FC" +"@2994_8043B9FC": + + .4byte 0x42544D20 + .4byte 0x4C696E6B + .4byte 0x20517561 + .4byte 0x6C697479 + .4byte 0x20436F6D + .4byte 0x706C6574 + .4byte 0x653A204C + .4byte 0x696E6B20 + .4byte 0x5175616C + .4byte 0x69747920 + .4byte 0x25642C20 + .4byte 0x68636920 + .4byte 0x73746174 + .4byte 0x75732030 + .4byte 0x78253032 + .4byte 0x78000000 + .4byte 0x62746D20 + .4byte 0x4245464F + .4byte 0x52452053 + .4byte 0x434F2073 + .4byte 0x65747469 + .4byte 0x6E672074 + .4byte 0x6F203120 + .4byte 0x736C6F74 + .4byte 0x3B206863 + .4byte 0x69206864 + .4byte 0x6C203078 + .4byte 0x25780000 + .4byte 0x62746D20 + .4byte 0x6C617374 + .4byte 0x2053434F + .4byte 0x2072656D + .4byte 0x6F766564 + .4byte 0x3B20756E + .4byte 0x736E6966 + .4byte 0x66696E67 + .4byte 0x20686369 + .4byte 0x2068646C + .4byte 0x20307825 + .4byte 0x78000000 + .4byte 0x62746D20 + .4byte 0x6C617374 + .4byte 0x2053434F + .4byte 0x2072656D + .4byte 0x6F766564 + .4byte 0x3B206863 + .4byte 0x69206864 + .4byte 0x6C203078 + .4byte 0x25782C20 + .4byte 0x74797065 + .4byte 0x73203078 + .4byte 0x25303278 + .4byte 0 diff --git a/asm/bte/btm_acl_8043b6b0.s b/asm/bte/btm_acl_8043b6b0.s deleted file mode 100644 index a45e29f5..00000000 --- a/asm/bte/btm_acl_8043b6b0.s +++ /dev/null @@ -1,306 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@2591_8043B6B0" -"@2591_8043B6B0": - - .4byte 0x4475706C - .4byte 0x69636174 - .4byte 0x65206274 - .4byte 0x6D5F6163 - .4byte 0x6C5F6372 - .4byte 0x65617465 - .4byte 0x643A2052 - .4byte 0x656D4264 - .4byte 0x41646472 - .4byte 0x3A202530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32780000 - -.global "@2592_8043B6F0" -"@2592_8043B6F0": - - .4byte 0x53657450 - .4byte 0x61636B65 - .4byte 0x74547970 - .4byte 0x65204D61 - .4byte 0x736B202D - .4byte 0x3E203078 - .4byte 0x25303478 - .4byte 0 - -.global "@2642" -"@2642": - - .4byte 0x526F6C65 - .4byte 0x20636861 - .4byte 0x6E676520 - .4byte 0x72657175 - .4byte 0x65737420 - .4byte 0x6465636C - .4byte 0x696E6564 - .4byte 0x2073696E - .4byte 0x63652074 - .4byte 0x68652070 - .4byte 0x72657669 - .4byte 0x6F757320 - .4byte 0x72657175 - .4byte 0x65737420 - .4byte 0x666F7220 - .4byte 0x74686973 - .4byte 0x20646576 - .4byte 0x69636520 - .4byte 0x6973206E - .4byte 0x6F742063 - .4byte 0x6F6D706C - .4byte 0x65746564 - .4byte 0x20000000 - .4byte 0x42544D5F - .4byte 0x5365744C - .4byte 0x696E6B50 - .4byte 0x6F6C6963 - .4byte 0x79207377 - .4byte 0x69746368 - .4byte 0x206E6F74 - .4byte 0x20737570 - .4byte 0x706F7274 - .4byte 0x65642028 - .4byte 0x73657474 - .4byte 0x696E6773 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0x29000000 - .4byte 0x42544D5F - .4byte 0x5365744C - .4byte 0x696E6B50 - .4byte 0x6F6C6963 - .4byte 0x7920686F - .4byte 0x6C64206E - .4byte 0x6F742073 - .4byte 0x7570706F - .4byte 0x72746564 - .4byte 0x20287365 - .4byte 0x7474696E - .4byte 0x67733A20 - .4byte 0x30782530 - .4byte 0x34782900 - .4byte 0x42544D5F - .4byte 0x5365744C - .4byte 0x696E6B50 - .4byte 0x6F6C6963 - .4byte 0x7920736E - .4byte 0x69666620 - .4byte 0x6E6F7420 - .4byte 0x73757070 - .4byte 0x6F727465 - .4byte 0x64202873 - .4byte 0x65747469 - .4byte 0x6E67733A - .4byte 0x20307825 - .4byte 0x30347829 - .4byte 0 - .4byte 0 - .4byte 0x42544D5F - .4byte 0x5365744C - .4byte 0x696E6B50 - .4byte 0x6F6C6963 - .4byte 0x79207061 - .4byte 0x726B206E - .4byte 0x6F742073 - .4byte 0x7570706F - .4byte 0x72746564 - .4byte 0x20287365 - .4byte 0x7474696E - .4byte 0x67733A20 - .4byte 0x30782530 - .4byte 0x34782900 - .4byte 0x42544D5F - .4byte 0x52656164 - .4byte 0x4C696E6B - .4byte 0x506F6C69 - .4byte 0x63793A20 - .4byte 0x52656D42 - .4byte 0x64416464 - .4byte 0x723A2025 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327800 - -.global "@2800" -"@2800": - - .4byte 0x42544D5F - .4byte 0x52656164 - .4byte 0x436C6F63 - .4byte 0x6B4F6666 - .4byte 0x7365743A - .4byte 0x2052656D - .4byte 0x42644164 - .4byte 0x64723A20 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0 - -.global "@2857" -"@2857": - - .4byte 0x526F6C65 - .4byte 0x20537769 - .4byte 0x74636820 - .4byte 0x4576656E - .4byte 0x743A206E - .4byte 0x65775F72 - .4byte 0x6F6C6520 - .4byte 0x30782530 - .4byte 0x32782C20 - .4byte 0x48434920 - .4byte 0x53746174 - .4byte 0x75732030 - .4byte 0x78253032 - .4byte 0x78000000 - .4byte 0x42544D5F - .4byte 0x53657451 - .4byte 0x6F533A20 - .4byte 0x42644164 - .4byte 0x64723A20 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0 - -.global "@2946" -"@2946": - - .4byte 0x42544D3A - .4byte 0x20705F66 - .4byte 0x6C6F772D - .4byte 0x3E64656C - .4byte 0x61795F76 - .4byte 0x61726961 - .4byte 0x74696F6E - .4byte 0x3A203078 - .4byte 0x25303278 - .4byte 0 - -.global "@2957_8043B95C" -"@2957_8043B95C": - - .4byte 0x42544D5F - .4byte 0x52656164 - .4byte 0x52535349 - .4byte 0x3A205265 - .4byte 0x6D426441 - .4byte 0x6464723A - .4byte 0x20253032 - .4byte 0x78253032 - .4byte 0x78253032 - .4byte 0x78253032 - .4byte 0x78253032 - .4byte 0x78253032 - .4byte 0x78000000 - -.global "@2969" -"@2969": - - .4byte 0x42544D5F - .4byte 0x52656164 - .4byte 0x4C696E6B - .4byte 0x5175616C - .4byte 0x6974793A - .4byte 0x2052656D - .4byte 0x42644164 - .4byte 0x64723A20 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0 - -.global "@2982_8043B9CC" -"@2982_8043B9CC": - - .4byte 0x42544D20 - .4byte 0x52535349 - .4byte 0x20436F6D - .4byte 0x706C6574 - .4byte 0x653A2072 - .4byte 0x73736920 - .4byte 0x25642C20 - .4byte 0x68636920 - .4byte 0x73746174 - .4byte 0x75732030 - .4byte 0x78253032 - .4byte 0x78000000 - -.global "@2994_8043B9FC" -"@2994_8043B9FC": - - .4byte 0x42544D20 - .4byte 0x4C696E6B - .4byte 0x20517561 - .4byte 0x6C697479 - .4byte 0x20436F6D - .4byte 0x706C6574 - .4byte 0x653A204C - .4byte 0x696E6B20 - .4byte 0x5175616C - .4byte 0x69747920 - .4byte 0x25642C20 - .4byte 0x68636920 - .4byte 0x73746174 - .4byte 0x75732030 - .4byte 0x78253032 - .4byte 0x78000000 - .4byte 0x62746D20 - .4byte 0x4245464F - .4byte 0x52452053 - .4byte 0x434F2073 - .4byte 0x65747469 - .4byte 0x6E672074 - .4byte 0x6F203120 - .4byte 0x736C6F74 - .4byte 0x3B206863 - .4byte 0x69206864 - .4byte 0x6C203078 - .4byte 0x25780000 - .4byte 0x62746D20 - .4byte 0x6C617374 - .4byte 0x2053434F - .4byte 0x2072656D - .4byte 0x6F766564 - .4byte 0x3B20756E - .4byte 0x736E6966 - .4byte 0x66696E67 - .4byte 0x20686369 - .4byte 0x2068646C - .4byte 0x20307825 - .4byte 0x78000000 - .4byte 0x62746D20 - .4byte 0x6C617374 - .4byte 0x2053434F - .4byte 0x2072656D - .4byte 0x6F766564 - .4byte 0x3B206863 - .4byte 0x69206864 - .4byte 0x6C203078 - .4byte 0x25782C20 - .4byte 0x74797065 - .4byte 0x73203078 - .4byte 0x25303278 - .4byte 0 diff --git a/asm/bte/btm_dev_8007fb28.s b/asm/bte/btm_dev.s similarity index 100% rename from asm/bte/btm_dev_8007fb28.s rename to asm/bte/btm_dev.s diff --git a/asm/bte/btm_devctl_800801f4.s b/asm/bte/btm_devctl.s similarity index 96% rename from asm/bte/btm_devctl_800801f4.s rename to asm/bte/btm_devctl.s index 59daa62c..755dd3bc 100644 --- a/asm/bte/btm_devctl_800801f4.s +++ b/asm/bte/btm_devctl.s @@ -1947,3 +1947,213 @@ btm_report_device_status: /* 80081B70 0007D9B0 7D 89 03 A6 */ mtctr r12 /* 80081B74 0007D9B4 4E 80 04 20 */ bctr /* 80081B78 0007D9B8 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@2107_8043BAD0" +"@2107_8043BAD0": + + .4byte 0x42544D5F + .4byte 0x53657441 + .4byte 0x66684368 + .4byte 0x616E6E65 + .4byte 0x6C732066 + .4byte 0x69727374 + .4byte 0x3A202564 + .4byte 0x20282564 + .4byte 0x29206C61 + .4byte 0x73743A20 + .4byte 0x25642028 + .4byte 0x25642900 + +.global "@2174" +"@2174": + + .4byte 0x62746D5F + .4byte 0x72657365 + .4byte 0x745F636F + .4byte 0x6D706C65 + .4byte 0x74650000 + .4byte 0x4C6F6361 + .4byte 0x6C207375 + .4byte 0x70706F72 + .4byte 0x74656420 + .4byte 0x41434C20 + .4byte 0x7061636B + .4byte 0x65742074 + .4byte 0x79706573 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0 + .4byte 0x4C6F6361 + .4byte 0x6C207375 + .4byte 0x70706F72 + .4byte 0x74656420 + .4byte 0x53434F20 + .4byte 0x7061636B + .4byte 0x65742074 + .4byte 0x79706573 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0 + +.global "@2316" +"@2316": + + .4byte 0x42544D3A + .4byte 0x2042544D + .4byte 0x5F56656E + .4byte 0x646F7253 + .4byte 0x70656369 + .4byte 0x66696343 + .4byte 0x6F6D6D61 + .4byte 0x6E643A20 + .4byte 0x4F70636F + .4byte 0x64653A20 + .4byte 0x30782530 + .4byte 0x34582C20 + .4byte 0x50617261 + .4byte 0x6D4C656E + .4byte 0x3A202569 + .4byte 0x2E000000 + +.global "@2317" +"@2317": + + .4byte 0x42544D3A + .4byte 0x20556E61 + .4byte 0x626C6520 + .4byte 0x746F2073 + .4byte 0x656E6420 + .4byte 0x76656E64 + .4byte 0x6F722073 + .4byte 0x70656369 + .4byte 0x66696320 + .4byte 0x636F6D6D + .4byte 0x616E6420 + .4byte 0x28636F6E + .4byte 0x74726F6C + .4byte 0x6C657220 + .4byte 0x69732062 + .4byte 0x75737929 + .4byte 0x2E000000 + +.global "@2332" +"@2332": + + .4byte 0x42544D20 + .4byte 0x4576656E + .4byte 0x743A2052 + .4byte 0x65636569 + .4byte 0x76656420 + .4byte 0x61207665 + .4byte 0x6E646F72 + .4byte 0x20737065 + .4byte 0x63696669 + .4byte 0x63206576 + .4byte 0x656E7420 + .4byte 0x66726F6D + .4byte 0x20636F6E + .4byte 0x74726F6C + .4byte 0x6C657200 + .4byte 0 + +.global "@2337" +"@2337": + + .4byte 0x42544D3A + .4byte 0x2042544D + .4byte 0x5F577269 + .4byte 0x74655061 + .4byte 0x67655469 + .4byte 0x6D656F75 + .4byte 0x743A2054 + .4byte 0x696D656F + .4byte 0x75743A20 + .4byte 0x25642E00 + .4byte 0x42544D3A + .4byte 0x2042544D + .4byte 0x5F577269 + .4byte 0x7465566F + .4byte 0x69636553 + .4byte 0x65747469 + .4byte 0x6E67733A + .4byte 0x20536574 + .4byte 0x74696E67 + .4byte 0x733A2030 + .4byte 0x78253034 + .4byte 0x782E0000 + .4byte 0x42544D3A + .4byte 0x2042544D + .4byte 0x5F456E61 + .4byte 0x626C6554 + .4byte 0x6573744D + .4byte 0x6F646500 + +.global "@2362" +"@2362": + + .4byte 0x42544D3A + .4byte 0x2042544D + .4byte 0x5F526561 + .4byte 0x6453746F + .4byte 0x7265644C + .4byte 0x696E6B4B + .4byte 0x65793A20 + .4byte 0x52656164 + .4byte 0x5F416C6C + .4byte 0x3A202573 + .4byte 0 + +.global "@2372" +"@2372": + + .4byte 0x42544D3A + .4byte 0x2042544D + .4byte 0x5F577269 + .4byte 0x74655374 + .4byte 0x6F726564 + .4byte 0x4C696E6B + .4byte 0x4B65793A + .4byte 0x206E756D + .4byte 0x5F6B6579 + .4byte 0x733A2025 + .4byte 0x64000000 + +.global "@2385" +"@2385": + + .4byte 0x42544D3A + .4byte 0x2042544D + .4byte 0x5F44656C + .4byte 0x65746553 + .4byte 0x746F7265 + .4byte 0x644C696E + .4byte 0x6B4B6579 + .4byte 0x3A206465 + .4byte 0x6C657465 + .4byte 0x5F616C6C + .4byte 0x5F666C61 + .4byte 0x673A2025 + .4byte 0x73000000 + .4byte 0 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global "@2067_80556900" +"@2067_80556900": + + .4byte 0x001F0000 + +.global "@2363" +"@2363": + + .4byte 0x54525545 + .4byte 0 + +.global "@2364" +"@2364": + + .4byte 0x46414C53 + .4byte 0x45000000 + .4byte 0 diff --git a/asm/bte/btm_devctl_8043bad0.s b/asm/bte/btm_devctl_8043bad0.s deleted file mode 100644 index ebdc2f47..00000000 --- a/asm/bte/btm_devctl_8043bad0.s +++ /dev/null @@ -1,190 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@2107_8043BAD0" -"@2107_8043BAD0": - - .4byte 0x42544D5F - .4byte 0x53657441 - .4byte 0x66684368 - .4byte 0x616E6E65 - .4byte 0x6C732066 - .4byte 0x69727374 - .4byte 0x3A202564 - .4byte 0x20282564 - .4byte 0x29206C61 - .4byte 0x73743A20 - .4byte 0x25642028 - .4byte 0x25642900 - -.global "@2174" -"@2174": - - .4byte 0x62746D5F - .4byte 0x72657365 - .4byte 0x745F636F - .4byte 0x6D706C65 - .4byte 0x74650000 - .4byte 0x4C6F6361 - .4byte 0x6C207375 - .4byte 0x70706F72 - .4byte 0x74656420 - .4byte 0x41434C20 - .4byte 0x7061636B - .4byte 0x65742074 - .4byte 0x79706573 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0 - .4byte 0x4C6F6361 - .4byte 0x6C207375 - .4byte 0x70706F72 - .4byte 0x74656420 - .4byte 0x53434F20 - .4byte 0x7061636B - .4byte 0x65742074 - .4byte 0x79706573 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0 - -.global "@2316" -"@2316": - - .4byte 0x42544D3A - .4byte 0x2042544D - .4byte 0x5F56656E - .4byte 0x646F7253 - .4byte 0x70656369 - .4byte 0x66696343 - .4byte 0x6F6D6D61 - .4byte 0x6E643A20 - .4byte 0x4F70636F - .4byte 0x64653A20 - .4byte 0x30782530 - .4byte 0x34582C20 - .4byte 0x50617261 - .4byte 0x6D4C656E - .4byte 0x3A202569 - .4byte 0x2E000000 - -.global "@2317" -"@2317": - - .4byte 0x42544D3A - .4byte 0x20556E61 - .4byte 0x626C6520 - .4byte 0x746F2073 - .4byte 0x656E6420 - .4byte 0x76656E64 - .4byte 0x6F722073 - .4byte 0x70656369 - .4byte 0x66696320 - .4byte 0x636F6D6D - .4byte 0x616E6420 - .4byte 0x28636F6E - .4byte 0x74726F6C - .4byte 0x6C657220 - .4byte 0x69732062 - .4byte 0x75737929 - .4byte 0x2E000000 - -.global "@2332" -"@2332": - - .4byte 0x42544D20 - .4byte 0x4576656E - .4byte 0x743A2052 - .4byte 0x65636569 - .4byte 0x76656420 - .4byte 0x61207665 - .4byte 0x6E646F72 - .4byte 0x20737065 - .4byte 0x63696669 - .4byte 0x63206576 - .4byte 0x656E7420 - .4byte 0x66726F6D - .4byte 0x20636F6E - .4byte 0x74726F6C - .4byte 0x6C657200 - .4byte 0 - -.global "@2337" -"@2337": - - .4byte 0x42544D3A - .4byte 0x2042544D - .4byte 0x5F577269 - .4byte 0x74655061 - .4byte 0x67655469 - .4byte 0x6D656F75 - .4byte 0x743A2054 - .4byte 0x696D656F - .4byte 0x75743A20 - .4byte 0x25642E00 - .4byte 0x42544D3A - .4byte 0x2042544D - .4byte 0x5F577269 - .4byte 0x7465566F - .4byte 0x69636553 - .4byte 0x65747469 - .4byte 0x6E67733A - .4byte 0x20536574 - .4byte 0x74696E67 - .4byte 0x733A2030 - .4byte 0x78253034 - .4byte 0x782E0000 - .4byte 0x42544D3A - .4byte 0x2042544D - .4byte 0x5F456E61 - .4byte 0x626C6554 - .4byte 0x6573744D - .4byte 0x6F646500 - -.global "@2362" -"@2362": - - .4byte 0x42544D3A - .4byte 0x2042544D - .4byte 0x5F526561 - .4byte 0x6453746F - .4byte 0x7265644C - .4byte 0x696E6B4B - .4byte 0x65793A20 - .4byte 0x52656164 - .4byte 0x5F416C6C - .4byte 0x3A202573 - .4byte 0 - -.global "@2372" -"@2372": - - .4byte 0x42544D3A - .4byte 0x2042544D - .4byte 0x5F577269 - .4byte 0x74655374 - .4byte 0x6F726564 - .4byte 0x4C696E6B - .4byte 0x4B65793A - .4byte 0x206E756D - .4byte 0x5F6B6579 - .4byte 0x733A2025 - .4byte 0x64000000 - -.global "@2385" -"@2385": - - .4byte 0x42544D3A - .4byte 0x2042544D - .4byte 0x5F44656C - .4byte 0x65746553 - .4byte 0x746F7265 - .4byte 0x644C696E - .4byte 0x6B4B6579 - .4byte 0x3A206465 - .4byte 0x6C657465 - .4byte 0x5F616C6C - .4byte 0x5F666C61 - .4byte 0x673A2025 - .4byte 0x73000000 - .4byte 0 diff --git a/asm/bte/btm_devctl_80556900.s b/asm/bte/btm_devctl_80556900.s deleted file mode 100644 index c500e1c9..00000000 --- a/asm/bte/btm_devctl_80556900.s +++ /dev/null @@ -1,20 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global "@2067_80556900" -"@2067_80556900": - - .4byte 0x001F0000 - -.global "@2363" -"@2363": - - .4byte 0x54525545 - .4byte 0 - -.global "@2364" -"@2364": - - .4byte 0x46414C53 - .4byte 0x45000000 - .4byte 0 diff --git a/asm/bte/btm_discovery_80081b7c.s b/asm/bte/btm_discovery.s similarity index 100% rename from asm/bte/btm_discovery_80081b7c.s rename to asm/bte/btm_discovery.s diff --git a/asm/bte/btm_inq_80081cac.s b/asm/bte/btm_inq.s similarity index 96% rename from asm/bte/btm_inq_80081cac.s rename to asm/bte/btm_inq.s index 65be83f5..f78ab9a2 100644 --- a/asm/bte/btm_inq_80081cac.s +++ b/asm/bte/btm_inq.s @@ -2120,3 +2120,185 @@ btm_inq_rmt_name_failed: /* 80083734 0007F574 7C 08 03 A6 */ mtlr r0 /* 80083738 0007F578 38 21 00 10 */ addi r1, r1, 0x10 /* 8008373C 0007F57C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@2304" +"@2304": + + .4byte 0x42544D5F + .4byte 0x53657444 + .4byte 0x6973636F + .4byte 0x76657261 + .4byte 0x62696C69 + .4byte 0x74793A20 + .4byte 0x6D6F6465 + .4byte 0x20256420 + .4byte 0x5B4E6F6E + .4byte 0x44697363 + .4byte 0x2D302C20 + .4byte 0x4C696D2D + .4byte 0x312C2047 + .4byte 0x656E2D32 + .4byte 0x5D2C2077 + .4byte 0x696E646F + .4byte 0x77203078 + .4byte 0x25303478 + .4byte 0x2C20696E + .4byte 0x74657276 + .4byte 0x616C2030 + .4byte 0x78253034 + .4byte 0x78000000 + +.global "@2377" +"@2377": + + .4byte 0x42544D5F + .4byte 0x53657443 + .4byte 0x6F6E6E65 + .4byte 0x63746162 + .4byte 0x696C6974 + .4byte 0x793A206D + .4byte 0x6F646520 + .4byte 0x2564205B + .4byte 0x4E6F6E43 + .4byte 0x6F6E6E2D + .4byte 0x302C2043 + .4byte 0x6F6E6E2D + .4byte 0x315D2C20 + .4byte 0x77696E64 + .4byte 0x6F772030 + .4byte 0x78253034 + .4byte 0x782C2069 + .4byte 0x6E746572 + .4byte 0x76616C20 + .4byte 0x30782530 + .4byte 0x34780000 + +.global "@2396" +"@2396": + + .4byte 0x42544D5F + .4byte 0x43616E63 + .4byte 0x656C496E + .4byte 0x71756972 + .4byte 0x79206361 + .4byte 0x6C6C6564 + .4byte 0 + +.global "@2415" +"@2415": + + .4byte 0x42544D5F + .4byte 0x53746172 + .4byte 0x74496E71 + .4byte 0x75697279 + .4byte 0x3A206D6F + .4byte 0x64653A20 + .4byte 0x25642C20 + .4byte 0x6475723A + .4byte 0x2025642C + .4byte 0x20727370 + .4byte 0x733A2025 + .4byte 0x642C2066 + .4byte 0x6C743A20 + .4byte 0x25640000 + +.global "@2426" +"@2426": + + .4byte 0x42544D5F + .4byte 0x52656164 + .4byte 0x52656D6F + .4byte 0x74654465 + .4byte 0x76696365 + .4byte 0x4E616D65 + .4byte 0x3A206264 + .4byte 0x20616464 + .4byte 0x72205B25 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x3032785D + .4byte 0 + +.global "@2433" +"@2433": + + .4byte 0x42544D5F + .4byte 0x43616E63 + .4byte 0x656C5265 + .4byte 0x6D6F7465 + .4byte 0x44657669 + .4byte 0x63654E61 + .4byte 0x6D652829 + .4byte 0 + +.global "@2457_8043BE94" +"@2457_8043BE94": + + .4byte 0x42544D5F + .4byte 0x496E7144 + .4byte 0x62526561 + .4byte 0x643A2062 + .4byte 0x64206164 + .4byte 0x6472205B + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x25303278 + .4byte 0x5D000000 + +.global "@2602_8043BEC8" +"@2602_8043BEC8": + + .4byte 0x42544D20 + .4byte 0x5761726E + .4byte 0x696E673A + .4byte 0x20536574 + .4byte 0x20457665 + .4byte 0x6E742046 + .4byte 0x696C7465 + .4byte 0x72204661 + .4byte 0x696C6564 + .4byte 0x20284843 + .4byte 0x49207265 + .4byte 0x7475726E + .4byte 0x65642030 + .4byte 0x78257829 + .4byte 0 + +.global "@2672_8043BF04" +"@2672_8043BF04": + + .4byte 0x42544D20 + .4byte 0x496E7120 + .4byte 0x436F6D70 + .4byte 0x6C204361 + .4byte 0x6C6C6261 + .4byte 0x636B3A20 + .4byte 0x73746174 + .4byte 0x75732030 + .4byte 0x78253032 + .4byte 0x782C206E + .4byte 0x756D2072 + .4byte 0x6573756C + .4byte 0x74732025 + .4byte 0x64000000 + .4byte 0 +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global general_inq_lap +general_inq_lap: + + .4byte 0x9E8B3300 + +.global limited_inq_lap +limited_inq_lap: + + .4byte 0x9E8B0000 diff --git a/asm/bte/btm_inq_8043bd30.s b/asm/bte/btm_inq_8043bd30.s deleted file mode 100644 index 6b9130c8..00000000 --- a/asm/bte/btm_inq_8043bd30.s +++ /dev/null @@ -1,170 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@2304" -"@2304": - - .4byte 0x42544D5F - .4byte 0x53657444 - .4byte 0x6973636F - .4byte 0x76657261 - .4byte 0x62696C69 - .4byte 0x74793A20 - .4byte 0x6D6F6465 - .4byte 0x20256420 - .4byte 0x5B4E6F6E - .4byte 0x44697363 - .4byte 0x2D302C20 - .4byte 0x4C696D2D - .4byte 0x312C2047 - .4byte 0x656E2D32 - .4byte 0x5D2C2077 - .4byte 0x696E646F - .4byte 0x77203078 - .4byte 0x25303478 - .4byte 0x2C20696E - .4byte 0x74657276 - .4byte 0x616C2030 - .4byte 0x78253034 - .4byte 0x78000000 - -.global "@2377" -"@2377": - - .4byte 0x42544D5F - .4byte 0x53657443 - .4byte 0x6F6E6E65 - .4byte 0x63746162 - .4byte 0x696C6974 - .4byte 0x793A206D - .4byte 0x6F646520 - .4byte 0x2564205B - .4byte 0x4E6F6E43 - .4byte 0x6F6E6E2D - .4byte 0x302C2043 - .4byte 0x6F6E6E2D - .4byte 0x315D2C20 - .4byte 0x77696E64 - .4byte 0x6F772030 - .4byte 0x78253034 - .4byte 0x782C2069 - .4byte 0x6E746572 - .4byte 0x76616C20 - .4byte 0x30782530 - .4byte 0x34780000 - -.global "@2396" -"@2396": - - .4byte 0x42544D5F - .4byte 0x43616E63 - .4byte 0x656C496E - .4byte 0x71756972 - .4byte 0x79206361 - .4byte 0x6C6C6564 - .4byte 0 - -.global "@2415" -"@2415": - - .4byte 0x42544D5F - .4byte 0x53746172 - .4byte 0x74496E71 - .4byte 0x75697279 - .4byte 0x3A206D6F - .4byte 0x64653A20 - .4byte 0x25642C20 - .4byte 0x6475723A - .4byte 0x2025642C - .4byte 0x20727370 - .4byte 0x733A2025 - .4byte 0x642C2066 - .4byte 0x6C743A20 - .4byte 0x25640000 - -.global "@2426" -"@2426": - - .4byte 0x42544D5F - .4byte 0x52656164 - .4byte 0x52656D6F - .4byte 0x74654465 - .4byte 0x76696365 - .4byte 0x4E616D65 - .4byte 0x3A206264 - .4byte 0x20616464 - .4byte 0x72205B25 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x3032785D - .4byte 0 - -.global "@2433" -"@2433": - - .4byte 0x42544D5F - .4byte 0x43616E63 - .4byte 0x656C5265 - .4byte 0x6D6F7465 - .4byte 0x44657669 - .4byte 0x63654E61 - .4byte 0x6D652829 - .4byte 0 - -.global "@2457_8043BE94" -"@2457_8043BE94": - - .4byte 0x42544D5F - .4byte 0x496E7144 - .4byte 0x62526561 - .4byte 0x643A2062 - .4byte 0x64206164 - .4byte 0x6472205B - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x25303278 - .4byte 0x5D000000 - -.global "@2602_8043BEC8" -"@2602_8043BEC8": - - .4byte 0x42544D20 - .4byte 0x5761726E - .4byte 0x696E673A - .4byte 0x20536574 - .4byte 0x20457665 - .4byte 0x6E742046 - .4byte 0x696C7465 - .4byte 0x72204661 - .4byte 0x696C6564 - .4byte 0x20284843 - .4byte 0x49207265 - .4byte 0x7475726E - .4byte 0x65642030 - .4byte 0x78257829 - .4byte 0 - -.global "@2672_8043BF04" -"@2672_8043BF04": - - .4byte 0x42544D20 - .4byte 0x496E7120 - .4byte 0x436F6D70 - .4byte 0x6C204361 - .4byte 0x6C6C6261 - .4byte 0x636B3A20 - .4byte 0x73746174 - .4byte 0x75732030 - .4byte 0x78253032 - .4byte 0x782C206E - .4byte 0x756D2072 - .4byte 0x6573756C - .4byte 0x74732025 - .4byte 0x64000000 - .4byte 0 diff --git a/asm/bte/btm_inq_8055e940.s b/asm/bte/btm_inq_8055e940.s deleted file mode 100644 index acb17731..00000000 --- a/asm/bte/btm_inq_8055e940.s +++ /dev/null @@ -1,12 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global general_inq_lap -general_inq_lap: - - .4byte 0x9E8B3300 - -.global limited_inq_lap -limited_inq_lap: - - .4byte 0x9E8B0000 diff --git a/asm/bte/btm_main_80083740.s b/asm/bte/btm_main.s similarity index 91% rename from asm/bte/btm_main_80083740.s rename to asm/bte/btm_main.s index 54db40f3..a4f843f4 100644 --- a/asm/bte/btm_main_80083740.s +++ b/asm/bte/btm_main.s @@ -26,3 +26,9 @@ btm_init: /* 80083790 0007F5D0 7C 08 03 A6 */ mtlr r0 /* 80083794 0007F5D4 38 21 00 10 */ addi r1, r1, 0x10 /* 80083798 0007F5D8 4E 80 00 20 */ blr +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global btm_cb +btm_cb: + .skip 0x27C8 diff --git a/asm/bte/btm_main_804f5f58.s b/asm/bte/btm_main_804f5f58.s deleted file mode 100644 index 15a1eebc..00000000 --- a/asm/bte/btm_main_804f5f58.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global btm_cb -btm_cb: - .skip 0x27C8 diff --git a/asm/bte/btm_pm_8008379c.s b/asm/bte/btm_pm.s similarity index 98% rename from asm/bte/btm_pm_8008379c.s rename to asm/bte/btm_pm.s index 748a958b..990df9d3 100644 --- a/asm/bte/btm_pm_8008379c.s +++ b/asm/bte/btm_pm.s @@ -990,3 +990,47 @@ lbl_80084418: /* 80084424 00080264 7C 08 03 A6 */ mtlr r0 /* 80084428 00080268 38 21 00 30 */ addi r1, r1, 0x30 /* 8008442C 0008026C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global btm_pm_md_comp_matrix +btm_pm_md_comp_matrix: + + .4byte 0x03020201 + .4byte 0x03010102 + .4byte 0x03000000 + .4byte 0 +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1775" +"@1775": + + .4byte 0x62746D20 + .4byte 0x6D6F6465 + .4byte 0x20636861 + .4byte 0x6E676520 + .4byte 0x41465445 + .4byte 0x5220756E + .4byte 0x736E6966 + .4byte 0x66696E67 + .4byte 0x3B206863 + .4byte 0x69206864 + .4byte 0x6C203078 + .4byte 0x25782C20 + .4byte 0x74797065 + .4byte 0x73203078 + .4byte 0x25303278 + .4byte 0 +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global btm_pm_mode_off +btm_pm_mode_off: + + .4byte 0x00000100 + +.global btm_pm_mode_msk +btm_pm_mode_msk: + + .4byte 0x40800100 diff --git a/asm/bte/btm_pm_804080f8.s b/asm/bte/btm_pm_804080f8.s deleted file mode 100644 index 0111542a..00000000 --- a/asm/bte/btm_pm_804080f8.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global btm_pm_md_comp_matrix -btm_pm_md_comp_matrix: - - .4byte 0x03020201 - .4byte 0x03010102 - .4byte 0x03000000 - .4byte 0 diff --git a/asm/bte/btm_pm_8043bf40.s b/asm/bte/btm_pm_8043bf40.s deleted file mode 100644 index d7c7927a..00000000 --- a/asm/bte/btm_pm_8043bf40.s +++ /dev/null @@ -1,22 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1775" -"@1775": - - .4byte 0x62746D20 - .4byte 0x6D6F6465 - .4byte 0x20636861 - .4byte 0x6E676520 - .4byte 0x41465445 - .4byte 0x5220756E - .4byte 0x736E6966 - .4byte 0x66696E67 - .4byte 0x3B206863 - .4byte 0x69206864 - .4byte 0x6C203078 - .4byte 0x25782C20 - .4byte 0x74797065 - .4byte 0x73203078 - .4byte 0x25303278 - .4byte 0 diff --git a/asm/bte/btm_pm_8055e948.s b/asm/bte/btm_pm_8055e948.s deleted file mode 100644 index 69b89255..00000000 --- a/asm/bte/btm_pm_8055e948.s +++ /dev/null @@ -1,12 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global btm_pm_mode_off -btm_pm_mode_off: - - .4byte 0x00000100 - -.global btm_pm_mode_msk -btm_pm_mode_msk: - - .4byte 0x40800100 diff --git a/asm/bte/btm_sco_80084430.s b/asm/bte/btm_sco.s similarity index 92% rename from asm/bte/btm_sco_80084430.s rename to asm/bte/btm_sco.s index b1607cc6..ef0cb92f 100644 --- a/asm/bte/btm_sco_80084430.s +++ b/asm/bte/btm_sco.s @@ -1111,3 +1111,227 @@ lbl_8008524C: /* 8008525C 0008109C 7C 08 03 A6 */ mtlr r0 /* 80085260 000810A0 38 21 00 20 */ addi r1, r1, 0x20 /* 80085264 000810A4 4E 80 00 20 */ blr +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global btm_esco_defaults +btm_esco_defaults: + + .4byte 0x00001F40 + .4byte 0x00001F40 + .4byte 0x000A0060 + .4byte 0x003F0100 +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1903" +"@1903": + + .4byte 0x62746D5F + .4byte 0x6573636F + .4byte 0x5F636F6E + .4byte 0x6E5F7273 + .4byte 0x70202D3E + .4byte 0x204E6F20 + .4byte 0x5265736F + .4byte 0x75726365 + .4byte 0x73000000 + .4byte 0x54435320 + .4byte 0x61636365 + .4byte 0x70742053 + .4byte 0x434F3A20 + .4byte 0x5061636B + .4byte 0x65742054 + .4byte 0x79706573 + .4byte 0x20307825 + .4byte 0x30347800 + .4byte 0x42544D5F + .4byte 0x43726561 + .4byte 0x74655363 + .4byte 0x6F202D3E + .4byte 0x20286529 + .4byte 0x53434F20 + .4byte 0x4C696E6B + .4byte 0x20666F72 + .4byte 0x2041434C + .4byte 0x2068616E + .4byte 0x646C6520 + .4byte 0x30782530 + .4byte 0x34782C20 + .4byte 0x44657369 + .4byte 0x72656420 + .4byte 0x54797065 + .4byte 0x20256400 + +.global "@1974" +"@1974": + + .4byte 0x20202020 + .4byte 0x20207478 + .4byte 0x62772030 + .4byte 0x7825782C + .4byte 0x20727862 + .4byte 0x77203078 + .4byte 0x25782C20 + .4byte 0x6C617420 + .4byte 0x30782578 + .4byte 0x2C20766F + .4byte 0x69636520 + .4byte 0x30782578 + .4byte 0x2C207265 + .4byte 0x7472616E + .4byte 0x73203078 + .4byte 0x25303278 + .4byte 0x2C20706B + .4byte 0x74203078 + .4byte 0x25303478 + .4byte 0 + +.global "@1995" +"@1995": + + .4byte 0x62746D5F + .4byte 0x73636F5F + .4byte 0x63686B5F + .4byte 0x70656E64 + .4byte 0x5F756E70 + .4byte 0x61726B20 + .4byte 0x2D3E2028 + .4byte 0x65295343 + .4byte 0x4F204C69 + .4byte 0x6E6B2066 + .4byte 0x6F722041 + .4byte 0x434C2068 + .4byte 0x616E646C + .4byte 0x65203078 + .4byte 0x25303478 + .4byte 0x2C204465 + .4byte 0x73697265 + .4byte 0x64205479 + .4byte 0x70652025 + .4byte 0x64000000 + +.global "@2023" +"@2023": + + .4byte 0x62746D5F + .4byte 0x73636F5F + .4byte 0x636F6E6E + .4byte 0x5F726571 + .4byte 0x3A204E6F + .4byte 0x206F6E65 + .4byte 0x2077616E + .4byte 0x74732074 + .4byte 0x68697320 + .4byte 0x53434F20 + .4byte 0x636F6E6E + .4byte 0x65637469 + .4byte 0x6F6E3B20 + .4byte 0x72656A65 + .4byte 0x6374696E + .4byte 0x67206974 + .4byte 0 + .4byte 0x42544D5F + .4byte 0x53657445 + .4byte 0x53636F4D + .4byte 0x6F646520 + .4byte 0x2D3E206D + .4byte 0x6F646520 + .4byte 0x25640000 + .4byte 0x42544D5F + .4byte 0x53657445 + .4byte 0x53636F4D + .4byte 0x6F646520 + .4byte 0x2D3E206D + .4byte 0x6F646520 + .4byte 0x53434F20 + .4byte 0x28655343 + .4byte 0x4F206E6F + .4byte 0x74207375 + .4byte 0x70706F72 + .4byte 0x74656429 + .4byte 0 + .4byte 0x20202020 + .4byte 0x74786277 + .4byte 0x20307825 + .4byte 0x3038782C + .4byte 0x20727862 + .4byte 0x77203078 + .4byte 0x25303878 + .4byte 0x2C206D61 + .4byte 0x785F6C61 + .4byte 0x74203078 + .4byte 0x25303478 + .4byte 0x2C20766F + .4byte 0x69636520 + .4byte 0x30782530 + .4byte 0x34782C20 + .4byte 0x706B7420 + .4byte 0x30782530 + .4byte 0x34782C20 + .4byte 0x72747820 + .4byte 0x6566666F + .4byte 0x72742030 + .4byte 0x78253032 + .4byte 0x78000000 + .4byte 0 + .4byte 0x42544D5F + .4byte 0x52656164 + .4byte 0x4553636F + .4byte 0x4C696E6B + .4byte 0x5061726D + .4byte 0x73202D3E + .4byte 0x2073636F + .4byte 0x5F696E78 + .4byte 0x20307825 + .4byte 0x30347800 + .4byte 0x42544D5F + .4byte 0x4368616E + .4byte 0x67654553 + .4byte 0x636F4C69 + .4byte 0x6E6B5061 + .4byte 0x726D7320 + .4byte 0x2D3E2053 + .4byte 0x434F204C + .4byte 0x696E6B20 + .4byte 0x666F7220 + .4byte 0x68616E64 + .4byte 0x6C652030 + .4byte 0x78253034 + .4byte 0x782C2070 + .4byte 0x6B742030 + .4byte 0x78253034 + .4byte 0x78000000 + .4byte 0x42544D5F + .4byte 0x4368616E + .4byte 0x67654553 + .4byte 0x636F4C69 + .4byte 0x6E6B5061 + .4byte 0x726D7320 + .4byte 0x2D3E2065 + .4byte 0x53434F20 + .4byte 0x4C696E6B + .4byte 0x20666F72 + .4byte 0x2068616E + .4byte 0x646C6520 + .4byte 0x30782530 + .4byte 0x34780000 + +.global "@2157" +"@2157": + + .4byte 0x62746D5F + .4byte 0x6573636F + .4byte 0x5F70726F + .4byte 0x635F636F + .4byte 0x6E6E5F63 + .4byte 0x6867202D + .4byte 0x3E206861 + .4byte 0x6E646C65 + .4byte 0x20307825 + .4byte 0x3034782C + .4byte 0x20737461 + .4byte 0x74757320 + .4byte 0x30782530 + .4byte 0x32780000 + .4byte 0 diff --git a/asm/bte/btm_sco_80408108.s b/asm/bte/btm_sco_80408108.s deleted file mode 100644 index c60ec23f..00000000 --- a/asm/bte/btm_sco_80408108.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global btm_esco_defaults -btm_esco_defaults: - - .4byte 0x00001F40 - .4byte 0x00001F40 - .4byte 0x000A0060 - .4byte 0x003F0100 diff --git a/asm/bte/btm_sco_8043bf80.s b/asm/bte/btm_sco_8043bf80.s deleted file mode 100644 index c0759acd..00000000 --- a/asm/bte/btm_sco_8043bf80.s +++ /dev/null @@ -1,214 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1903" -"@1903": - - .4byte 0x62746D5F - .4byte 0x6573636F - .4byte 0x5F636F6E - .4byte 0x6E5F7273 - .4byte 0x70202D3E - .4byte 0x204E6F20 - .4byte 0x5265736F - .4byte 0x75726365 - .4byte 0x73000000 - .4byte 0x54435320 - .4byte 0x61636365 - .4byte 0x70742053 - .4byte 0x434F3A20 - .4byte 0x5061636B - .4byte 0x65742054 - .4byte 0x79706573 - .4byte 0x20307825 - .4byte 0x30347800 - .4byte 0x42544D5F - .4byte 0x43726561 - .4byte 0x74655363 - .4byte 0x6F202D3E - .4byte 0x20286529 - .4byte 0x53434F20 - .4byte 0x4C696E6B - .4byte 0x20666F72 - .4byte 0x2041434C - .4byte 0x2068616E - .4byte 0x646C6520 - .4byte 0x30782530 - .4byte 0x34782C20 - .4byte 0x44657369 - .4byte 0x72656420 - .4byte 0x54797065 - .4byte 0x20256400 - -.global "@1974" -"@1974": - - .4byte 0x20202020 - .4byte 0x20207478 - .4byte 0x62772030 - .4byte 0x7825782C - .4byte 0x20727862 - .4byte 0x77203078 - .4byte 0x25782C20 - .4byte 0x6C617420 - .4byte 0x30782578 - .4byte 0x2C20766F - .4byte 0x69636520 - .4byte 0x30782578 - .4byte 0x2C207265 - .4byte 0x7472616E - .4byte 0x73203078 - .4byte 0x25303278 - .4byte 0x2C20706B - .4byte 0x74203078 - .4byte 0x25303478 - .4byte 0 - -.global "@1995" -"@1995": - - .4byte 0x62746D5F - .4byte 0x73636F5F - .4byte 0x63686B5F - .4byte 0x70656E64 - .4byte 0x5F756E70 - .4byte 0x61726B20 - .4byte 0x2D3E2028 - .4byte 0x65295343 - .4byte 0x4F204C69 - .4byte 0x6E6B2066 - .4byte 0x6F722041 - .4byte 0x434C2068 - .4byte 0x616E646C - .4byte 0x65203078 - .4byte 0x25303478 - .4byte 0x2C204465 - .4byte 0x73697265 - .4byte 0x64205479 - .4byte 0x70652025 - .4byte 0x64000000 - -.global "@2023" -"@2023": - - .4byte 0x62746D5F - .4byte 0x73636F5F - .4byte 0x636F6E6E - .4byte 0x5F726571 - .4byte 0x3A204E6F - .4byte 0x206F6E65 - .4byte 0x2077616E - .4byte 0x74732074 - .4byte 0x68697320 - .4byte 0x53434F20 - .4byte 0x636F6E6E - .4byte 0x65637469 - .4byte 0x6F6E3B20 - .4byte 0x72656A65 - .4byte 0x6374696E - .4byte 0x67206974 - .4byte 0 - .4byte 0x42544D5F - .4byte 0x53657445 - .4byte 0x53636F4D - .4byte 0x6F646520 - .4byte 0x2D3E206D - .4byte 0x6F646520 - .4byte 0x25640000 - .4byte 0x42544D5F - .4byte 0x53657445 - .4byte 0x53636F4D - .4byte 0x6F646520 - .4byte 0x2D3E206D - .4byte 0x6F646520 - .4byte 0x53434F20 - .4byte 0x28655343 - .4byte 0x4F206E6F - .4byte 0x74207375 - .4byte 0x70706F72 - .4byte 0x74656429 - .4byte 0 - .4byte 0x20202020 - .4byte 0x74786277 - .4byte 0x20307825 - .4byte 0x3038782C - .4byte 0x20727862 - .4byte 0x77203078 - .4byte 0x25303878 - .4byte 0x2C206D61 - .4byte 0x785F6C61 - .4byte 0x74203078 - .4byte 0x25303478 - .4byte 0x2C20766F - .4byte 0x69636520 - .4byte 0x30782530 - .4byte 0x34782C20 - .4byte 0x706B7420 - .4byte 0x30782530 - .4byte 0x34782C20 - .4byte 0x72747820 - .4byte 0x6566666F - .4byte 0x72742030 - .4byte 0x78253032 - .4byte 0x78000000 - .4byte 0 - .4byte 0x42544D5F - .4byte 0x52656164 - .4byte 0x4553636F - .4byte 0x4C696E6B - .4byte 0x5061726D - .4byte 0x73202D3E - .4byte 0x2073636F - .4byte 0x5F696E78 - .4byte 0x20307825 - .4byte 0x30347800 - .4byte 0x42544D5F - .4byte 0x4368616E - .4byte 0x67654553 - .4byte 0x636F4C69 - .4byte 0x6E6B5061 - .4byte 0x726D7320 - .4byte 0x2D3E2053 - .4byte 0x434F204C - .4byte 0x696E6B20 - .4byte 0x666F7220 - .4byte 0x68616E64 - .4byte 0x6C652030 - .4byte 0x78253034 - .4byte 0x782C2070 - .4byte 0x6B742030 - .4byte 0x78253034 - .4byte 0x78000000 - .4byte 0x42544D5F - .4byte 0x4368616E - .4byte 0x67654553 - .4byte 0x636F4C69 - .4byte 0x6E6B5061 - .4byte 0x726D7320 - .4byte 0x2D3E2065 - .4byte 0x53434F20 - .4byte 0x4C696E6B - .4byte 0x20666F72 - .4byte 0x2068616E - .4byte 0x646C6520 - .4byte 0x30782530 - .4byte 0x34780000 - -.global "@2157" -"@2157": - - .4byte 0x62746D5F - .4byte 0x6573636F - .4byte 0x5F70726F - .4byte 0x635F636F - .4byte 0x6E6E5F63 - .4byte 0x6867202D - .4byte 0x3E206861 - .4byte 0x6E646C65 - .4byte 0x20307825 - .4byte 0x3034782C - .4byte 0x20737461 - .4byte 0x74757320 - .4byte 0x30782530 - .4byte 0x32780000 - .4byte 0 diff --git a/asm/bte/btm_sec_80085268.s b/asm/bte/btm_sec.s similarity index 92% rename from asm/bte/btm_sec_80085268.s rename to asm/bte/btm_sec.s index 54895e27..338ce6e7 100644 --- a/asm/bte/btm_sec_80085268.s +++ b/asm/bte/btm_sec.s @@ -3662,3 +3662,749 @@ lbl_8008821C: /* 80088220 00084060 7C 08 03 A6 */ mtlr r0 /* 80088224 00084064 38 21 00 10 */ addi r1, r1, 0x10 /* 80088228 00084068 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@2854" +"@2854": + + .4byte 0x42544D5F + .4byte 0x5365633A + .4byte 0x20617070 + .4byte 0x6C696361 + .4byte 0x74696F6E + .4byte 0x20726567 + .4byte 0x69737465 + .4byte 0x72656400 + .4byte 0x42544D5F + .4byte 0x53657453 + .4byte 0x65637572 + .4byte 0x6974794D + .4byte 0x6F64653A + .4byte 0x206D6F64 + .4byte 0x653A2564 + .4byte 0 + .4byte 0x42544D5F + .4byte 0x53657453 + .4byte 0x65637572 + .4byte 0x6974794D + .4byte 0x6F64653A + .4byte 0x20417574 + .4byte 0x68656E20 + .4byte 0x456E6162 + .4byte 0x6C65202D + .4byte 0x3E204641 + .4byte 0x4C534500 + .4byte 0x42544D5F + .4byte 0x53657453 + .4byte 0x65637572 + .4byte 0x6974794D + .4byte 0x6F64653A + .4byte 0x20417574 + .4byte 0x68656E20 + .4byte 0x456E6162 + .4byte 0x6C65202D + .4byte 0x3E205452 + .4byte 0x55450000 + +.global "@2900" +"@2900": + + .4byte 0x42544D5F + .4byte 0x53657450 + .4byte 0x696E5479 + .4byte 0x70653A20 + .4byte 0x70696E20 + .4byte 0x74797065 + .4byte 0x20256420 + .4byte 0x5B766172 + .4byte 0x6961626C + .4byte 0x652D302C + .4byte 0x20666978 + .4byte 0x65642D31 + .4byte 0x5D2C2063 + .4byte 0x6F646520 + .4byte 0x25732C20 + .4byte 0x6C656E67 + .4byte 0x74682025 + .4byte 0x64000000 + .4byte 0x42544D5F + .4byte 0x5345435F + .4byte 0x5245475B + .4byte 0x25645D3A + .4byte 0x20696420 + .4byte 0x25642C20 + .4byte 0x69735F6F + .4byte 0x72696720 + .4byte 0x25642C20 + .4byte 0x70736D20 + .4byte 0x30782530 + .4byte 0x34782C20 + .4byte 0x70726F74 + .4byte 0x6F5F6964 + .4byte 0x2025642C + .4byte 0x20636861 + .4byte 0x6E5F6964 + .4byte 0x20256400 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x2020203A + .4byte 0x20736563 + .4byte 0x3A203078 + .4byte 0x25782C20 + .4byte 0x73657276 + .4byte 0x69636520 + .4byte 0x6E616D65 + .4byte 0x205B2573 + .4byte 0x5D202875 + .4byte 0x7020746F + .4byte 0x20256420 + .4byte 0x63686172 + .4byte 0x73207361 + .4byte 0x76656429 + .4byte 0 + .4byte 0x42544D5F + .4byte 0x5345435F + .4byte 0x5245473A + .4byte 0x204F7574 + .4byte 0x206F6620 + .4byte 0x53657276 + .4byte 0x69636520 + .4byte 0x5265636F + .4byte 0x72647320 + .4byte 0x28256429 + .4byte 0 + .4byte 0 + +.global "@2972_8043C420" +"@2972_8043C420": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A204174 + .4byte 0x74656D70 + .4byte 0x74696E67 + .4byte 0x20417574 + .4byte 0x686F7269 + .4byte 0x7A617469 + .4byte 0x6F6E206F + .4byte 0x6620556E + .4byte 0x6B6E6F77 + .4byte 0x6E204465 + .4byte 0x76696365 + .4byte 0x20416464 + .4byte 0x72657373 + .4byte 0x205B2530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32785D00 + +.global "@2973_8043C480" +"@2973_8043C480": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206175 + .4byte 0x74686F72 + .4byte 0x697A6564 + .4byte 0x20737461 + .4byte 0x7475733A + .4byte 0x25642053 + .4byte 0x74617465 + .4byte 0x3A256400 + .4byte 0x42544D5F + .4byte 0x53656342 + .4byte 0x6F6E6420 + .4byte 0x4244413A + .4byte 0x20253032 + .4byte 0x783A2530 + .4byte 0x32783A25 + .4byte 0x3032783A + .4byte 0x25303278 + .4byte 0x3A253032 + .4byte 0x783A2530 + .4byte 0x32780000 + .4byte 0x42544D5F + .4byte 0x53656342 + .4byte 0x6F6E643A + .4byte 0x20496C6C + .4byte 0x6567616C + .4byte 0x2050696E + .4byte 0x206C656E + .4byte 0x3A256400 + .4byte 0x42544D5F + .4byte 0x53656342 + .4byte 0x6F6E643A + .4byte 0x206E6F20 + .4byte 0x64657669 + .4byte 0x63652062 + .4byte 0x6C6F636B + .4byte 0 + .4byte 0x42544D5F + .4byte 0x53656342 + .4byte 0x6F6E6420 + .4byte 0x2D3E2041 + .4byte 0x6C726561 + .4byte 0x64792050 + .4byte 0x61697265 + .4byte 0x64000000 + .4byte 0x42544D5F + .4byte 0x53656342 + .4byte 0x6F6E643A + .4byte 0x20417574 + .4byte 0x68656E20 + .4byte 0x456E6162 + .4byte 0x6C65202D + .4byte 0x3E205452 + .4byte 0x55450000 + .4byte 0x42544D5F + .4byte 0x53656342 + .4byte 0x6F6E643A + .4byte 0x206E6F20 + .4byte 0x62756666 + .4byte 0x65720000 + +.global "@3016_8043C57C" +"@3016_8043C57C": + + .4byte 0x62746D5F + .4byte 0x72657374 + .4byte 0x6F72655F + .4byte 0x6D6F6465 + .4byte 0x3A204175 + .4byte 0x7468656E + .4byte 0x20456E61 + .4byte 0x626C6520 + .4byte 0x2D3E2025 + .4byte 0x64000000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A204254 + .4byte 0x4D5F5365 + .4byte 0x74456E63 + .4byte 0x72797074 + .4byte 0x696F6E20 + .4byte 0x6E6F7420 + .4byte 0x636F6E6E + .4byte 0x65637465 + .4byte 0x64000000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A204254 + .4byte 0x4D5F5365 + .4byte 0x74456E63 + .4byte 0x72797074 + .4byte 0x696F6E20 + .4byte 0x616C7265 + .4byte 0x61647920 + .4byte 0x656E6372 + .4byte 0x79707465 + .4byte 0x64000000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A204254 + .4byte 0x4D5F5365 + .4byte 0x74456E63 + .4byte 0x72797074 + .4byte 0x696F6E20 + .4byte 0x62757379 + .4byte 0 + .4byte 0 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A204254 + .4byte 0x4D5F5365 + .4byte 0x74456E63 + .4byte 0x72797074 + .4byte 0x696F6E20 + .4byte 0x48616E64 + .4byte 0x6C653A25 + .4byte 0x64205374 + .4byte 0x6174653A + .4byte 0x25642046 + .4byte 0x6C616773 + .4byte 0x3A307825 + .4byte 0x78205265 + .4byte 0x71756972 + .4byte 0x65643A30 + .4byte 0x78257800 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206C32 + .4byte 0x6361705F + .4byte 0x61636365 + .4byte 0x73735F72 + .4byte 0x65712050 + .4byte 0x534D3A25 + .4byte 0x64206E6F + .4byte 0x20726573 + .4byte 0x6F757263 + .4byte 0x65730000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206C32 + .4byte 0x6361705F + .4byte 0x61636365 + .4byte 0x73735F72 + .4byte 0x65712050 + .4byte 0x534D3A25 + .4byte 0x64206E6F + .4byte 0x20617070 + .4byte 0x6C696361 + .4byte 0x74696F6E + .4byte 0x20726567 + .4byte 0x69737465 + .4byte 0x72640000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206C32 + .4byte 0x6361705F + .4byte 0x61636365 + .4byte 0x73735F72 + .4byte 0x65712050 + .4byte 0x534D3A25 + .4byte 0x6420706F + .4byte 0x7374706F + .4byte 0x6E656420 + .4byte 0x666F7220 + .4byte 0x6D756C74 + .4byte 0x69706C65 + .4byte 0x78657200 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206C32 + .4byte 0x6361705F + .4byte 0x61636365 + .4byte 0x73735F72 + .4byte 0x65712050 + .4byte 0x534D3A25 + .4byte 0x64204861 + .4byte 0x6E646C65 + .4byte 0x3A256420 + .4byte 0x53746174 + .4byte 0x653A2564 + .4byte 0x20466C61 + .4byte 0x67733A30 + .4byte 0x78257820 + .4byte 0x52657175 + .4byte 0x69726564 + .4byte 0x3A307825 + .4byte 0x78000000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A207472 + .4byte 0x75737465 + .4byte 0x643A3078 + .4byte 0x25303478 + .4byte 0x25303478 + .4byte 0x20466C61 + .4byte 0x67733A30 + .4byte 0x78257800 + +.global "@3105_8043C7D8" +"@3105_8043C7D8": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A204D58 + .4byte 0x20736572 + .4byte 0x76696365 + .4byte 0x206E6F74 + .4byte 0x20666F75 + .4byte 0x6E642050 + .4byte 0x534D3A25 + .4byte 0x64205072 + .4byte 0x6F746F3A + .4byte 0x25642053 + .4byte 0x434E3A25 + .4byte 0x64000000 + +.global "@3125" +"@3125": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A20636F + .4byte 0x6E6E6563 + .4byte 0x74207265 + .4byte 0x71756573 + .4byte 0x74206672 + .4byte 0x6F6D206E + .4byte 0x6F742070 + .4byte 0x61697265 + .4byte 0x64206465 + .4byte 0x76696365 + .4byte 0 + +.global "@3195_8043C854" +"@3195_8043C854": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A20726D + .4byte 0x745F6E61 + .4byte 0x6D655F63 + .4byte 0x6F6D706C + .4byte 0x65746520 + .4byte 0x73746174 + .4byte 0x75733A25 + .4byte 0x64205374 + .4byte 0x6174653A + .4byte 0x25640000 + +.global "@3238" +"@3238": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206175 + .4byte 0x74685F63 + .4byte 0x6F6D706C + .4byte 0x65746520 + .4byte 0x73746174 + .4byte 0x75733A25 + .4byte 0x64205374 + .4byte 0x6174653A + .4byte 0x25640000 + +.global "@3250_8043C8C0" +"@3250_8043C8C0": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206D6B + .4byte 0x65792063 + .4byte 0x6F6D7020 + .4byte 0x73746174 + .4byte 0x75733A25 + .4byte 0x64205374 + .4byte 0x6174653A + .4byte 0x25640000 + +.global "@3268" +"@3268": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A20656E + .4byte 0x63727970 + .4byte 0x745F6368 + .4byte 0x616E6765 + .4byte 0x20737461 + .4byte 0x7475733A + .4byte 0x25642053 + .4byte 0x74617465 + .4byte 0x3A256400 + +.global "@3318" +"@3318": + + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206274 + .4byte 0x6D5F7365 + .4byte 0x635F636F + .4byte 0x6E6E6563 + .4byte 0x74656420 + .4byte 0x68616E64 + .4byte 0x6C653A25 + .4byte 0x64207374 + .4byte 0x61747573 + .4byte 0x3A256420 + .4byte 0x656E635F + .4byte 0x6D6F6465 + .4byte 0x3A256400 + +.global "@3358" +"@3358": + + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x6C696E6B + .4byte 0x5F6B6579 + .4byte 0x5F6E6F74 + .4byte 0x69666963 + .4byte 0x6174696F + .4byte 0x6E282920 + .4byte 0x20424441 + .4byte 0x3A202530 + .4byte 0x32783A25 + .4byte 0x3032783A + .4byte 0x25303278 + .4byte 0x3A253032 + .4byte 0x783A2530 + .4byte 0x32783A25 + .4byte 0x30327800 + +.global "@3359" +"@3359": + + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x54595045 + .4byte 0x3A202564 + .4byte 0 + +.global "@3373" +"@3373": + + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x6C696E6B + .4byte 0x5F6B6579 + .4byte 0x5F726571 + .4byte 0x75657374 + .4byte 0x28292020 + .4byte 0x4244413A + .4byte 0x20253032 + .4byte 0x783A2530 + .4byte 0x32783A25 + .4byte 0x3032783A + .4byte 0x25303278 + .4byte 0x3A253032 + .4byte 0x783A2530 + .4byte 0x32780000 + +.global "@3377_8043CA18" +"@3377_8043CA18": + + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x70696E5F + .4byte 0x636F6465 + .4byte 0x5F726571 + .4byte 0x75657374 + .4byte 0x5F74696D + .4byte 0x656F7574 + .4byte 0x28290000 + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x70696E5F + .4byte 0x636F6465 + .4byte 0x5F726571 + .4byte 0x75657374 + .4byte 0x28292020 + .4byte 0x4244413A + .4byte 0x20253032 + .4byte 0x783A2530 + .4byte 0x32783A25 + .4byte 0x3032783A + .4byte 0x25303278 + .4byte 0x3A253032 + .4byte 0x783A2530 + .4byte 0x32780000 + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x70696E5F + .4byte 0x636F6465 + .4byte 0x5F726571 + .4byte 0x75657374 + .4byte 0x20626F6E + .4byte 0x64696E67 + .4byte 0x2073656E + .4byte 0x64696E67 + .4byte 0x20726570 + .4byte 0x6C790000 + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x70696E5F + .4byte 0x636F6465 + .4byte 0x5F726571 + .4byte 0x75657374 + .4byte 0x3A204175 + .4byte 0x7468656E + .4byte 0x20456E61 + .4byte 0x626C6520 + .4byte 0x2D3E2025 + .4byte 0x64000000 + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x70696E5F + .4byte 0x636F6465 + .4byte 0x5F726571 + .4byte 0x75657374 + .4byte 0x28293A20 + .4byte 0x50616972 + .4byte 0x696E6720 + .4byte 0x64697361 + .4byte 0x626C6564 + .4byte 0x3A25643B + .4byte 0x2050494E + .4byte 0x2063616C + .4byte 0x6C626163 + .4byte 0x6B3A2578 + .4byte 0x2C204465 + .4byte 0x76205265 + .4byte 0x633A2578 + .4byte 0x21000000 + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x65786563 + .4byte 0x7574655F + .4byte 0x70726F63 + .4byte 0x65647572 + .4byte 0x653A2052 + .4byte 0x65717569 + .4byte 0x7265643A + .4byte 0x30782578 + .4byte 0x20466C61 + .4byte 0x67733A30 + .4byte 0x78257820 + .4byte 0x53746174 + .4byte 0x653A2564 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F204C + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x636F6E6E + .4byte 0x5F726571 + .4byte 0 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A205374 + .4byte 0x61727420 + .4byte 0x67657420 + .4byte 0x6E616D65 + .4byte 0 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A205374 + .4byte 0x61727420 + .4byte 0x61757468 + .4byte 0x656E7469 + .4byte 0x63617469 + .4byte 0x6F6E0000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A205374 + .4byte 0x61727420 + .4byte 0x656E6372 + .4byte 0x79707469 + .4byte 0x6F6E0000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A205374 + .4byte 0x61727420 + .4byte 0x61757468 + .4byte 0x6F72697A + .4byte 0x6174696F + .4byte 0x6E000000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A207472 + .4byte 0x75737465 + .4byte 0x643A3078 + .4byte 0x25303478 + .4byte 0x25303478 + .4byte 0 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x204D616E + .4byte 0x61676572 + .4byte 0x3A206163 + .4byte 0x63657373 + .4byte 0x20677261 + .4byte 0x6E746564 + .4byte 0 + +.global "@3519_8043CC74" +"@3519_8043CC74": + + .4byte 0x62746D5F + .4byte 0x7365635F + .4byte 0x636F6C6C + .4byte 0x6973696F + .4byte 0x6E5F7469 + .4byte 0x6D656F75 + .4byte 0x74282900 +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global "@1779_8055E950" +"@1779_8055E950": + + .byte 0xFF + +.global lbl_8055E951 +lbl_8055E951: + + .byte 0xFF + +.global lbl_8055E952 +lbl_8055E952: + + .byte 0xFF + +.global lbl_8055E953 +lbl_8055E953: + + .byte 0xFF + +.global lbl_8055E954 +lbl_8055E954: + + .byte 0xFF + +.global lbl_8055E955 +lbl_8055E955: + + .byte 0xFF, 0x00, 0x00 diff --git a/asm/bte/btm_sec_8043c280.s b/asm/bte/btm_sec_8043c280.s deleted file mode 100644 index f0524926..00000000 --- a/asm/bte/btm_sec_8043c280.s +++ /dev/null @@ -1,714 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@2854" -"@2854": - - .4byte 0x42544D5F - .4byte 0x5365633A - .4byte 0x20617070 - .4byte 0x6C696361 - .4byte 0x74696F6E - .4byte 0x20726567 - .4byte 0x69737465 - .4byte 0x72656400 - .4byte 0x42544D5F - .4byte 0x53657453 - .4byte 0x65637572 - .4byte 0x6974794D - .4byte 0x6F64653A - .4byte 0x206D6F64 - .4byte 0x653A2564 - .4byte 0 - .4byte 0x42544D5F - .4byte 0x53657453 - .4byte 0x65637572 - .4byte 0x6974794D - .4byte 0x6F64653A - .4byte 0x20417574 - .4byte 0x68656E20 - .4byte 0x456E6162 - .4byte 0x6C65202D - .4byte 0x3E204641 - .4byte 0x4C534500 - .4byte 0x42544D5F - .4byte 0x53657453 - .4byte 0x65637572 - .4byte 0x6974794D - .4byte 0x6F64653A - .4byte 0x20417574 - .4byte 0x68656E20 - .4byte 0x456E6162 - .4byte 0x6C65202D - .4byte 0x3E205452 - .4byte 0x55450000 - -.global "@2900" -"@2900": - - .4byte 0x42544D5F - .4byte 0x53657450 - .4byte 0x696E5479 - .4byte 0x70653A20 - .4byte 0x70696E20 - .4byte 0x74797065 - .4byte 0x20256420 - .4byte 0x5B766172 - .4byte 0x6961626C - .4byte 0x652D302C - .4byte 0x20666978 - .4byte 0x65642D31 - .4byte 0x5D2C2063 - .4byte 0x6F646520 - .4byte 0x25732C20 - .4byte 0x6C656E67 - .4byte 0x74682025 - .4byte 0x64000000 - .4byte 0x42544D5F - .4byte 0x5345435F - .4byte 0x5245475B - .4byte 0x25645D3A - .4byte 0x20696420 - .4byte 0x25642C20 - .4byte 0x69735F6F - .4byte 0x72696720 - .4byte 0x25642C20 - .4byte 0x70736D20 - .4byte 0x30782530 - .4byte 0x34782C20 - .4byte 0x70726F74 - .4byte 0x6F5F6964 - .4byte 0x2025642C - .4byte 0x20636861 - .4byte 0x6E5F6964 - .4byte 0x20256400 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x2020203A - .4byte 0x20736563 - .4byte 0x3A203078 - .4byte 0x25782C20 - .4byte 0x73657276 - .4byte 0x69636520 - .4byte 0x6E616D65 - .4byte 0x205B2573 - .4byte 0x5D202875 - .4byte 0x7020746F - .4byte 0x20256420 - .4byte 0x63686172 - .4byte 0x73207361 - .4byte 0x76656429 - .4byte 0 - .4byte 0x42544D5F - .4byte 0x5345435F - .4byte 0x5245473A - .4byte 0x204F7574 - .4byte 0x206F6620 - .4byte 0x53657276 - .4byte 0x69636520 - .4byte 0x5265636F - .4byte 0x72647320 - .4byte 0x28256429 - .4byte 0 - .4byte 0 - -.global "@2972_8043C420" -"@2972_8043C420": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A204174 - .4byte 0x74656D70 - .4byte 0x74696E67 - .4byte 0x20417574 - .4byte 0x686F7269 - .4byte 0x7A617469 - .4byte 0x6F6E206F - .4byte 0x6620556E - .4byte 0x6B6E6F77 - .4byte 0x6E204465 - .4byte 0x76696365 - .4byte 0x20416464 - .4byte 0x72657373 - .4byte 0x205B2530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32785D00 - -.global "@2973_8043C480" -"@2973_8043C480": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206175 - .4byte 0x74686F72 - .4byte 0x697A6564 - .4byte 0x20737461 - .4byte 0x7475733A - .4byte 0x25642053 - .4byte 0x74617465 - .4byte 0x3A256400 - .4byte 0x42544D5F - .4byte 0x53656342 - .4byte 0x6F6E6420 - .4byte 0x4244413A - .4byte 0x20253032 - .4byte 0x783A2530 - .4byte 0x32783A25 - .4byte 0x3032783A - .4byte 0x25303278 - .4byte 0x3A253032 - .4byte 0x783A2530 - .4byte 0x32780000 - .4byte 0x42544D5F - .4byte 0x53656342 - .4byte 0x6F6E643A - .4byte 0x20496C6C - .4byte 0x6567616C - .4byte 0x2050696E - .4byte 0x206C656E - .4byte 0x3A256400 - .4byte 0x42544D5F - .4byte 0x53656342 - .4byte 0x6F6E643A - .4byte 0x206E6F20 - .4byte 0x64657669 - .4byte 0x63652062 - .4byte 0x6C6F636B - .4byte 0 - .4byte 0x42544D5F - .4byte 0x53656342 - .4byte 0x6F6E6420 - .4byte 0x2D3E2041 - .4byte 0x6C726561 - .4byte 0x64792050 - .4byte 0x61697265 - .4byte 0x64000000 - .4byte 0x42544D5F - .4byte 0x53656342 - .4byte 0x6F6E643A - .4byte 0x20417574 - .4byte 0x68656E20 - .4byte 0x456E6162 - .4byte 0x6C65202D - .4byte 0x3E205452 - .4byte 0x55450000 - .4byte 0x42544D5F - .4byte 0x53656342 - .4byte 0x6F6E643A - .4byte 0x206E6F20 - .4byte 0x62756666 - .4byte 0x65720000 - -.global "@3016_8043C57C" -"@3016_8043C57C": - - .4byte 0x62746D5F - .4byte 0x72657374 - .4byte 0x6F72655F - .4byte 0x6D6F6465 - .4byte 0x3A204175 - .4byte 0x7468656E - .4byte 0x20456E61 - .4byte 0x626C6520 - .4byte 0x2D3E2025 - .4byte 0x64000000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A204254 - .4byte 0x4D5F5365 - .4byte 0x74456E63 - .4byte 0x72797074 - .4byte 0x696F6E20 - .4byte 0x6E6F7420 - .4byte 0x636F6E6E - .4byte 0x65637465 - .4byte 0x64000000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A204254 - .4byte 0x4D5F5365 - .4byte 0x74456E63 - .4byte 0x72797074 - .4byte 0x696F6E20 - .4byte 0x616C7265 - .4byte 0x61647920 - .4byte 0x656E6372 - .4byte 0x79707465 - .4byte 0x64000000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A204254 - .4byte 0x4D5F5365 - .4byte 0x74456E63 - .4byte 0x72797074 - .4byte 0x696F6E20 - .4byte 0x62757379 - .4byte 0 - .4byte 0 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A204254 - .4byte 0x4D5F5365 - .4byte 0x74456E63 - .4byte 0x72797074 - .4byte 0x696F6E20 - .4byte 0x48616E64 - .4byte 0x6C653A25 - .4byte 0x64205374 - .4byte 0x6174653A - .4byte 0x25642046 - .4byte 0x6C616773 - .4byte 0x3A307825 - .4byte 0x78205265 - .4byte 0x71756972 - .4byte 0x65643A30 - .4byte 0x78257800 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206C32 - .4byte 0x6361705F - .4byte 0x61636365 - .4byte 0x73735F72 - .4byte 0x65712050 - .4byte 0x534D3A25 - .4byte 0x64206E6F - .4byte 0x20726573 - .4byte 0x6F757263 - .4byte 0x65730000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206C32 - .4byte 0x6361705F - .4byte 0x61636365 - .4byte 0x73735F72 - .4byte 0x65712050 - .4byte 0x534D3A25 - .4byte 0x64206E6F - .4byte 0x20617070 - .4byte 0x6C696361 - .4byte 0x74696F6E - .4byte 0x20726567 - .4byte 0x69737465 - .4byte 0x72640000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206C32 - .4byte 0x6361705F - .4byte 0x61636365 - .4byte 0x73735F72 - .4byte 0x65712050 - .4byte 0x534D3A25 - .4byte 0x6420706F - .4byte 0x7374706F - .4byte 0x6E656420 - .4byte 0x666F7220 - .4byte 0x6D756C74 - .4byte 0x69706C65 - .4byte 0x78657200 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206C32 - .4byte 0x6361705F - .4byte 0x61636365 - .4byte 0x73735F72 - .4byte 0x65712050 - .4byte 0x534D3A25 - .4byte 0x64204861 - .4byte 0x6E646C65 - .4byte 0x3A256420 - .4byte 0x53746174 - .4byte 0x653A2564 - .4byte 0x20466C61 - .4byte 0x67733A30 - .4byte 0x78257820 - .4byte 0x52657175 - .4byte 0x69726564 - .4byte 0x3A307825 - .4byte 0x78000000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A207472 - .4byte 0x75737465 - .4byte 0x643A3078 - .4byte 0x25303478 - .4byte 0x25303478 - .4byte 0x20466C61 - .4byte 0x67733A30 - .4byte 0x78257800 - -.global "@3105_8043C7D8" -"@3105_8043C7D8": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A204D58 - .4byte 0x20736572 - .4byte 0x76696365 - .4byte 0x206E6F74 - .4byte 0x20666F75 - .4byte 0x6E642050 - .4byte 0x534D3A25 - .4byte 0x64205072 - .4byte 0x6F746F3A - .4byte 0x25642053 - .4byte 0x434E3A25 - .4byte 0x64000000 - -.global "@3125" -"@3125": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A20636F - .4byte 0x6E6E6563 - .4byte 0x74207265 - .4byte 0x71756573 - .4byte 0x74206672 - .4byte 0x6F6D206E - .4byte 0x6F742070 - .4byte 0x61697265 - .4byte 0x64206465 - .4byte 0x76696365 - .4byte 0 - -.global "@3195_8043C854" -"@3195_8043C854": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A20726D - .4byte 0x745F6E61 - .4byte 0x6D655F63 - .4byte 0x6F6D706C - .4byte 0x65746520 - .4byte 0x73746174 - .4byte 0x75733A25 - .4byte 0x64205374 - .4byte 0x6174653A - .4byte 0x25640000 - -.global "@3238" -"@3238": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206175 - .4byte 0x74685F63 - .4byte 0x6F6D706C - .4byte 0x65746520 - .4byte 0x73746174 - .4byte 0x75733A25 - .4byte 0x64205374 - .4byte 0x6174653A - .4byte 0x25640000 - -.global "@3250_8043C8C0" -"@3250_8043C8C0": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206D6B - .4byte 0x65792063 - .4byte 0x6F6D7020 - .4byte 0x73746174 - .4byte 0x75733A25 - .4byte 0x64205374 - .4byte 0x6174653A - .4byte 0x25640000 - -.global "@3268" -"@3268": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A20656E - .4byte 0x63727970 - .4byte 0x745F6368 - .4byte 0x616E6765 - .4byte 0x20737461 - .4byte 0x7475733A - .4byte 0x25642053 - .4byte 0x74617465 - .4byte 0x3A256400 - -.global "@3318" -"@3318": - - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206274 - .4byte 0x6D5F7365 - .4byte 0x635F636F - .4byte 0x6E6E6563 - .4byte 0x74656420 - .4byte 0x68616E64 - .4byte 0x6C653A25 - .4byte 0x64207374 - .4byte 0x61747573 - .4byte 0x3A256420 - .4byte 0x656E635F - .4byte 0x6D6F6465 - .4byte 0x3A256400 - -.global "@3358" -"@3358": - - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x6C696E6B - .4byte 0x5F6B6579 - .4byte 0x5F6E6F74 - .4byte 0x69666963 - .4byte 0x6174696F - .4byte 0x6E282920 - .4byte 0x20424441 - .4byte 0x3A202530 - .4byte 0x32783A25 - .4byte 0x3032783A - .4byte 0x25303278 - .4byte 0x3A253032 - .4byte 0x783A2530 - .4byte 0x32783A25 - .4byte 0x30327800 - -.global "@3359" -"@3359": - - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x54595045 - .4byte 0x3A202564 - .4byte 0 - -.global "@3373" -"@3373": - - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x6C696E6B - .4byte 0x5F6B6579 - .4byte 0x5F726571 - .4byte 0x75657374 - .4byte 0x28292020 - .4byte 0x4244413A - .4byte 0x20253032 - .4byte 0x783A2530 - .4byte 0x32783A25 - .4byte 0x3032783A - .4byte 0x25303278 - .4byte 0x3A253032 - .4byte 0x783A2530 - .4byte 0x32780000 - -.global "@3377_8043CA18" -"@3377_8043CA18": - - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x70696E5F - .4byte 0x636F6465 - .4byte 0x5F726571 - .4byte 0x75657374 - .4byte 0x5F74696D - .4byte 0x656F7574 - .4byte 0x28290000 - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x70696E5F - .4byte 0x636F6465 - .4byte 0x5F726571 - .4byte 0x75657374 - .4byte 0x28292020 - .4byte 0x4244413A - .4byte 0x20253032 - .4byte 0x783A2530 - .4byte 0x32783A25 - .4byte 0x3032783A - .4byte 0x25303278 - .4byte 0x3A253032 - .4byte 0x783A2530 - .4byte 0x32780000 - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x70696E5F - .4byte 0x636F6465 - .4byte 0x5F726571 - .4byte 0x75657374 - .4byte 0x20626F6E - .4byte 0x64696E67 - .4byte 0x2073656E - .4byte 0x64696E67 - .4byte 0x20726570 - .4byte 0x6C790000 - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x70696E5F - .4byte 0x636F6465 - .4byte 0x5F726571 - .4byte 0x75657374 - .4byte 0x3A204175 - .4byte 0x7468656E - .4byte 0x20456E61 - .4byte 0x626C6520 - .4byte 0x2D3E2025 - .4byte 0x64000000 - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x70696E5F - .4byte 0x636F6465 - .4byte 0x5F726571 - .4byte 0x75657374 - .4byte 0x28293A20 - .4byte 0x50616972 - .4byte 0x696E6720 - .4byte 0x64697361 - .4byte 0x626C6564 - .4byte 0x3A25643B - .4byte 0x2050494E - .4byte 0x2063616C - .4byte 0x6C626163 - .4byte 0x6B3A2578 - .4byte 0x2C204465 - .4byte 0x76205265 - .4byte 0x633A2578 - .4byte 0x21000000 - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x65786563 - .4byte 0x7574655F - .4byte 0x70726F63 - .4byte 0x65647572 - .4byte 0x653A2052 - .4byte 0x65717569 - .4byte 0x7265643A - .4byte 0x30782578 - .4byte 0x20466C61 - .4byte 0x67733A30 - .4byte 0x78257820 - .4byte 0x53746174 - .4byte 0x653A2564 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F204C - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x636F6E6E - .4byte 0x5F726571 - .4byte 0 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A205374 - .4byte 0x61727420 - .4byte 0x67657420 - .4byte 0x6E616D65 - .4byte 0 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A205374 - .4byte 0x61727420 - .4byte 0x61757468 - .4byte 0x656E7469 - .4byte 0x63617469 - .4byte 0x6F6E0000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A205374 - .4byte 0x61727420 - .4byte 0x656E6372 - .4byte 0x79707469 - .4byte 0x6F6E0000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A205374 - .4byte 0x61727420 - .4byte 0x61757468 - .4byte 0x6F72697A - .4byte 0x6174696F - .4byte 0x6E000000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A207472 - .4byte 0x75737465 - .4byte 0x643A3078 - .4byte 0x25303478 - .4byte 0x25303478 - .4byte 0 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x204D616E - .4byte 0x61676572 - .4byte 0x3A206163 - .4byte 0x63657373 - .4byte 0x20677261 - .4byte 0x6E746564 - .4byte 0 - -.global "@3519_8043CC74" -"@3519_8043CC74": - - .4byte 0x62746D5F - .4byte 0x7365635F - .4byte 0x636F6C6C - .4byte 0x6973696F - .4byte 0x6E5F7469 - .4byte 0x6D656F75 - .4byte 0x74282900 diff --git a/asm/bte/btm_sec_8055e950.s b/asm/bte/btm_sec_8055e950.s deleted file mode 100644 index 34d88f6e..00000000 --- a/asm/bte/btm_sec_8055e950.s +++ /dev/null @@ -1,32 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global "@1779_8055E950" -"@1779_8055E950": - - .byte 0xFF - -.global lbl_8055E951 -lbl_8055E951: - - .byte 0xFF - -.global lbl_8055E952 -lbl_8055E952: - - .byte 0xFF - -.global lbl_8055E953 -lbl_8055E953: - - .byte 0xFF - -.global lbl_8055E954 -lbl_8055E954: - - .byte 0xFF - -.global lbl_8055E955 -lbl_8055E955: - - .byte 0xFF, 0x00, 0x00 diff --git a/asm/bte/btu_hcif_8008822c.s b/asm/bte/btu_hcif.s similarity index 98% rename from asm/bte/btu_hcif_8008822c.s rename to asm/bte/btu_hcif.s index 2486eb2b..fad77934 100644 --- a/asm/bte/btu_hcif_8008822c.s +++ b/asm/bte/btu_hcif.s @@ -1416,3 +1416,57 @@ btu_hcif_link_key_notification_evt: /* 8008947C 000852BC 7C 08 03 A6 */ mtlr r0 /* 80089480 000852C0 38 21 00 20 */ addi r1, r1, 0x20 /* 80089484 000852C4 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@2212" +"@2212": + + .4byte 0x43746C72 + .4byte 0x20482F77 + .4byte 0x20657272 + .4byte 0x6F722065 + .4byte 0x76656E74 + .4byte 0 + +.global "@2352" +"@2352": + + .4byte 0x4576656E + .4byte 0x74206D69 + .4byte 0x736D6174 + .4byte 0x6368206F + .4byte 0x70636F64 + .4byte 0x653D2558 + .4byte 0x20636D64 + .4byte 0x206F7063 + .4byte 0x6F64653D + .4byte 0x25580000 + +.global "@2368" +"@2368": + + .4byte 0x436D6420 + .4byte 0x74696D65 + .4byte 0x6F75743B + .4byte 0x206E6F20 + .4byte 0x636D6420 + .4byte 0x696E2071 + .4byte 0x75657565 + .4byte 0 + +.global "@2369" +"@2369": + + .4byte 0x42545520 + .4byte 0x48434920 + .4byte 0x636F6D6D + .4byte 0x616E6420 + .4byte 0x74696D65 + .4byte 0x6F757420 + .4byte 0x2D20636D + .4byte 0x64206F70 + .4byte 0x636F6465 + .4byte 0x203D2030 + .4byte 0x78253032 + .4byte 0x78000000 diff --git a/asm/bte/btu_hcif_8043cc90.s b/asm/bte/btu_hcif_8043cc90.s deleted file mode 100644 index 0533d1b7..00000000 --- a/asm/bte/btu_hcif_8043cc90.s +++ /dev/null @@ -1,54 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@2212" -"@2212": - - .4byte 0x43746C72 - .4byte 0x20482F77 - .4byte 0x20657272 - .4byte 0x6F722065 - .4byte 0x76656E74 - .4byte 0 - -.global "@2352" -"@2352": - - .4byte 0x4576656E - .4byte 0x74206D69 - .4byte 0x736D6174 - .4byte 0x6368206F - .4byte 0x70636F64 - .4byte 0x653D2558 - .4byte 0x20636D64 - .4byte 0x206F7063 - .4byte 0x6F64653D - .4byte 0x25580000 - -.global "@2368" -"@2368": - - .4byte 0x436D6420 - .4byte 0x74696D65 - .4byte 0x6F75743B - .4byte 0x206E6F20 - .4byte 0x636D6420 - .4byte 0x696E2071 - .4byte 0x75657565 - .4byte 0 - -.global "@2369" -"@2369": - - .4byte 0x42545520 - .4byte 0x48434920 - .4byte 0x636F6D6D - .4byte 0x616E6420 - .4byte 0x74696D65 - .4byte 0x6F757420 - .4byte 0x2D20636D - .4byte 0x64206F70 - .4byte 0x636F6465 - .4byte 0x203D2030 - .4byte 0x78253032 - .4byte 0x78000000 diff --git a/asm/bte/btu_init_80089488.s b/asm/bte/btu_init.s similarity index 91% rename from asm/bte/btu_init_80089488.s rename to asm/bte/btu_init.s index cc1031c8..d83fc0bf 100644 --- a/asm/bte/btu_init_80089488.s +++ b/asm/bte/btu_init.s @@ -35,3 +35,11 @@ BTE_Init: /* 800894F4 00085334 7C 08 03 A6 */ mtlr r0 /* 800894F8 00085338 38 21 00 10 */ addi r1, r1, 0x10 /* 800894FC 0008533C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global BT_BD_ANY +BT_BD_ANY: + + .4byte 0xFFFFFFFF + .4byte 0xFFFF0000 diff --git a/asm/bte/btu_init_8055e958.s b/asm/bte/btu_init_8055e958.s deleted file mode 100644 index fa29176b..00000000 --- a/asm/bte/btu_init_8055e958.s +++ /dev/null @@ -1,8 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global BT_BD_ANY -BT_BD_ANY: - - .4byte 0xFFFFFFFF - .4byte 0xFFFF0000 diff --git a/asm/bte/btu_task1_80077af0.s b/asm/bte/btu_task1.s similarity index 96% rename from asm/bte/btu_task1_80077af0.s rename to asm/bte/btu_task1.s index d4d10865..c4f47114 100644 --- a/asm/bte/btu_task1_80077af0.s +++ b/asm/bte/btu_task1.s @@ -370,3 +370,31 @@ btu_stop_timer: /* 80077F28 00073D68 38 A5 5A 30 */ addi r5, r5, btu_cb@l /* 80077F2C 00073D6C 38 65 00 40 */ addi r3, r5, 0x40 /* 80077F30 00073D70 4B FF E1 60 */ b GKI_remove_from_timer_list +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global btu_cb +btu_cb: + .skip 0x88 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global btu_count +btu_count: + + .4byte 0x01000000 + +.global execute_btu +execute_btu: + + .4byte 0x00000001 +.include "macros.inc" + +.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 +.global _btu_g_count +_btu_g_count: + .skip 0x4 + +.global _btu_last_timer_tick +_btu_last_timer_tick: + .skip 0x4 diff --git a/asm/bte/btu_task1_804f5a30.s b/asm/bte/btu_task1_804f5a30.s deleted file mode 100644 index f501991d..00000000 --- a/asm/bte/btu_task1_804f5a30.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global btu_cb -btu_cb: - .skip 0x88 diff --git a/asm/bte/btu_task1_805568f0.s b/asm/bte/btu_task1_805568f0.s deleted file mode 100644 index ec9d574b..00000000 --- a/asm/bte/btu_task1_805568f0.s +++ /dev/null @@ -1,12 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global btu_count -btu_count: - - .4byte 0x01000000 - -.global execute_btu -execute_btu: - - .4byte 0x00000001 diff --git a/asm/bte/btu_task1_8055cf08.s b/asm/bte/btu_task1_8055cf08.s deleted file mode 100644 index b291d0ed..00000000 --- a/asm/bte/btu_task1_8055cf08.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 -.global _btu_g_count -_btu_g_count: - .skip 0x4 - -.global _btu_last_timer_tick -_btu_last_timer_tick: - .skip 0x4 diff --git a/asm/bte/gap_api_800895e0.s b/asm/bte/gap_api.s similarity index 100% rename from asm/bte/gap_api_800895e0.s rename to asm/bte/gap_api.s diff --git a/asm/bte/gap_conn_80089640.s b/asm/bte/gap_conn.s similarity index 96% rename from asm/bte/gap_conn_80089640.s rename to asm/bte/gap_conn.s index d2d14fa8..7e25f7bc 100644 --- a/asm/bte/gap_conn_80089640.s +++ b/asm/bte/gap_conn.s @@ -902,3 +902,81 @@ lbl_8008A164: /* 8008A170 00085FB0 7C 08 03 A6 */ mtlr r0 /* 8008A174 00085FB4 38 21 00 10 */ addi r1, r1, 0x10 /* 8008A178 00085FB8 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1709_8043CD20" +"@1709_8043CD20": + + .4byte 0x5741524E + .4byte 0x494E473A + .4byte 0x20474150 + .4byte 0x20436F6E + .4byte 0x6E20496E + .4byte 0x64696361 + .4byte 0x74696F6E + .4byte 0x20666F72 + .4byte 0x20556E65 + .4byte 0x78706563 + .4byte 0x74656420 + .4byte 0x42642041 + .4byte 0x6464722E + .4byte 0x2E2E4469 + .4byte 0x73636F6E + .4byte 0x6E656374 + .4byte 0x696E6700 + +.global "@1710_8043CD64" +"@1710_8043CD64": + + .4byte 0x4741505F + .4byte 0x434F4E4E + .4byte 0x202D2052 + .4byte 0x63766420 + .4byte 0x4C324341 + .4byte 0x5020636F + .4byte 0x6E6E2069 + .4byte 0x6E642C20 + .4byte 0x4349443A + .4byte 0x20307825 + .4byte 0x78000000 + +.global "@1777_8043CD90" +"@1777_8043CD90": + + .4byte 0x4741505F + .4byte 0x434F4E4E + .4byte 0x202D2052 + .4byte 0x63766420 + .4byte 0x4C324341 + .4byte 0x50206469 + .4byte 0x73632C20 + .4byte 0x4349443A + .4byte 0x20307825 + .4byte 0x78000000 + +.global "@1798_8043CDB8" +"@1798_8043CDB8": + + .4byte 0x4741505F + .4byte 0x434F4E4E + .4byte 0x202D2052 + .4byte 0x63766420 + .4byte 0x4C324341 + .4byte 0x50204973 + .4byte 0x20436F6E + .4byte 0x67657374 + .4byte 0x65642028 + .4byte 0x2564292C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25780000 + .4byte 0 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global "@1708_80556918" +"@1708_80556918": + + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A00 diff --git a/asm/bte/gap_conn_8043cd20.s b/asm/bte/gap_conn_8043cd20.s deleted file mode 100644 index 3811ae0c..00000000 --- a/asm/bte/gap_conn_8043cd20.s +++ /dev/null @@ -1,70 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1709_8043CD20" -"@1709_8043CD20": - - .4byte 0x5741524E - .4byte 0x494E473A - .4byte 0x20474150 - .4byte 0x20436F6E - .4byte 0x6E20496E - .4byte 0x64696361 - .4byte 0x74696F6E - .4byte 0x20666F72 - .4byte 0x20556E65 - .4byte 0x78706563 - .4byte 0x74656420 - .4byte 0x42642041 - .4byte 0x6464722E - .4byte 0x2E2E4469 - .4byte 0x73636F6E - .4byte 0x6E656374 - .4byte 0x696E6700 - -.global "@1710_8043CD64" -"@1710_8043CD64": - - .4byte 0x4741505F - .4byte 0x434F4E4E - .4byte 0x202D2052 - .4byte 0x63766420 - .4byte 0x4C324341 - .4byte 0x5020636F - .4byte 0x6E6E2069 - .4byte 0x6E642C20 - .4byte 0x4349443A - .4byte 0x20307825 - .4byte 0x78000000 - -.global "@1777_8043CD90" -"@1777_8043CD90": - - .4byte 0x4741505F - .4byte 0x434F4E4E - .4byte 0x202D2052 - .4byte 0x63766420 - .4byte 0x4C324341 - .4byte 0x50206469 - .4byte 0x73632C20 - .4byte 0x4349443A - .4byte 0x20307825 - .4byte 0x78000000 - -.global "@1798_8043CDB8" -"@1798_8043CDB8": - - .4byte 0x4741505F - .4byte 0x434F4E4E - .4byte 0x202D2052 - .4byte 0x63766420 - .4byte 0x4C324341 - .4byte 0x50204973 - .4byte 0x20436F6E - .4byte 0x67657374 - .4byte 0x65642028 - .4byte 0x2564292C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25780000 - .4byte 0 diff --git a/asm/bte/gap_conn_80556918.s b/asm/bte/gap_conn_80556918.s deleted file mode 100644 index ef2bd2b6..00000000 --- a/asm/bte/gap_conn_80556918.s +++ /dev/null @@ -1,8 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global "@1708_80556918" -"@1708_80556918": - - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A00 diff --git a/asm/bte/gap_utils_8008a17c.s b/asm/bte/gap_utils.s similarity index 84% rename from asm/bte/gap_utils_8008a17c.s rename to asm/bte/gap_utils.s index 77e7a705..d119afd5 100644 --- a/asm/bte/gap_utils_8008a17c.s +++ b/asm/bte/gap_utils.s @@ -598,3 +598,239 @@ lbl_8008A788: lbl_8008A790: /* 8008A790 000865D0 38 60 01 14 */ li r3, 0x114 /* 8008A794 000865D4 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@882_8043CDF0" +"@882_8043CDF0": + + .4byte 0x20202047 + .4byte 0x41502049 + .4byte 0x6E717569 + .4byte 0x72792043 + .4byte 0x6F6D706C + .4byte 0x65746520 + .4byte 0x4576656E + .4byte 0x74202853 + .4byte 0x74617475 + .4byte 0x73203078 + .4byte 0x25303478 + .4byte 0x2C205265 + .4byte 0x73756C74 + .4byte 0x28732920 + .4byte 0x25642900 + .4byte 0x20202047 + .4byte 0x41502044 + .4byte 0x6973636F + .4byte 0x76657279 + .4byte 0x20436F6D + .4byte 0x706C6574 + .4byte 0x65204576 + .4byte 0x656E7428 + .4byte 0x53445020 + .4byte 0x52657375 + .4byte 0x6C743A20 + .4byte 0x30782530 + .4byte 0x34782900 + .4byte 0x20202047 + .4byte 0x41502044 + .4byte 0x6973636F + .4byte 0x76657279 + .4byte 0x20537563 + .4byte 0x63657373 + .4byte 0x66756C6C + .4byte 0x7920436F + .4byte 0x6D706C65 + .4byte 0x74656400 + .4byte 0x20202047 + .4byte 0x41502052 + .4byte 0x656D6F74 + .4byte 0x65204E61 + .4byte 0x6D652043 + .4byte 0x6F6D706C + .4byte 0x65746520 + .4byte 0x4576656E + .4byte 0x74202873 + .4byte 0x74617475 + .4byte 0x73203078 + .4byte 0x25303478 + .4byte 0x29000000 + +.global "@887" +"@887": + + .4byte lbl_8008A2A8 + .4byte lbl_8008A2B0 + .4byte lbl_8008A2B8 + .4byte lbl_8008A2E0 + .4byte lbl_8008A2C0 + .4byte lbl_8008A2C0 + .4byte lbl_8008A2C8 + .4byte lbl_8008A2D0 + .4byte lbl_8008A2D8 + .4byte 0x47415020 + .4byte 0x496E7175 + .4byte 0x69727920 + .4byte 0x52657375 + .4byte 0x6C747320 + .4byte 0x43616C6C + .4byte 0x6261636B + .4byte 0x20286264 + .4byte 0x61646472 + .4byte 0x205B2530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32782530 + .4byte 0x32785D29 + .4byte 0 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x2028434F + .4byte 0x44205B25 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x3032785D + .4byte 0x2C20636C + .4byte 0x6B6F6666 + .4byte 0x20307825 + .4byte 0x30347829 + .4byte 0 + +.global "@942" +"@942": + + .4byte 0x20202047 + .4byte 0x41503A20 + .4byte 0x46696E64 + .4byte 0x41646472 + .4byte 0x42794E61 + .4byte 0x6D652052 + .4byte 0x656D204E + .4byte 0x616D6520 + .4byte 0x436D706C + .4byte 0x20457674 + .4byte 0x20285374 + .4byte 0x61747573 + .4byte 0x20307825 + .4byte 0x3034782C + .4byte 0x204E616D + .4byte 0x65205B25 + .4byte 0x735D2900 + +.global "@943_8043CFAC" +"@943_8043CFAC": + + .4byte 0x20202047 + .4byte 0x41503A20 + .4byte 0x46696E64 + .4byte 0x41646472 + .4byte 0x42794E61 + .4byte 0x6D652052 + .4byte 0x656D204E + .4byte 0x616D6520 + .4byte 0x436D706C + .4byte 0x20457674 + .4byte 0x20285374 + .4byte 0x61747573 + .4byte 0x20307825 + .4byte 0x30347829 + .4byte 0 + +.global "@946" +"@946": + + .4byte lbl_8008A500 + .4byte lbl_8008A508 + .4byte lbl_8008A510 + .4byte lbl_8008A538 + .4byte lbl_8008A518 + .4byte lbl_8008A518 + .4byte lbl_8008A520 + .4byte lbl_8008A528 + .4byte lbl_8008A530 + +.global "@945" +"@945": + + .4byte lbl_8008A468 + .4byte lbl_8008A470 + .4byte lbl_8008A478 + .4byte lbl_8008A4A0 + .4byte lbl_8008A480 + .4byte lbl_8008A480 + .4byte lbl_8008A488 + .4byte lbl_8008A490 + .4byte lbl_8008A498 + +.global "@979" +"@979": + + .4byte 0x20202047 + .4byte 0x41503A20 + .4byte 0x46696E64 + .4byte 0x41646472 + .4byte 0x42794E61 + .4byte 0x6D652049 + .4byte 0x6E712043 + .4byte 0x6D706C20 + .4byte 0x45767420 + .4byte 0x28537461 + .4byte 0x74757320 + .4byte 0x30782530 + .4byte 0x34782C20 + .4byte 0x52657375 + .4byte 0x6C742873 + .4byte 0x29202564 + .4byte 0x29000000 + +.global "@982" +"@982": + + .4byte lbl_8008A6B4 + .4byte lbl_8008A6BC + .4byte lbl_8008A6C4 + .4byte lbl_8008A6EC + .4byte lbl_8008A6CC + .4byte lbl_8008A6CC + .4byte lbl_8008A6D4 + .4byte lbl_8008A6DC + .4byte lbl_8008A6E4 + +.global "@981_8043D098" +"@981_8043D098": + + .4byte lbl_8008A644 + .4byte lbl_8008A64C + .4byte lbl_8008A654 + .4byte lbl_8008A67C + .4byte lbl_8008A65C + .4byte lbl_8008A65C + .4byte lbl_8008A664 + .4byte lbl_8008A66C + .4byte lbl_8008A674 + +.global "@1009" +"@1009": + + .4byte lbl_8008A758 + .4byte lbl_8008A760 + .4byte lbl_8008A768 + .4byte lbl_8008A790 + .4byte lbl_8008A770 + .4byte lbl_8008A770 + .4byte lbl_8008A778 + .4byte lbl_8008A780 + .4byte lbl_8008A788 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global gap_cb +gap_cb: + .skip 0x3B0 diff --git a/asm/bte/gap_utils_8043cdf0.s b/asm/bte/gap_utils_8043cdf0.s deleted file mode 100644 index e0f55b5b..00000000 --- a/asm/bte/gap_utils_8043cdf0.s +++ /dev/null @@ -1,230 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@882_8043CDF0" -"@882_8043CDF0": - - .4byte 0x20202047 - .4byte 0x41502049 - .4byte 0x6E717569 - .4byte 0x72792043 - .4byte 0x6F6D706C - .4byte 0x65746520 - .4byte 0x4576656E - .4byte 0x74202853 - .4byte 0x74617475 - .4byte 0x73203078 - .4byte 0x25303478 - .4byte 0x2C205265 - .4byte 0x73756C74 - .4byte 0x28732920 - .4byte 0x25642900 - .4byte 0x20202047 - .4byte 0x41502044 - .4byte 0x6973636F - .4byte 0x76657279 - .4byte 0x20436F6D - .4byte 0x706C6574 - .4byte 0x65204576 - .4byte 0x656E7428 - .4byte 0x53445020 - .4byte 0x52657375 - .4byte 0x6C743A20 - .4byte 0x30782530 - .4byte 0x34782900 - .4byte 0x20202047 - .4byte 0x41502044 - .4byte 0x6973636F - .4byte 0x76657279 - .4byte 0x20537563 - .4byte 0x63657373 - .4byte 0x66756C6C - .4byte 0x7920436F - .4byte 0x6D706C65 - .4byte 0x74656400 - .4byte 0x20202047 - .4byte 0x41502052 - .4byte 0x656D6F74 - .4byte 0x65204E61 - .4byte 0x6D652043 - .4byte 0x6F6D706C - .4byte 0x65746520 - .4byte 0x4576656E - .4byte 0x74202873 - .4byte 0x74617475 - .4byte 0x73203078 - .4byte 0x25303478 - .4byte 0x29000000 - -.global "@887" -"@887": - - .4byte lbl_8008A2A8 - .4byte lbl_8008A2B0 - .4byte lbl_8008A2B8 - .4byte lbl_8008A2E0 - .4byte lbl_8008A2C0 - .4byte lbl_8008A2C0 - .4byte lbl_8008A2C8 - .4byte lbl_8008A2D0 - .4byte lbl_8008A2D8 - .4byte 0x47415020 - .4byte 0x496E7175 - .4byte 0x69727920 - .4byte 0x52657375 - .4byte 0x6C747320 - .4byte 0x43616C6C - .4byte 0x6261636B - .4byte 0x20286264 - .4byte 0x61646472 - .4byte 0x205B2530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32782530 - .4byte 0x32785D29 - .4byte 0 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x2028434F - .4byte 0x44205B25 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x3032785D - .4byte 0x2C20636C - .4byte 0x6B6F6666 - .4byte 0x20307825 - .4byte 0x30347829 - .4byte 0 - -.global "@942" -"@942": - - .4byte 0x20202047 - .4byte 0x41503A20 - .4byte 0x46696E64 - .4byte 0x41646472 - .4byte 0x42794E61 - .4byte 0x6D652052 - .4byte 0x656D204E - .4byte 0x616D6520 - .4byte 0x436D706C - .4byte 0x20457674 - .4byte 0x20285374 - .4byte 0x61747573 - .4byte 0x20307825 - .4byte 0x3034782C - .4byte 0x204E616D - .4byte 0x65205B25 - .4byte 0x735D2900 - -.global "@943_8043CFAC" -"@943_8043CFAC": - - .4byte 0x20202047 - .4byte 0x41503A20 - .4byte 0x46696E64 - .4byte 0x41646472 - .4byte 0x42794E61 - .4byte 0x6D652052 - .4byte 0x656D204E - .4byte 0x616D6520 - .4byte 0x436D706C - .4byte 0x20457674 - .4byte 0x20285374 - .4byte 0x61747573 - .4byte 0x20307825 - .4byte 0x30347829 - .4byte 0 - -.global "@946" -"@946": - - .4byte lbl_8008A500 - .4byte lbl_8008A508 - .4byte lbl_8008A510 - .4byte lbl_8008A538 - .4byte lbl_8008A518 - .4byte lbl_8008A518 - .4byte lbl_8008A520 - .4byte lbl_8008A528 - .4byte lbl_8008A530 - -.global "@945" -"@945": - - .4byte lbl_8008A468 - .4byte lbl_8008A470 - .4byte lbl_8008A478 - .4byte lbl_8008A4A0 - .4byte lbl_8008A480 - .4byte lbl_8008A480 - .4byte lbl_8008A488 - .4byte lbl_8008A490 - .4byte lbl_8008A498 - -.global "@979" -"@979": - - .4byte 0x20202047 - .4byte 0x41503A20 - .4byte 0x46696E64 - .4byte 0x41646472 - .4byte 0x42794E61 - .4byte 0x6D652049 - .4byte 0x6E712043 - .4byte 0x6D706C20 - .4byte 0x45767420 - .4byte 0x28537461 - .4byte 0x74757320 - .4byte 0x30782530 - .4byte 0x34782C20 - .4byte 0x52657375 - .4byte 0x6C742873 - .4byte 0x29202564 - .4byte 0x29000000 - -.global "@982" -"@982": - - .4byte lbl_8008A6B4 - .4byte lbl_8008A6BC - .4byte lbl_8008A6C4 - .4byte lbl_8008A6EC - .4byte lbl_8008A6CC - .4byte lbl_8008A6CC - .4byte lbl_8008A6D4 - .4byte lbl_8008A6DC - .4byte lbl_8008A6E4 - -.global "@981_8043D098" -"@981_8043D098": - - .4byte lbl_8008A644 - .4byte lbl_8008A64C - .4byte lbl_8008A654 - .4byte lbl_8008A67C - .4byte lbl_8008A65C - .4byte lbl_8008A65C - .4byte lbl_8008A664 - .4byte lbl_8008A66C - .4byte lbl_8008A674 - -.global "@1009" -"@1009": - - .4byte lbl_8008A758 - .4byte lbl_8008A760 - .4byte lbl_8008A768 - .4byte lbl_8008A790 - .4byte lbl_8008A770 - .4byte lbl_8008A770 - .4byte lbl_8008A778 - .4byte lbl_8008A780 - .4byte lbl_8008A788 diff --git a/asm/bte/gap_utils_804f8720.s b/asm/bte/gap_utils_804f8720.s deleted file mode 100644 index e6694288..00000000 --- a/asm/bte/gap_utils_804f8720.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global gap_cb -gap_cb: - .skip 0x3B0 diff --git a/asm/bte/gki_buffer_80074790.s b/asm/bte/gki_buffer.s similarity index 97% rename from asm/bte/gki_buffer_80074790.s rename to asm/bte/gki_buffer.s index 9397847d..9b848c86 100644 --- a/asm/bte/gki_buffer_80074790.s +++ b/asm/bte/gki_buffer.s @@ -1585,3 +1585,111 @@ lbl_80075C10: /* 80075C24 00071A64 4E 80 00 20 */ blr /* 80075C28 00071A68 00 00 00 00 */ .4byte 0x00000000 /* 80075C2C 00071A6C 00 00 00 00 */ .4byte 0x00000000 +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@749" +"@749": + + .4byte 0x67657462 + .4byte 0x75663A20 + .4byte 0x53697A65 + .4byte 0x20697320 + .4byte 0x7A65726F + .4byte 0 + +.global "@750" +"@750": + + .4byte 0x67657462 + .4byte 0x75663A20 + .4byte 0x53697A65 + .4byte 0x20697320 + .4byte 0x746F6F20 + .4byte 0x62696700 + .4byte 0x46726565 + .4byte 0x202D2042 + .4byte 0x75662043 + .4byte 0x6F727275 + .4byte 0x70746564 + .4byte 0 + .4byte 0x46726565 + .4byte 0x696E6720 + .4byte 0x4C696E6B + .4byte 0x65642042 + .4byte 0x75660000 + .4byte 0x42616420 + .4byte 0x42756620 + .4byte 0x51496400 + .4byte 0x53656E64 + .4byte 0x696E6720 + .4byte 0x746F2075 + .4byte 0x6E6B6E6F + .4byte 0x776E2064 + .4byte 0x65737400 + .4byte 0x53656E64 + .4byte 0x202D2042 + .4byte 0x75666665 + .4byte 0x7220636F + .4byte 0x72727570 + .4byte 0x74656400 + .4byte 0x53656E64 + .4byte 0x202D2062 + .4byte 0x75666665 + .4byte 0x72206C69 + .4byte 0x6E6B6564 + .4byte 0 + +.global "@880_8043A918" +"@880_8043A918": + + .4byte 0x456E7175 + .4byte 0x65756520 + .4byte 0x2D204275 + .4byte 0x66666572 + .4byte 0x20636F72 + .4byte 0x72757074 + .4byte 0x65640000 + +.global "@881" +"@881": + + .4byte 0x456E6575 + .4byte 0x65756520 + .4byte 0x2D206275 + .4byte 0x6620616C + .4byte 0x72656164 + .4byte 0x79206C69 + .4byte 0x6E6B6564 + .4byte 0 + +.global "@901" +"@901": + + .4byte 0x456E6575 + .4byte 0x65756520 + .4byte 0x68656164 + .4byte 0x202D2062 + .4byte 0x75662061 + .4byte 0x6C726561 + .4byte 0x6479206C + .4byte 0x696E6B65 + .4byte 0x64000000 + .4byte 0x474B495F + .4byte 0x6765745F + .4byte 0x6275665F + .4byte 0x73746172 + .4byte 0x743A3A20 + .4byte 0x62616420 + .4byte 0x61646472 + .4byte 0 + +.global "@1054_8043A998" +"@1054_8043A998": + + .4byte 0x44656C65 + .4byte 0x74696E67 + .4byte 0x20626164 + .4byte 0x20706F6F + .4byte 0x6C000000 + .4byte 0 diff --git a/asm/bte/gki_buffer_8043a868.s b/asm/bte/gki_buffer_8043a868.s deleted file mode 100644 index 1592c18b..00000000 --- a/asm/bte/gki_buffer_8043a868.s +++ /dev/null @@ -1,108 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@749" -"@749": - - .4byte 0x67657462 - .4byte 0x75663A20 - .4byte 0x53697A65 - .4byte 0x20697320 - .4byte 0x7A65726F - .4byte 0 - -.global "@750" -"@750": - - .4byte 0x67657462 - .4byte 0x75663A20 - .4byte 0x53697A65 - .4byte 0x20697320 - .4byte 0x746F6F20 - .4byte 0x62696700 - .4byte 0x46726565 - .4byte 0x202D2042 - .4byte 0x75662043 - .4byte 0x6F727275 - .4byte 0x70746564 - .4byte 0 - .4byte 0x46726565 - .4byte 0x696E6720 - .4byte 0x4C696E6B - .4byte 0x65642042 - .4byte 0x75660000 - .4byte 0x42616420 - .4byte 0x42756620 - .4byte 0x51496400 - .4byte 0x53656E64 - .4byte 0x696E6720 - .4byte 0x746F2075 - .4byte 0x6E6B6E6F - .4byte 0x776E2064 - .4byte 0x65737400 - .4byte 0x53656E64 - .4byte 0x202D2042 - .4byte 0x75666665 - .4byte 0x7220636F - .4byte 0x72727570 - .4byte 0x74656400 - .4byte 0x53656E64 - .4byte 0x202D2062 - .4byte 0x75666665 - .4byte 0x72206C69 - .4byte 0x6E6B6564 - .4byte 0 - -.global "@880_8043A918" -"@880_8043A918": - - .4byte 0x456E7175 - .4byte 0x65756520 - .4byte 0x2D204275 - .4byte 0x66666572 - .4byte 0x20636F72 - .4byte 0x72757074 - .4byte 0x65640000 - -.global "@881" -"@881": - - .4byte 0x456E6575 - .4byte 0x65756520 - .4byte 0x2D206275 - .4byte 0x6620616C - .4byte 0x72656164 - .4byte 0x79206C69 - .4byte 0x6E6B6564 - .4byte 0 - -.global "@901" -"@901": - - .4byte 0x456E6575 - .4byte 0x65756520 - .4byte 0x68656164 - .4byte 0x202D2062 - .4byte 0x75662061 - .4byte 0x6C726561 - .4byte 0x6479206C - .4byte 0x696E6B65 - .4byte 0x64000000 - .4byte 0x474B495F - .4byte 0x6765745F - .4byte 0x6275665F - .4byte 0x73746172 - .4byte 0x743A3A20 - .4byte 0x62616420 - .4byte 0x61646472 - .4byte 0 - -.global "@1054_8043A998" -"@1054_8043A998": - - .4byte 0x44656C65 - .4byte 0x74696E67 - .4byte 0x20626164 - .4byte 0x20706F6F - .4byte 0x6C000000 - .4byte 0 diff --git a/asm/bte/gki_ppc_800761c0.s b/asm/bte/gki_ppc.s similarity index 98% rename from asm/bte/gki_ppc_800761c0.s rename to asm/bte/gki_ppc.s index d0927bf7..3c8fa277 100644 --- a/asm/bte/gki_ppc_800761c0.s +++ b/asm/bte/gki_ppc.s @@ -197,3 +197,13 @@ GKI_os_free: /* 80076464 000722A4 00 00 00 00 */ .4byte 0x00000000 /* 80076468 000722A8 00 00 00 00 */ .4byte 0x00000000 /* 8007646C 000722AC 00 00 00 00 */ .4byte 0x00000000 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global gki_cb +gki_cb: + .skip 0x26958 + +.global lbl_804F0000 +lbl_804F0000: + .skip 0x2188 diff --git a/asm/bte/gki_ppc_804c96a8.s b/asm/bte/gki_ppc_804c96a8.s deleted file mode 100644 index 0743770e..00000000 --- a/asm/bte/gki_ppc_804c96a8.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global gki_cb -gki_cb: - .skip 0x26958 - -.global lbl_804F0000 -lbl_804F0000: - .skip 0x2188 diff --git a/asm/bte/gki_time_80075c30.s b/asm/bte/gki_time.s similarity index 100% rename from asm/bte/gki_time_80075c30.s rename to asm/bte/gki_time.s diff --git a/asm/bte/hcicmds_8008a798.s b/asm/bte/hcicmds.s similarity index 99% rename from asm/bte/hcicmds_8008a798.s rename to asm/bte/hcicmds.s index 95be23ac..5c18f942 100644 --- a/asm/bte/hcicmds_8008a798.s +++ b/asm/bte/hcicmds.s @@ -2864,3 +2864,13 @@ lbl_8008CE9C: .global lbl_8008CEB0 lbl_8008CEB0: /* 8008CEB0 00088CF0 4B FF B9 34 */ b btu_hcif_send_cmd +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global "@1618_80408118" +"@1618_80408118": + + .4byte 0xFFFFFFFF + .4byte 0xFFFFFFFF + .4byte 0xFF7F0000 + .4byte 0 diff --git a/asm/bte/hcicmds_80408118.s b/asm/bte/hcicmds_80408118.s deleted file mode 100644 index 3748c3f1..00000000 --- a/asm/bte/hcicmds_80408118.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global "@1618_80408118" -"@1618_80408118": - - .4byte 0xFFFFFFFF - .4byte 0xFFFFFFFF - .4byte 0xFF7F0000 - .4byte 0 diff --git a/asm/bte/hcisu_h2_80076470.s b/asm/bte/hcisu_h2.s similarity index 94% rename from asm/bte/hcisu_h2_80076470.s rename to asm/bte/hcisu_h2.s index a02a40cf..ebd0f71f 100644 --- a/asm/bte/hcisu_h2_80076470.s +++ b/asm/bte/hcisu_h2.s @@ -518,3 +518,73 @@ hcisu_h2_handle_event: /* 80076B24 00072964 38 21 00 10 */ addi r1, r1, 0x10 /* 80076B28 00072968 4E 80 00 20 */ blr /* 80076B2C 0007296C 00 00 00 00 */ .4byte 0x00000000 +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global hcisu_h2 +hcisu_h2: + + .4byte hcisu_h2_init + .4byte hcisu_h2_open + .4byte hcisu_h2_close + .4byte hcisu_h2_send + .4byte hcisu_h2_handle_event + .4byte 0 +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@530_8043A9B0" +"@530_8043A9B0": + + .4byte 0x48434953 + .4byte 0x3A20556E + .4byte 0x61626C65 + .4byte 0x20746F20 + .4byte 0x616C6C6F + .4byte 0x63617465 + .4byte 0x20627566 + .4byte 0x66657220 + .4byte 0x666F7220 + .4byte 0x696E636F + .4byte 0x6D696E67 + .4byte 0x20484349 + .4byte 0x206D6573 + .4byte 0x73616765 + .4byte 0x2E000000 + +.global "@531" +"@531": + + .4byte 0x48434953 + .4byte 0x3A20496E + .4byte 0x76616C69 + .4byte 0x64206C65 + .4byte 0x6E677468 + .4byte 0x20666F72 + .4byte 0x20696E63 + .4byte 0x6F6D696E + .4byte 0x67204843 + .4byte 0x49206D65 + .4byte 0x73736167 + .4byte 0x652E0000 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global hcisu_h2_cb +hcisu_h2_cb: + .skip 0x38 +.include "macros.inc" + +.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 +.global hcisu_preamble_table +hcisu_preamble_table: + + .4byte 0x03040302 + .4byte 0 + +.global hcisu_msg_evt_table +hcisu_msg_evt_table: + + .4byte 0x13001100 + .4byte 0x12001000 diff --git a/asm/bte/hcisu_h2_80407de8.s b/asm/bte/hcisu_h2_80407de8.s deleted file mode 100644 index 82e6a046..00000000 --- a/asm/bte/hcisu_h2_80407de8.s +++ /dev/null @@ -1,12 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global hcisu_h2 -hcisu_h2: - - .4byte hcisu_h2_init - .4byte hcisu_h2_open - .4byte hcisu_h2_close - .4byte hcisu_h2_send - .4byte hcisu_h2_handle_event - .4byte 0 diff --git a/asm/bte/hcisu_h2_8043a9b0.s b/asm/bte/hcisu_h2_8043a9b0.s deleted file mode 100644 index 31a8a036..00000000 --- a/asm/bte/hcisu_h2_8043a9b0.s +++ /dev/null @@ -1,38 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@530_8043A9B0" -"@530_8043A9B0": - - .4byte 0x48434953 - .4byte 0x3A20556E - .4byte 0x61626C65 - .4byte 0x20746F20 - .4byte 0x616C6C6F - .4byte 0x63617465 - .4byte 0x20627566 - .4byte 0x66657220 - .4byte 0x666F7220 - .4byte 0x696E636F - .4byte 0x6D696E67 - .4byte 0x20484349 - .4byte 0x206D6573 - .4byte 0x73616765 - .4byte 0x2E000000 - -.global "@531" -"@531": - - .4byte 0x48434953 - .4byte 0x3A20496E - .4byte 0x76616C69 - .4byte 0x64206C65 - .4byte 0x6E677468 - .4byte 0x20666F72 - .4byte 0x20696E63 - .4byte 0x6F6D696E - .4byte 0x67204843 - .4byte 0x49206D65 - .4byte 0x73736167 - .4byte 0x652E0000 - .4byte 0 diff --git a/asm/bte/hcisu_h2_804f2188.s b/asm/bte/hcisu_h2_804f2188.s deleted file mode 100644 index c03323af..00000000 --- a/asm/bte/hcisu_h2_804f2188.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global hcisu_h2_cb -hcisu_h2_cb: - .skip 0x38 diff --git a/asm/bte/hcisu_h2_8055e908.s b/asm/bte/hcisu_h2_8055e908.s deleted file mode 100644 index 1ec331b8..00000000 --- a/asm/bte/hcisu_h2_8055e908.s +++ /dev/null @@ -1,14 +0,0 @@ -.include "macros.inc" - -.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 -.global hcisu_preamble_table -hcisu_preamble_table: - - .4byte 0x03040302 - .4byte 0 - -.global hcisu_msg_evt_table -hcisu_msg_evt_table: - - .4byte 0x13001100 - .4byte 0x12001000 diff --git a/asm/bte/hidd_api_8008ceb4.s b/asm/bte/hidd_api.s similarity index 100% rename from asm/bte/hidd_api_8008ceb4.s rename to asm/bte/hidd_api.s diff --git a/asm/bte/hidd_conn_8008cf1c.s b/asm/bte/hidd_conn.s similarity index 88% rename from asm/bte/hidd_conn_8008cf1c.s rename to asm/bte/hidd_conn.s index e1a8832b..efe0ec26 100644 --- a/asm/bte/hidd_conn_8008cf1c.s +++ b/asm/bte/hidd_conn.s @@ -59,3 +59,25 @@ lbl_8008CFC0: /* 8008CFD0 00088E10 7C 08 03 A6 */ mtlr r0 /* 8008CFD4 00088E14 38 21 00 20 */ addi r1, r1, 0x20 /* 8008CFD8 00088E18 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1275" +"@1275": + + .4byte 0x48494420 + .4byte 0x2D204F72 + .4byte 0x6967696E + .4byte 0x61746520 + .4byte 0x73746172 + .4byte 0x74656400 + +.global "@1276" +"@1276": + + .4byte 0x48494420 + .4byte 0x2D204F72 + .4byte 0x6967696E + .4byte 0x61746520 + .4byte 0x6661696C + .4byte 0x65640000 diff --git a/asm/bte/hidd_conn_8043d0e0.s b/asm/bte/hidd_conn_8043d0e0.s deleted file mode 100644 index 1ed24ff1..00000000 --- a/asm/bte/hidd_conn_8043d0e0.s +++ /dev/null @@ -1,22 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1275" -"@1275": - - .4byte 0x48494420 - .4byte 0x2D204F72 - .4byte 0x6967696E - .4byte 0x61746520 - .4byte 0x73746172 - .4byte 0x74656400 - -.global "@1276" -"@1276": - - .4byte 0x48494420 - .4byte 0x2D204F72 - .4byte 0x6967696E - .4byte 0x61746520 - .4byte 0x6661696C - .4byte 0x65640000 diff --git a/asm/bte/hidd_mgmt_8008cfdc.s b/asm/bte/hidd_mgmt.s similarity index 88% rename from asm/bte/hidd_mgmt_8008cfdc.s rename to asm/bte/hidd_mgmt.s index ed435345..a2e40e4e 100644 --- a/asm/bte/hidd_mgmt_8008cfdc.s +++ b/asm/bte/hidd_mgmt.s @@ -61,3 +61,23 @@ lbl_8008D090: /* 8008D098 00088ED8 7C 08 03 A6 */ mtlr r0 /* 8008D09C 00088EDC 38 21 00 10 */ addi r1, r1, 0x10 /* 8008D0A0 00088EE0 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@651" +"@651": + + .4byte 0x68696464 + .4byte 0x5F70726F + .4byte 0x635F7265 + .4byte 0x70616765 + .4byte 0x5F74696D + .4byte 0x656F7574 + .4byte 0 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global hd_cb +hd_cb: + .skip 0x148 diff --git a/asm/bte/hidd_mgmt_8043d110.s b/asm/bte/hidd_mgmt_8043d110.s deleted file mode 100644 index a46063c0..00000000 --- a/asm/bte/hidd_mgmt_8043d110.s +++ /dev/null @@ -1,14 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@651" -"@651": - - .4byte 0x68696464 - .4byte 0x5F70726F - .4byte 0x635F7265 - .4byte 0x70616765 - .4byte 0x5F74696D - .4byte 0x656F7574 - .4byte 0 - .4byte 0 diff --git a/asm/bte/hidd_mgmt_804f8ad0.s b/asm/bte/hidd_mgmt_804f8ad0.s deleted file mode 100644 index c137254f..00000000 --- a/asm/bte/hidd_mgmt_804f8ad0.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global hd_cb -hd_cb: - .skip 0x148 diff --git a/asm/bte/hidd_pm_8008d0a4.s b/asm/bte/hidd_pm.s similarity index 100% rename from asm/bte/hidd_pm_8008d0a4.s rename to asm/bte/hidd_pm.s diff --git a/asm/bte/hidh_api_8008d420.s b/asm/bte/hidh_api.s similarity index 96% rename from asm/bte/hidh_api_8008d420.s rename to asm/bte/hidh_api.s index d92a1295..c655a13d 100644 --- a/asm/bte/hidh_api_8008d420.s +++ b/asm/bte/hidh_api.s @@ -1051,3 +1051,85 @@ lbl_8008E184: /* 8008E194 00089FD4 7C 08 03 A6 */ mtlr r0 /* 8008E198 00089FD8 38 21 00 20 */ addi r1, r1, 0x20 /* 8008E19C 00089FDC 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1051_8043D130" +"@1051_8043D130": + + .4byte 0x4849445F + .4byte 0x4552525F + .4byte 0x4E4F545F + .4byte 0x52454749 + .4byte 0x53544552 + .4byte 0x45440000 + .4byte 0x4849445F + .4byte 0x4552525F + .4byte 0x494E5641 + .4byte 0x4C49445F + .4byte 0x50415241 + .4byte 0x4D000000 + .4byte 0x4849445F + .4byte 0x4552525F + .4byte 0x4E4F5F43 + .4byte 0x4F4E4E45 + .4byte 0x4354494F + .4byte 0x4E206465 + .4byte 0x765F6861 + .4byte 0x6E646C65 + .4byte 0x20256400 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x20526567 + .4byte 0x69737472 + .4byte 0x6174696F + .4byte 0x6E203120 + .4byte 0x6661696C + .4byte 0x65640000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x20526567 + .4byte 0x69737472 + .4byte 0x6174696F + .4byte 0x6E203220 + .4byte 0x6661696C + .4byte 0x65640000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x20526567 + .4byte 0x69737472 + .4byte 0x6174696F + .4byte 0x6E203320 + .4byte 0x6661696C + .4byte 0x65640000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x20526567 + .4byte 0x69737472 + .4byte 0x6174696F + .4byte 0x6E203420 + .4byte 0x6661696C + .4byte 0x65640000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x20526567 + .4byte 0x69737472 + .4byte 0x6174696F + .4byte 0x6E203520 + .4byte 0x6661696C + .4byte 0x65640000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x20526567 + .4byte 0x69737472 + .4byte 0x6174696F + .4byte 0x6E203620 + .4byte 0x6661696C + .4byte 0x65640000 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global hh_cb +hh_cb: + .skip 0x408 diff --git a/asm/bte/hidh_api_8043d130.s b/asm/bte/hidh_api_8043d130.s deleted file mode 100644 index f51eee54..00000000 --- a/asm/bte/hidh_api_8043d130.s +++ /dev/null @@ -1,76 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1051_8043D130" -"@1051_8043D130": - - .4byte 0x4849445F - .4byte 0x4552525F - .4byte 0x4E4F545F - .4byte 0x52454749 - .4byte 0x53544552 - .4byte 0x45440000 - .4byte 0x4849445F - .4byte 0x4552525F - .4byte 0x494E5641 - .4byte 0x4C49445F - .4byte 0x50415241 - .4byte 0x4D000000 - .4byte 0x4849445F - .4byte 0x4552525F - .4byte 0x4E4F5F43 - .4byte 0x4F4E4E45 - .4byte 0x4354494F - .4byte 0x4E206465 - .4byte 0x765F6861 - .4byte 0x6E646C65 - .4byte 0x20256400 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x20526567 - .4byte 0x69737472 - .4byte 0x6174696F - .4byte 0x6E203120 - .4byte 0x6661696C - .4byte 0x65640000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x20526567 - .4byte 0x69737472 - .4byte 0x6174696F - .4byte 0x6E203220 - .4byte 0x6661696C - .4byte 0x65640000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x20526567 - .4byte 0x69737472 - .4byte 0x6174696F - .4byte 0x6E203320 - .4byte 0x6661696C - .4byte 0x65640000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x20526567 - .4byte 0x69737472 - .4byte 0x6174696F - .4byte 0x6E203420 - .4byte 0x6661696C - .4byte 0x65640000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x20526567 - .4byte 0x69737472 - .4byte 0x6174696F - .4byte 0x6E203520 - .4byte 0x6661696C - .4byte 0x65640000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x20526567 - .4byte 0x69737472 - .4byte 0x6174696F - .4byte 0x6E203620 - .4byte 0x6661696C - .4byte 0x65640000 - .4byte 0 diff --git a/asm/bte/hidh_api_804f8c18.s b/asm/bte/hidh_api_804f8c18.s deleted file mode 100644 index 26324fca..00000000 --- a/asm/bte/hidh_api_804f8c18.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global hh_cb -hh_cb: - .skip 0x408 diff --git a/asm/bte/hidh_conn_8008e1a0.s b/asm/bte/hidh_conn.s similarity index 95% rename from asm/bte/hidh_conn_8008e1a0.s rename to asm/bte/hidh_conn.s index bbef849a..095bf1a1 100644 --- a/asm/bte/hidh_conn_8008e1a0.s +++ b/asm/bte/hidh_conn.s @@ -2495,3 +2495,323 @@ hidh_conn_dereg: /* 800901D4 0008C014 7C 08 03 A6 */ mtlr r0 /* 800901D8 0008C018 38 21 00 10 */ addi r1, r1, 0x10 /* 800901DC 0008C01C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global hst_reg_info +hst_reg_info: + + .4byte hidh_l2cif_connect_ind + .4byte hidh_l2cif_connect_cfm + .4byte 0 + .4byte hidh_l2cif_config_ind + .4byte hidh_l2cif_config_cfm + .4byte hidh_l2cif_disconnect_ind + .4byte hidh_l2cif_disconnect_cfm + .4byte 0 + .4byte hidh_l2cif_data_ind + .4byte hidh_l2cif_cong_ind +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1580" +"@1580": + + .4byte 0x48494420 + .4byte 0x436F6E74 + .4byte 0x726F6C20 + .4byte 0x52656769 + .4byte 0x73747261 + .4byte 0x74696F6E + .4byte 0x20666169 + .4byte 0x6C656400 + +.global "@1581" +"@1581": + + .4byte 0x48494420 + .4byte 0x496E7465 + .4byte 0x72727570 + .4byte 0x74205265 + .4byte 0x67697374 + .4byte 0x72617469 + .4byte 0x6F6E2066 + .4byte 0x61696C65 + .4byte 0x64000000 + +.global "@1592" +"@1592": + + .4byte 0x48494420 + .4byte 0x2D206469 + .4byte 0x73636F6E + .4byte 0x6E656374 + .4byte 0 + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20636F6E + .4byte 0x6E20696E + .4byte 0x642C2050 + .4byte 0x534D3A20 + .4byte 0x30782530 + .4byte 0x34782020 + .4byte 0x43494420 + .4byte 0x30782578 + .4byte 0 + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x76642049 + .4byte 0x4E545220 + .4byte 0x4C324341 + .4byte 0x5020636F + .4byte 0x6E6E2069 + .4byte 0x6E642C20 + .4byte 0x62757420 + .4byte 0x6E6F2043 + .4byte 0x544C2063 + .4byte 0x68616E6E + .4byte 0x656C0000 + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x76642049 + .4byte 0x4E545220 + .4byte 0x4C324341 + .4byte 0x5020636F + .4byte 0x6E6E2069 + .4byte 0x6E642C20 + .4byte 0x77726F6E + .4byte 0x67207374 + .4byte 0x6174653A + .4byte 0x20256400 + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x76642043 + .4byte 0x544C204C + .4byte 0x32434150 + .4byte 0x20636F6E + .4byte 0x6E20696E + .4byte 0x642C2077 + .4byte 0x726F6E67 + .4byte 0x20737461 + .4byte 0x74653A20 + .4byte 0x25640000 + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20636F6E + .4byte 0x6E20696E + .4byte 0x642C2073 + .4byte 0x656E7420 + .4byte 0x636F6E66 + .4byte 0x69672072 + .4byte 0x65712C20 + .4byte 0x50534D3A + .4byte 0x20307825 + .4byte 0x30347820 + .4byte 0x20434944 + .4byte 0x20307825 + .4byte 0x78000000 + +.global "@1652" +"@1652": + + .4byte 0x48494420 + .4byte 0x2D204F72 + .4byte 0x6967696E + .4byte 0x61746520 + .4byte 0x6661696C + .4byte 0x65640000 + .4byte 0 + .4byte 0x48494420 + .4byte 0x2D204F72 + .4byte 0x6967696E + .4byte 0x61746F72 + .4byte 0x20736563 + .4byte 0x75726974 + .4byte 0x79207061 + .4byte 0x73732E00 + .4byte 0x48494420 + .4byte 0x2D20494E + .4byte 0x5452204F + .4byte 0x72696769 + .4byte 0x6E617465 + .4byte 0x20666169 + .4byte 0x6C656400 + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x76642075 + .4byte 0x6E657870 + .4byte 0x65637465 + .4byte 0x6420636F + .4byte 0x6E6E2063 + .4byte 0x6E662C20 + .4byte 0x43494420 + .4byte 0x30782578 + .4byte 0x20000000 + .4byte 0x48494420 + .4byte 0x2D20676F + .4byte 0x74204354 + .4byte 0x524C2063 + .4byte 0x6F6E6E20 + .4byte 0x636E662C + .4byte 0x2073656E + .4byte 0x74206366 + .4byte 0x67207265 + .4byte 0x712C2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1747_8043D464" +"@1747_8043D464": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20636667 + .4byte 0x20696E64 + .4byte 0x2C20756E + .4byte 0x6B6E6F77 + .4byte 0x6E204349 + .4byte 0x443A2030 + .4byte 0x78257800 + +.global "@1748_8043D490" +"@1748_8043D490": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x76642063 + .4byte 0x66672069 + .4byte 0x6E642C20 + .4byte 0x73656E74 + .4byte 0x20636667 + .4byte 0x2063666D + .4byte 0x2C204349 + .4byte 0x443A2030 + .4byte 0x78257800 + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x76642063 + .4byte 0x66672063 + .4byte 0x666D2C20 + .4byte 0x4349443A + .4byte 0x20307825 + .4byte 0x78202052 + .4byte 0x6573756C + .4byte 0x743A2025 + .4byte 0x64000000 + +.global "@1798_8043D4E8" +"@1798_8043D4E8": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646973 + .4byte 0x632C2075 + .4byte 0x6E6B6E6F + .4byte 0x776E2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1799_8043D514" +"@1799_8043D514": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646973 + .4byte 0x632C2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1816_8043D538" +"@1816_8043D538": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646973 + .4byte 0x63206366 + .4byte 0x6D2C2075 + .4byte 0x6E6B6E6F + .4byte 0x776E2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1817_8043D568" +"@1817_8043D568": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646973 + .4byte 0x63206366 + .4byte 0x6D2C2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1833_8043D590" +"@1833_8043D590": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20636F6E + .4byte 0x67657374 + .4byte 0x696F6E20 + .4byte 0x73746174 + .4byte 0x75732C20 + .4byte 0x756E6B6E + .4byte 0x6F776E20 + .4byte 0x4349443A + .4byte 0x20307825 + .4byte 0x78000000 + +.global "@1834_8043D5C8" +"@1834_8043D5C8": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20636F6E + .4byte 0x67657374 + .4byte 0x696F6E20 + .4byte 0x73746174 + .4byte 0x75732C20 + .4byte 0x4349443A + .4byte 0x20307825 + .4byte 0x78202043 + .4byte 0x6F6E673A + .4byte 0x20256400 + +.global "@1874" +"@1874": + + .4byte 0x48494420 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646174 + .4byte 0x612C2075 + .4byte 0x6E6B6E6F + .4byte 0x776E2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + .4byte 0 diff --git a/asm/bte/hidh_conn_80408128.s b/asm/bte/hidh_conn_80408128.s deleted file mode 100644 index d97ff37f..00000000 --- a/asm/bte/hidh_conn_80408128.s +++ /dev/null @@ -1,16 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global hst_reg_info -hst_reg_info: - - .4byte hidh_l2cif_connect_ind - .4byte hidh_l2cif_connect_cfm - .4byte 0 - .4byte hidh_l2cif_config_ind - .4byte hidh_l2cif_config_cfm - .4byte hidh_l2cif_disconnect_ind - .4byte hidh_l2cif_disconnect_cfm - .4byte 0 - .4byte hidh_l2cif_data_ind - .4byte hidh_l2cif_cong_ind diff --git a/asm/bte/hidh_conn_8043d248.s b/asm/bte/hidh_conn_8043d248.s deleted file mode 100644 index 107c97a9..00000000 --- a/asm/bte/hidh_conn_8043d248.s +++ /dev/null @@ -1,304 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1580" -"@1580": - - .4byte 0x48494420 - .4byte 0x436F6E74 - .4byte 0x726F6C20 - .4byte 0x52656769 - .4byte 0x73747261 - .4byte 0x74696F6E - .4byte 0x20666169 - .4byte 0x6C656400 - -.global "@1581" -"@1581": - - .4byte 0x48494420 - .4byte 0x496E7465 - .4byte 0x72727570 - .4byte 0x74205265 - .4byte 0x67697374 - .4byte 0x72617469 - .4byte 0x6F6E2066 - .4byte 0x61696C65 - .4byte 0x64000000 - -.global "@1592" -"@1592": - - .4byte 0x48494420 - .4byte 0x2D206469 - .4byte 0x73636F6E - .4byte 0x6E656374 - .4byte 0 - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20636F6E - .4byte 0x6E20696E - .4byte 0x642C2050 - .4byte 0x534D3A20 - .4byte 0x30782530 - .4byte 0x34782020 - .4byte 0x43494420 - .4byte 0x30782578 - .4byte 0 - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x76642049 - .4byte 0x4E545220 - .4byte 0x4C324341 - .4byte 0x5020636F - .4byte 0x6E6E2069 - .4byte 0x6E642C20 - .4byte 0x62757420 - .4byte 0x6E6F2043 - .4byte 0x544C2063 - .4byte 0x68616E6E - .4byte 0x656C0000 - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x76642049 - .4byte 0x4E545220 - .4byte 0x4C324341 - .4byte 0x5020636F - .4byte 0x6E6E2069 - .4byte 0x6E642C20 - .4byte 0x77726F6E - .4byte 0x67207374 - .4byte 0x6174653A - .4byte 0x20256400 - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x76642043 - .4byte 0x544C204C - .4byte 0x32434150 - .4byte 0x20636F6E - .4byte 0x6E20696E - .4byte 0x642C2077 - .4byte 0x726F6E67 - .4byte 0x20737461 - .4byte 0x74653A20 - .4byte 0x25640000 - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20636F6E - .4byte 0x6E20696E - .4byte 0x642C2073 - .4byte 0x656E7420 - .4byte 0x636F6E66 - .4byte 0x69672072 - .4byte 0x65712C20 - .4byte 0x50534D3A - .4byte 0x20307825 - .4byte 0x30347820 - .4byte 0x20434944 - .4byte 0x20307825 - .4byte 0x78000000 - -.global "@1652" -"@1652": - - .4byte 0x48494420 - .4byte 0x2D204F72 - .4byte 0x6967696E - .4byte 0x61746520 - .4byte 0x6661696C - .4byte 0x65640000 - .4byte 0 - .4byte 0x48494420 - .4byte 0x2D204F72 - .4byte 0x6967696E - .4byte 0x61746F72 - .4byte 0x20736563 - .4byte 0x75726974 - .4byte 0x79207061 - .4byte 0x73732E00 - .4byte 0x48494420 - .4byte 0x2D20494E - .4byte 0x5452204F - .4byte 0x72696769 - .4byte 0x6E617465 - .4byte 0x20666169 - .4byte 0x6C656400 - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x76642075 - .4byte 0x6E657870 - .4byte 0x65637465 - .4byte 0x6420636F - .4byte 0x6E6E2063 - .4byte 0x6E662C20 - .4byte 0x43494420 - .4byte 0x30782578 - .4byte 0x20000000 - .4byte 0x48494420 - .4byte 0x2D20676F - .4byte 0x74204354 - .4byte 0x524C2063 - .4byte 0x6F6E6E20 - .4byte 0x636E662C - .4byte 0x2073656E - .4byte 0x74206366 - .4byte 0x67207265 - .4byte 0x712C2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1747_8043D464" -"@1747_8043D464": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20636667 - .4byte 0x20696E64 - .4byte 0x2C20756E - .4byte 0x6B6E6F77 - .4byte 0x6E204349 - .4byte 0x443A2030 - .4byte 0x78257800 - -.global "@1748_8043D490" -"@1748_8043D490": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x76642063 - .4byte 0x66672069 - .4byte 0x6E642C20 - .4byte 0x73656E74 - .4byte 0x20636667 - .4byte 0x2063666D - .4byte 0x2C204349 - .4byte 0x443A2030 - .4byte 0x78257800 - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x76642063 - .4byte 0x66672063 - .4byte 0x666D2C20 - .4byte 0x4349443A - .4byte 0x20307825 - .4byte 0x78202052 - .4byte 0x6573756C - .4byte 0x743A2025 - .4byte 0x64000000 - -.global "@1798_8043D4E8" -"@1798_8043D4E8": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646973 - .4byte 0x632C2075 - .4byte 0x6E6B6E6F - .4byte 0x776E2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1799_8043D514" -"@1799_8043D514": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646973 - .4byte 0x632C2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1816_8043D538" -"@1816_8043D538": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646973 - .4byte 0x63206366 - .4byte 0x6D2C2075 - .4byte 0x6E6B6E6F - .4byte 0x776E2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1817_8043D568" -"@1817_8043D568": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646973 - .4byte 0x63206366 - .4byte 0x6D2C2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1833_8043D590" -"@1833_8043D590": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20636F6E - .4byte 0x67657374 - .4byte 0x696F6E20 - .4byte 0x73746174 - .4byte 0x75732C20 - .4byte 0x756E6B6E - .4byte 0x6F776E20 - .4byte 0x4349443A - .4byte 0x20307825 - .4byte 0x78000000 - -.global "@1834_8043D5C8" -"@1834_8043D5C8": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20636F6E - .4byte 0x67657374 - .4byte 0x696F6E20 - .4byte 0x73746174 - .4byte 0x75732C20 - .4byte 0x4349443A - .4byte 0x20307825 - .4byte 0x78202043 - .4byte 0x6F6E673A - .4byte 0x20256400 - -.global "@1874" -"@1874": - - .4byte 0x48494420 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646174 - .4byte 0x612C2075 - .4byte 0x6E6B6E6F - .4byte 0x776E2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - .4byte 0 diff --git a/asm/bte/l2c_api_800901e0.s b/asm/bte/l2c_api.s similarity index 81% rename from asm/bte/l2c_api_800901e0.s rename to asm/bte/l2c_api.s index f616d36d..9bac793a 100644 --- a/asm/bte/l2c_api_800901e0.s +++ b/asm/bte/l2c_api.s @@ -935,3 +935,537 @@ lbl_80090D9C: /* 80090D9C 0008CBDC 3C 60 80 50 */ lis r3, l2cb@ha /* 80090DA0 0008CBE0 88 63 90 20 */ lbz r3, l2cb@l(r3) /* 80090DA4 0008CBE4 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1653" +"@1653": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x4C324341 + .4byte 0x5F526567 + .4byte 0x69737465 + .4byte 0x72282920 + .4byte 0x63616C6C + .4byte 0x65642066 + .4byte 0x6F722050 + .4byte 0x534D3A20 + .4byte 0x30782530 + .4byte 0x34780000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2063 + .4byte 0x62207265 + .4byte 0x67697374 + .4byte 0x6572696E + .4byte 0x67205053 + .4byte 0x4D3A2030 + .4byte 0x78253034 + .4byte 0x78000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x696E7661 + .4byte 0x6C696420 + .4byte 0x50534D20 + .4byte 0x76616C75 + .4byte 0x652C2050 + .4byte 0x534D3A20 + .4byte 0x30782530 + .4byte 0x34780000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2052 + .4byte 0x43422061 + .4byte 0x7661696C + .4byte 0x61626C65 + .4byte 0x2C205053 + .4byte 0x4D3A2030 + .4byte 0x78253034 + .4byte 0x78000000 + +.global "@1663_8043D6D8" +"@1663_8043D6D8": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x4C324341 + .4byte 0x5F446572 + .4byte 0x65676973 + .4byte 0x74657228 + .4byte 0x29206361 + .4byte 0x6C6C6564 + .4byte 0x20666F72 + .4byte 0x2050534D + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0 + +.global "@1664_8043D70C" +"@1664_8043D70C": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x50534D3A + .4byte 0x20307825 + .4byte 0x30347820 + .4byte 0x6E6F7420 + .4byte 0x666F756E + .4byte 0x6420666F + .4byte 0x72206465 + .4byte 0x72656769 + .4byte 0x73747261 + .4byte 0x74696F6E + .4byte 0 + .4byte 0x4C324341 + .4byte 0x5F436F6E + .4byte 0x6E656374 + .4byte 0x52657128 + .4byte 0x29202050 + .4byte 0x534D3A20 + .4byte 0x30782530 + .4byte 0x34780000 + .4byte 0x4C324341 + .4byte 0x5F436F6E + .4byte 0x6E656374 + .4byte 0x52657128 + .4byte 0x29202042 + .4byte 0x44413A20 + .4byte 0x25303278 + .4byte 0x2D253032 + .4byte 0x782D2530 + .4byte 0x32782D25 + .4byte 0x3032782D + .4byte 0x25303278 + .4byte 0x2D253032 + .4byte 0x78000000 + .4byte 0x4C324341 + .4byte 0x5020636F + .4byte 0x6E6E6563 + .4byte 0x74207265 + .4byte 0x71202D20 + .4byte 0x42545520 + .4byte 0x6E6F7420 + .4byte 0x72656164 + .4byte 0x79000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2052 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x636F6E6E + .4byte 0x5F726571 + .4byte 0x2C205053 + .4byte 0x4D3A2030 + .4byte 0x78253034 + .4byte 0x78000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F204C + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x636F6E6E + .4byte 0x5F726571 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50204150 + .4byte 0x49202D20 + .4byte 0x4C324341 + .4byte 0x5F636F6E + .4byte 0x6E5F7265 + .4byte 0x71207265 + .4byte 0x6A656374 + .4byte 0x6564202D + .4byte 0x206C696E + .4byte 0x6B206469 + .4byte 0x73636F6E + .4byte 0x6E656374 + .4byte 0x696E6700 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x636F6E6E + .4byte 0x5F726571 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x4C324341 + .4byte 0x5F636F6E + .4byte 0x6E5F7265 + .4byte 0x71282920 + .4byte 0x72657475 + .4byte 0x726E6564 + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x5F436F6E + .4byte 0x6E656374 + .4byte 0x52737028 + .4byte 0x29202043 + .4byte 0x49443A20 + .4byte 0x30782530 + .4byte 0x34782020 + .4byte 0x52657375 + .4byte 0x6C743A20 + .4byte 0x25642020 + .4byte 0x53746174 + .4byte 0x75733A20 + .4byte 0x25640000 + .4byte 0x4C324341 + .4byte 0x5F436F6E + .4byte 0x6E656374 + .4byte 0x52737028 + .4byte 0x29202042 + .4byte 0x44413A20 + .4byte 0x25303278 + .4byte 0x2D253032 + .4byte 0x782D2530 + .4byte 0x32782D25 + .4byte 0x3032782D + .4byte 0x25303278 + .4byte 0x2D253032 + .4byte 0x78000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F204C + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x636F6E6E + .4byte 0x5F727370 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x636F6E6E + .4byte 0x5F727370 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x62616420 + .4byte 0x69642069 + .4byte 0x6E204C32 + .4byte 0x43415F63 + .4byte 0x6F6E6E5F + .4byte 0x7273702E + .4byte 0x20457870 + .4byte 0x3A202564 + .4byte 0x2020476F + .4byte 0x743A2025 + .4byte 0x64000000 + +.global "@1716_8043D988" +"@1716_8043D988": + + .4byte 0x4C324341 + .4byte 0x5F436F6E + .4byte 0x66696752 + .4byte 0x65712829 + .4byte 0x20204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x78000000 + +.global "@1717_8043D9A8" +"@1717_8043D9A8": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x6366675F + .4byte 0x7265712C + .4byte 0x20434944 + .4byte 0x3A202564 + .4byte 0 + +.global "@1725_8043D9D4" +"@1725_8043D9D4": + + .4byte 0x4C324341 + .4byte 0x5F436F6E + .4byte 0x66696752 + .4byte 0x73702829 + .4byte 0x20204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x78202052 + .4byte 0x6573756C + .4byte 0x743A2025 + .4byte 0x64000000 + +.global "@1726" +"@1726": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x6366675F + .4byte 0x7273702C + .4byte 0x20434944 + .4byte 0x3A202564 + .4byte 0 + +.global "@1732_8043DA2C" +"@1732_8043DA2C": + + .4byte 0x4C324341 + .4byte 0x5F446973 + .4byte 0x636F6E6E + .4byte 0x65637452 + .4byte 0x65712829 + .4byte 0x20204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x78000000 + +.global "@1733" +"@1733": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x64697363 + .4byte 0x5F726571 + .4byte 0x2C204349 + .4byte 0x443A2025 + .4byte 0x64000000 + +.global "@1738" +"@1738": + + .4byte 0x4C324341 + .4byte 0x5F446973 + .4byte 0x636F6E6E + .4byte 0x65637452 + .4byte 0x73702829 + .4byte 0x20204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x78000000 + +.global "@1739" +"@1739": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x64697363 + .4byte 0x5F727370 + .4byte 0x2C204349 + .4byte 0x443A2025 + .4byte 0x64000000 + .4byte 0x4C324341 + .4byte 0x5F446174 + .4byte 0x61577269 + .4byte 0x74652829 + .4byte 0x20204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x7820204C + .4byte 0x656E3A20 + .4byte 0x25640000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x44617461 + .4byte 0x57726974 + .4byte 0x652C2043 + .4byte 0x49443A20 + .4byte 0x25640000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x63616E6E + .4byte 0x6F742073 + .4byte 0x656E6420 + .4byte 0x6D657373 + .4byte 0x61676520 + .4byte 0x62696767 + .4byte 0x65722074 + .4byte 0x68616E20 + .4byte 0x70656572 + .4byte 0x2773206D + .4byte 0x74752073 + .4byte 0x697A6500 + .4byte 0x4C324341 + .4byte 0x5F50696E + .4byte 0x67282920 + .4byte 0x20424441 + .4byte 0x3A202530 + .4byte 0x32782D25 + .4byte 0x3032782D + .4byte 0x25303278 + .4byte 0x2D253032 + .4byte 0x782D2530 + .4byte 0x32782D25 + .4byte 0x30327800 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F204C + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x70696E67 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x72656A65 + .4byte 0x63746564 + .4byte 0x20736563 + .4byte 0x6F6E6420 + .4byte 0x4C324341 + .4byte 0x5F70696E + .4byte 0x67000000 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x4C324341 + .4byte 0x5F70696E + .4byte 0x67207265 + .4byte 0x6A656374 + .4byte 0x6564202D + .4byte 0x206C696E + .4byte 0x6B206469 + .4byte 0x73636F6E + .4byte 0x6E656374 + .4byte 0x696E6700 + +.global "@1778_8043DC00" +"@1778_8043DC00": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x53657449 + .4byte 0x646C6554 + .4byte 0x696D656F + .4byte 0x75742C20 + .4byte 0x4349443A + .4byte 0x20256400 + .4byte 0x4C324341 + .4byte 0x5F536574 + .4byte 0x41636C50 + .4byte 0x72696F72 + .4byte 0x69747928 + .4byte 0x29202062 + .4byte 0x64616464 + .4byte 0x723A2025 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327825 + .4byte 0x30327800 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F204C + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x53657441 + .4byte 0x636C5072 + .4byte 0x696F7269 + .4byte 0x74790000 + .4byte 0x4C324341 + .4byte 0x5F536574 + .4byte 0x436F6D70 + .4byte 0x72657373 + .4byte 0x696F6E28 + .4byte 0x29206C6F + .4byte 0x63616C20 + .4byte 0x63696420 + .4byte 0x25642C20 + .4byte 0x64697265 + .4byte 0x6374696F + .4byte 0x6E202564 + .4byte 0x2C207065 + .4byte 0x5F747970 + .4byte 0x65202564 + .4byte 0x2C206D65 + .4byte 0x6D5F6C65 + .4byte 0x76656C20 + .4byte 0x25642C20 + .4byte 0x77626974 + .4byte 0x73202564 + .4byte 0x2C20656E + .4byte 0x61626C65 + .4byte 0x20256400 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F72204C + .4byte 0x3243415F + .4byte 0x466C7573 + .4byte 0x682C2043 + .4byte 0x49443A20 + .4byte 0x25640000 + .4byte 0x4C324341 + .4byte 0x5F466C75 + .4byte 0x73682829 + .4byte 0x20204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x7820666C + .4byte 0x75736865 + .4byte 0x64202564 + .4byte 0x20627566 + .4byte 0x66657273 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x5F476574 + .4byte 0x4E756D51 + .4byte 0x75657565 + .4byte 0x64427566 + .4byte 0x73282920 + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0x20206162 + .4byte 0x6D6F726D + .4byte 0x616C6C79 + .4byte 0x20726574 + .4byte 0x75726E69 + .4byte 0x6E672030 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x5F476574 + .4byte 0x4E756D51 + .4byte 0x75657565 + .4byte 0x64427566 + .4byte 0x73282920 + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0x20207265 + .4byte 0x7475726E + .4byte 0x696E6720 + .4byte 0x25640000 + .4byte 0 diff --git a/asm/bte/l2c_api_8043d630.s b/asm/bte/l2c_api_8043d630.s deleted file mode 100644 index b7fc9180..00000000 --- a/asm/bte/l2c_api_8043d630.s +++ /dev/null @@ -1,534 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1653" -"@1653": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x4C324341 - .4byte 0x5F526567 - .4byte 0x69737465 - .4byte 0x72282920 - .4byte 0x63616C6C - .4byte 0x65642066 - .4byte 0x6F722050 - .4byte 0x534D3A20 - .4byte 0x30782530 - .4byte 0x34780000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2063 - .4byte 0x62207265 - .4byte 0x67697374 - .4byte 0x6572696E - .4byte 0x67205053 - .4byte 0x4D3A2030 - .4byte 0x78253034 - .4byte 0x78000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x696E7661 - .4byte 0x6C696420 - .4byte 0x50534D20 - .4byte 0x76616C75 - .4byte 0x652C2050 - .4byte 0x534D3A20 - .4byte 0x30782530 - .4byte 0x34780000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2052 - .4byte 0x43422061 - .4byte 0x7661696C - .4byte 0x61626C65 - .4byte 0x2C205053 - .4byte 0x4D3A2030 - .4byte 0x78253034 - .4byte 0x78000000 - -.global "@1663_8043D6D8" -"@1663_8043D6D8": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x4C324341 - .4byte 0x5F446572 - .4byte 0x65676973 - .4byte 0x74657228 - .4byte 0x29206361 - .4byte 0x6C6C6564 - .4byte 0x20666F72 - .4byte 0x2050534D - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0 - -.global "@1664_8043D70C" -"@1664_8043D70C": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x50534D3A - .4byte 0x20307825 - .4byte 0x30347820 - .4byte 0x6E6F7420 - .4byte 0x666F756E - .4byte 0x6420666F - .4byte 0x72206465 - .4byte 0x72656769 - .4byte 0x73747261 - .4byte 0x74696F6E - .4byte 0 - .4byte 0x4C324341 - .4byte 0x5F436F6E - .4byte 0x6E656374 - .4byte 0x52657128 - .4byte 0x29202050 - .4byte 0x534D3A20 - .4byte 0x30782530 - .4byte 0x34780000 - .4byte 0x4C324341 - .4byte 0x5F436F6E - .4byte 0x6E656374 - .4byte 0x52657128 - .4byte 0x29202042 - .4byte 0x44413A20 - .4byte 0x25303278 - .4byte 0x2D253032 - .4byte 0x782D2530 - .4byte 0x32782D25 - .4byte 0x3032782D - .4byte 0x25303278 - .4byte 0x2D253032 - .4byte 0x78000000 - .4byte 0x4C324341 - .4byte 0x5020636F - .4byte 0x6E6E6563 - .4byte 0x74207265 - .4byte 0x71202D20 - .4byte 0x42545520 - .4byte 0x6E6F7420 - .4byte 0x72656164 - .4byte 0x79000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2052 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x636F6E6E - .4byte 0x5F726571 - .4byte 0x2C205053 - .4byte 0x4D3A2030 - .4byte 0x78253034 - .4byte 0x78000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F204C - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x636F6E6E - .4byte 0x5F726571 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50204150 - .4byte 0x49202D20 - .4byte 0x4C324341 - .4byte 0x5F636F6E - .4byte 0x6E5F7265 - .4byte 0x71207265 - .4byte 0x6A656374 - .4byte 0x6564202D - .4byte 0x206C696E - .4byte 0x6B206469 - .4byte 0x73636F6E - .4byte 0x6E656374 - .4byte 0x696E6700 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x636F6E6E - .4byte 0x5F726571 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x4C324341 - .4byte 0x5F636F6E - .4byte 0x6E5F7265 - .4byte 0x71282920 - .4byte 0x72657475 - .4byte 0x726E6564 - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x5F436F6E - .4byte 0x6E656374 - .4byte 0x52737028 - .4byte 0x29202043 - .4byte 0x49443A20 - .4byte 0x30782530 - .4byte 0x34782020 - .4byte 0x52657375 - .4byte 0x6C743A20 - .4byte 0x25642020 - .4byte 0x53746174 - .4byte 0x75733A20 - .4byte 0x25640000 - .4byte 0x4C324341 - .4byte 0x5F436F6E - .4byte 0x6E656374 - .4byte 0x52737028 - .4byte 0x29202042 - .4byte 0x44413A20 - .4byte 0x25303278 - .4byte 0x2D253032 - .4byte 0x782D2530 - .4byte 0x32782D25 - .4byte 0x3032782D - .4byte 0x25303278 - .4byte 0x2D253032 - .4byte 0x78000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F204C - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x636F6E6E - .4byte 0x5F727370 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x636F6E6E - .4byte 0x5F727370 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x62616420 - .4byte 0x69642069 - .4byte 0x6E204C32 - .4byte 0x43415F63 - .4byte 0x6F6E6E5F - .4byte 0x7273702E - .4byte 0x20457870 - .4byte 0x3A202564 - .4byte 0x2020476F - .4byte 0x743A2025 - .4byte 0x64000000 - -.global "@1716_8043D988" -"@1716_8043D988": - - .4byte 0x4C324341 - .4byte 0x5F436F6E - .4byte 0x66696752 - .4byte 0x65712829 - .4byte 0x20204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x78000000 - -.global "@1717_8043D9A8" -"@1717_8043D9A8": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x6366675F - .4byte 0x7265712C - .4byte 0x20434944 - .4byte 0x3A202564 - .4byte 0 - -.global "@1725_8043D9D4" -"@1725_8043D9D4": - - .4byte 0x4C324341 - .4byte 0x5F436F6E - .4byte 0x66696752 - .4byte 0x73702829 - .4byte 0x20204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x78202052 - .4byte 0x6573756C - .4byte 0x743A2025 - .4byte 0x64000000 - -.global "@1726" -"@1726": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x6366675F - .4byte 0x7273702C - .4byte 0x20434944 - .4byte 0x3A202564 - .4byte 0 - -.global "@1732_8043DA2C" -"@1732_8043DA2C": - - .4byte 0x4C324341 - .4byte 0x5F446973 - .4byte 0x636F6E6E - .4byte 0x65637452 - .4byte 0x65712829 - .4byte 0x20204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x78000000 - -.global "@1733" -"@1733": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x64697363 - .4byte 0x5F726571 - .4byte 0x2C204349 - .4byte 0x443A2025 - .4byte 0x64000000 - -.global "@1738" -"@1738": - - .4byte 0x4C324341 - .4byte 0x5F446973 - .4byte 0x636F6E6E - .4byte 0x65637452 - .4byte 0x73702829 - .4byte 0x20204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x78000000 - -.global "@1739" -"@1739": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x64697363 - .4byte 0x5F727370 - .4byte 0x2C204349 - .4byte 0x443A2025 - .4byte 0x64000000 - .4byte 0x4C324341 - .4byte 0x5F446174 - .4byte 0x61577269 - .4byte 0x74652829 - .4byte 0x20204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x7820204C - .4byte 0x656E3A20 - .4byte 0x25640000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x44617461 - .4byte 0x57726974 - .4byte 0x652C2043 - .4byte 0x49443A20 - .4byte 0x25640000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x63616E6E - .4byte 0x6F742073 - .4byte 0x656E6420 - .4byte 0x6D657373 - .4byte 0x61676520 - .4byte 0x62696767 - .4byte 0x65722074 - .4byte 0x68616E20 - .4byte 0x70656572 - .4byte 0x2773206D - .4byte 0x74752073 - .4byte 0x697A6500 - .4byte 0x4C324341 - .4byte 0x5F50696E - .4byte 0x67282920 - .4byte 0x20424441 - .4byte 0x3A202530 - .4byte 0x32782D25 - .4byte 0x3032782D - .4byte 0x25303278 - .4byte 0x2D253032 - .4byte 0x782D2530 - .4byte 0x32782D25 - .4byte 0x30327800 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F204C - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x70696E67 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x72656A65 - .4byte 0x63746564 - .4byte 0x20736563 - .4byte 0x6F6E6420 - .4byte 0x4C324341 - .4byte 0x5F70696E - .4byte 0x67000000 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x4C324341 - .4byte 0x5F70696E - .4byte 0x67207265 - .4byte 0x6A656374 - .4byte 0x6564202D - .4byte 0x206C696E - .4byte 0x6B206469 - .4byte 0x73636F6E - .4byte 0x6E656374 - .4byte 0x696E6700 - -.global "@1778_8043DC00" -"@1778_8043DC00": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x53657449 - .4byte 0x646C6554 - .4byte 0x696D656F - .4byte 0x75742C20 - .4byte 0x4349443A - .4byte 0x20256400 - .4byte 0x4C324341 - .4byte 0x5F536574 - .4byte 0x41636C50 - .4byte 0x72696F72 - .4byte 0x69747928 - .4byte 0x29202062 - .4byte 0x64616464 - .4byte 0x723A2025 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327825 - .4byte 0x30327800 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F204C - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x53657441 - .4byte 0x636C5072 - .4byte 0x696F7269 - .4byte 0x74790000 - .4byte 0x4C324341 - .4byte 0x5F536574 - .4byte 0x436F6D70 - .4byte 0x72657373 - .4byte 0x696F6E28 - .4byte 0x29206C6F - .4byte 0x63616C20 - .4byte 0x63696420 - .4byte 0x25642C20 - .4byte 0x64697265 - .4byte 0x6374696F - .4byte 0x6E202564 - .4byte 0x2C207065 - .4byte 0x5F747970 - .4byte 0x65202564 - .4byte 0x2C206D65 - .4byte 0x6D5F6C65 - .4byte 0x76656C20 - .4byte 0x25642C20 - .4byte 0x77626974 - .4byte 0x73202564 - .4byte 0x2C20656E - .4byte 0x61626C65 - .4byte 0x20256400 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F72204C - .4byte 0x3243415F - .4byte 0x466C7573 - .4byte 0x682C2043 - .4byte 0x49443A20 - .4byte 0x25640000 - .4byte 0x4C324341 - .4byte 0x5F466C75 - .4byte 0x73682829 - .4byte 0x20204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x7820666C - .4byte 0x75736865 - .4byte 0x64202564 - .4byte 0x20627566 - .4byte 0x66657273 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x5F476574 - .4byte 0x4E756D51 - .4byte 0x75657565 - .4byte 0x64427566 - .4byte 0x73282920 - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0x20206162 - .4byte 0x6D6F726D - .4byte 0x616C6C79 - .4byte 0x20726574 - .4byte 0x75726E69 - .4byte 0x6E672030 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x5F476574 - .4byte 0x4E756D51 - .4byte 0x75657565 - .4byte 0x64427566 - .4byte 0x73282920 - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0x20207265 - .4byte 0x7475726E - .4byte 0x696E6720 - .4byte 0x25640000 - .4byte 0 diff --git a/asm/bte/l2c_csm_80090da8.s b/asm/bte/l2c_csm.s similarity index 87% rename from asm/bte/l2c_csm_80090da8.s rename to asm/bte/l2c_csm.s index 68aec805..4d732c58 100644 --- a/asm/bte/l2c_csm_80090da8.s +++ b/asm/bte/l2c_csm.s @@ -1707,3 +1707,595 @@ lbl_80092264: /* 80092278 0008E0B8 7C 08 03 A6 */ mtlr r0 /* 8009227C 0008E0BC 38 21 00 20 */ addi r1, r1, 0x20 /* 80092280 0008E0C0 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1658" +"@1658": + + .4byte lbl_80090DCC + .4byte lbl_80090DD0 + .4byte lbl_80090DD4 + .4byte lbl_80090DD8 + .4byte lbl_80090DDC + .4byte lbl_80090DE0 + .4byte lbl_80090DE4 + .4byte lbl_80090DE8 + .4byte lbl_80090DEC + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x434C4F53 + .4byte 0x45442065 + .4byte 0x76743A20 + .4byte 0x25640000 + +.global "@1686_8043DE00" +"@1686_8043DE00": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x44697363 + .4byte 0x6F6E6E65 + .4byte 0x63745F49 + .4byte 0x6E645F43 + .4byte 0x6228292C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0x20204E6F + .4byte 0x20436F6E + .4byte 0x66204E65 + .4byte 0x65646564 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E6E + .4byte 0x65637443 + .4byte 0x666D5F43 + .4byte 0x6228292C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0x20205374 + .4byte 0x61747573 + .4byte 0x3A202564 + .4byte 0 + +.global "@1690" +"@1690": + + .4byte lbl_80090EB4 + .4byte lbl_80090EE4 + .4byte lbl_80091070 + .4byte lbl_80090E70 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80090F68 + .4byte lbl_80090F8C + .4byte lbl_80091070 + .4byte lbl_80090FD8 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_8009105C + .4byte lbl_80090F2C + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_80091068 + .4byte lbl_80091070 + .4byte lbl_80091070 + .4byte lbl_8009105C + .4byte lbl_80091008 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x4F524947 + .4byte 0x5F57345F + .4byte 0x5345435F + .4byte 0x434F4D50 + .4byte 0x20657674 + .4byte 0x3A202564 + .4byte 0 + +.global "@1707_8043DF24" +"@1707_8043DF24": + + .4byte lbl_80091108 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_8009114C + .4byte lbl_80091178 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911C0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911CC + .4byte lbl_800911E0 + .4byte lbl_800911E0 + .4byte lbl_800911C0 + +.global "@1721" +"@1721": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x5445524D + .4byte 0x5F57345F + .4byte 0x5345435F + .4byte 0x434F4D50 + .4byte 0x20657674 + .4byte 0x3A202564 + .4byte 0 + +.global "@1722" +"@1722": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E6E + .4byte 0x6563745F + .4byte 0x496E645F + .4byte 0x43622829 + .4byte 0x2C204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x78000000 + +.global "@1725_8043DFE8" +"@1725_8043DFE8": + + .4byte lbl_80091268 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091280 + .4byte lbl_800912E8 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_8009131C + .4byte lbl_80091344 + .4byte lbl_80091304 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091310 + .4byte lbl_80091344 + .4byte lbl_80091344 + .4byte lbl_80091304 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x57345F4C + .4byte 0x32434150 + .4byte 0x5F434F4E + .4byte 0x5F525350 + .4byte 0x20657674 + .4byte 0x3A202564 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E6E + .4byte 0x6563745F + .4byte 0x43666D5F + .4byte 0x43622829 + .4byte 0x2C204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x782C2053 + .4byte 0x75636365 + .4byte 0x73730000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E6E + .4byte 0x6563745F + .4byte 0x506E645F + .4byte 0x43622829 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E6E + .4byte 0x6563745F + .4byte 0x43666D5F + .4byte 0x43622829 + .4byte 0x2C204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x782C2046 + .4byte 0x61696C75 + .4byte 0x72652043 + .4byte 0x6F64653A + .4byte 0x20256400 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E6E + .4byte 0x6563745F + .4byte 0x43666D5F + .4byte 0x43622829 + .4byte 0x2C204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x782C2054 + .4byte 0x696D656F + .4byte 0x75740000 + +.global "@1751" +"@1751": + + .4byte lbl_800913E0 + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009142C + .4byte lbl_8009148C + .4byte lbl_800914E4 + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_80091584 + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_80091578 + .4byte lbl_8009158C + .4byte lbl_8009158C + .4byte lbl_80091584 + .4byte lbl_8009152C + +.global "@1770_8043E1C0" +"@1770_8043E1C0": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x57345F4C + .4byte 0x3243415F + .4byte 0x434F4E5F + .4byte 0x52535020 + .4byte 0x6576743A + .4byte 0x20256400 + +.global "@1773" +"@1773": + + .4byte lbl_8009161C + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091738 + .4byte lbl_80091764 + .4byte lbl_80091664 + .4byte lbl_800916C4 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091744 + .4byte lbl_80091764 + .4byte lbl_80091764 + .4byte lbl_80091738 + .4byte lbl_800916E0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x434F4E46 + .4byte 0x49472065 + .4byte 0x76743A20 + .4byte 0x25640000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E66 + .4byte 0x69675F52 + .4byte 0x65715F43 + .4byte 0x6228292C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E66 + .4byte 0x69675F52 + .4byte 0x73705F43 + .4byte 0x6228292C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E66 + .4byte 0x69675F52 + .4byte 0x73705F43 + .4byte 0x6228292C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0x2C204661 + .4byte 0x696C7572 + .4byte 0x653A2025 + .4byte 0x64000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x44697363 + .4byte 0x6F6E6E65 + .4byte 0x63745F49 + .4byte 0x6E645F43 + .4byte 0x6228292C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0x2020436F + .4byte 0x6E66204E + .4byte 0x65656465 + .4byte 0x64000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x44617461 + .4byte 0x496E645F + .4byte 0x43622829 + .4byte 0x2C204349 + .4byte 0x443A2030 + .4byte 0x78253034 + .4byte 0x78000000 + +.global "@1808_8043E378" +"@1808_8043E378": + + .4byte lbl_800917F8 + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_8009183C + .4byte lbl_800918A0 + .4byte lbl_8009191C + .4byte lbl_80091968 + .4byte lbl_80091B2C + .4byte lbl_80091A7C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_800919C0 + .4byte lbl_800919EC + .4byte lbl_80091A38 + .4byte lbl_80091A58 + .4byte lbl_80091B2C + .4byte lbl_80091B2C + .4byte lbl_80091ABC + .4byte lbl_80091AE4 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x4F50454E + .4byte 0x20657674 + .4byte 0x3A202564 + .4byte 0 + +.global "@1832_8043E404" +"@1832_8043E404": + + .4byte lbl_80091BC0 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091C04 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091C28 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091CA0 + .4byte lbl_80091D88 + .4byte lbl_80091CF8 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D50 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D14 + .4byte lbl_80091D88 + .4byte lbl_80091D88 + .4byte lbl_80091D38 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x57345F4C + .4byte 0x32434150 + .4byte 0x5F444953 + .4byte 0x435F5253 + .4byte 0x50206576 + .4byte 0x743A2025 + .4byte 0x64000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x44697363 + .4byte 0x6F6E6E65 + .4byte 0x63744366 + .4byte 0x6D5F4362 + .4byte 0x28292C20 + .4byte 0x4349443A + .4byte 0x20307825 + .4byte 0x30347800 + +.global "@1852_8043E4C8" +"@1852_8043E4C8": + + .4byte lbl_80091E20 + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091EB0 + .4byte lbl_80091E64 + .4byte lbl_80091F64 + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F6C + .4byte lbl_80091F64 + .4byte lbl_80091F10 + +.global "@1863" +"@1863": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x73743A20 + .4byte 0x57345F4C + .4byte 0x3243415F + .4byte 0x44495343 + .4byte 0x5F525350 + .4byte 0x20657674 + .4byte 0x3A202564 + .4byte 0 + +.global "@1866" +"@1866": + + .4byte lbl_80091FFC + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C0 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920C8 + .4byte lbl_800920A0 + .4byte lbl_800920C8 + .4byte lbl_800920C0 + .4byte lbl_80092044 + +.global "@1883" +"@1883": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x63616E6E + .4byte 0x6F742073 + .4byte 0x656E6420 + .4byte 0x62756666 + .4byte 0x65722C20 + .4byte 0x6F666673 + .4byte 0x65743A20 + .4byte 0x25640000 diff --git a/asm/bte/l2c_csm_8043ddc0.s b/asm/bte/l2c_csm_8043ddc0.s deleted file mode 100644 index 546b2fa4..00000000 --- a/asm/bte/l2c_csm_8043ddc0.s +++ /dev/null @@ -1,592 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1658" -"@1658": - - .4byte lbl_80090DCC - .4byte lbl_80090DD0 - .4byte lbl_80090DD4 - .4byte lbl_80090DD8 - .4byte lbl_80090DDC - .4byte lbl_80090DE0 - .4byte lbl_80090DE4 - .4byte lbl_80090DE8 - .4byte lbl_80090DEC - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x434C4F53 - .4byte 0x45442065 - .4byte 0x76743A20 - .4byte 0x25640000 - -.global "@1686_8043DE00" -"@1686_8043DE00": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x44697363 - .4byte 0x6F6E6E65 - .4byte 0x63745F49 - .4byte 0x6E645F43 - .4byte 0x6228292C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0x20204E6F - .4byte 0x20436F6E - .4byte 0x66204E65 - .4byte 0x65646564 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E6E - .4byte 0x65637443 - .4byte 0x666D5F43 - .4byte 0x6228292C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0x20205374 - .4byte 0x61747573 - .4byte 0x3A202564 - .4byte 0 - -.global "@1690" -"@1690": - - .4byte lbl_80090EB4 - .4byte lbl_80090EE4 - .4byte lbl_80091070 - .4byte lbl_80090E70 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80090F68 - .4byte lbl_80090F8C - .4byte lbl_80091070 - .4byte lbl_80090FD8 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_8009105C - .4byte lbl_80090F2C - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_80091068 - .4byte lbl_80091070 - .4byte lbl_80091070 - .4byte lbl_8009105C - .4byte lbl_80091008 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x4F524947 - .4byte 0x5F57345F - .4byte 0x5345435F - .4byte 0x434F4D50 - .4byte 0x20657674 - .4byte 0x3A202564 - .4byte 0 - -.global "@1707_8043DF24" -"@1707_8043DF24": - - .4byte lbl_80091108 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_8009114C - .4byte lbl_80091178 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911C0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911CC - .4byte lbl_800911E0 - .4byte lbl_800911E0 - .4byte lbl_800911C0 - -.global "@1721" -"@1721": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x5445524D - .4byte 0x5F57345F - .4byte 0x5345435F - .4byte 0x434F4D50 - .4byte 0x20657674 - .4byte 0x3A202564 - .4byte 0 - -.global "@1722" -"@1722": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E6E - .4byte 0x6563745F - .4byte 0x496E645F - .4byte 0x43622829 - .4byte 0x2C204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x78000000 - -.global "@1725_8043DFE8" -"@1725_8043DFE8": - - .4byte lbl_80091268 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091280 - .4byte lbl_800912E8 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_8009131C - .4byte lbl_80091344 - .4byte lbl_80091304 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091310 - .4byte lbl_80091344 - .4byte lbl_80091344 - .4byte lbl_80091304 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x57345F4C - .4byte 0x32434150 - .4byte 0x5F434F4E - .4byte 0x5F525350 - .4byte 0x20657674 - .4byte 0x3A202564 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E6E - .4byte 0x6563745F - .4byte 0x43666D5F - .4byte 0x43622829 - .4byte 0x2C204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x782C2053 - .4byte 0x75636365 - .4byte 0x73730000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E6E - .4byte 0x6563745F - .4byte 0x506E645F - .4byte 0x43622829 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E6E - .4byte 0x6563745F - .4byte 0x43666D5F - .4byte 0x43622829 - .4byte 0x2C204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x782C2046 - .4byte 0x61696C75 - .4byte 0x72652043 - .4byte 0x6F64653A - .4byte 0x20256400 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E6E - .4byte 0x6563745F - .4byte 0x43666D5F - .4byte 0x43622829 - .4byte 0x2C204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x782C2054 - .4byte 0x696D656F - .4byte 0x75740000 - -.global "@1751" -"@1751": - - .4byte lbl_800913E0 - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009142C - .4byte lbl_8009148C - .4byte lbl_800914E4 - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_80091584 - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_80091578 - .4byte lbl_8009158C - .4byte lbl_8009158C - .4byte lbl_80091584 - .4byte lbl_8009152C - -.global "@1770_8043E1C0" -"@1770_8043E1C0": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x57345F4C - .4byte 0x3243415F - .4byte 0x434F4E5F - .4byte 0x52535020 - .4byte 0x6576743A - .4byte 0x20256400 - -.global "@1773" -"@1773": - - .4byte lbl_8009161C - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091738 - .4byte lbl_80091764 - .4byte lbl_80091664 - .4byte lbl_800916C4 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091744 - .4byte lbl_80091764 - .4byte lbl_80091764 - .4byte lbl_80091738 - .4byte lbl_800916E0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x434F4E46 - .4byte 0x49472065 - .4byte 0x76743A20 - .4byte 0x25640000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E66 - .4byte 0x69675F52 - .4byte 0x65715F43 - .4byte 0x6228292C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E66 - .4byte 0x69675F52 - .4byte 0x73705F43 - .4byte 0x6228292C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E66 - .4byte 0x69675F52 - .4byte 0x73705F43 - .4byte 0x6228292C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0x2C204661 - .4byte 0x696C7572 - .4byte 0x653A2025 - .4byte 0x64000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x44697363 - .4byte 0x6F6E6E65 - .4byte 0x63745F49 - .4byte 0x6E645F43 - .4byte 0x6228292C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0x2020436F - .4byte 0x6E66204E - .4byte 0x65656465 - .4byte 0x64000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x44617461 - .4byte 0x496E645F - .4byte 0x43622829 - .4byte 0x2C204349 - .4byte 0x443A2030 - .4byte 0x78253034 - .4byte 0x78000000 - -.global "@1808_8043E378" -"@1808_8043E378": - - .4byte lbl_800917F8 - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_8009183C - .4byte lbl_800918A0 - .4byte lbl_8009191C - .4byte lbl_80091968 - .4byte lbl_80091B2C - .4byte lbl_80091A7C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_800919C0 - .4byte lbl_800919EC - .4byte lbl_80091A38 - .4byte lbl_80091A58 - .4byte lbl_80091B2C - .4byte lbl_80091B2C - .4byte lbl_80091ABC - .4byte lbl_80091AE4 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x4F50454E - .4byte 0x20657674 - .4byte 0x3A202564 - .4byte 0 - -.global "@1832_8043E404" -"@1832_8043E404": - - .4byte lbl_80091BC0 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091C04 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091C28 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091CA0 - .4byte lbl_80091D88 - .4byte lbl_80091CF8 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D50 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D14 - .4byte lbl_80091D88 - .4byte lbl_80091D88 - .4byte lbl_80091D38 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x57345F4C - .4byte 0x32434150 - .4byte 0x5F444953 - .4byte 0x435F5253 - .4byte 0x50206576 - .4byte 0x743A2025 - .4byte 0x64000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x44697363 - .4byte 0x6F6E6E65 - .4byte 0x63744366 - .4byte 0x6D5F4362 - .4byte 0x28292C20 - .4byte 0x4349443A - .4byte 0x20307825 - .4byte 0x30347800 - -.global "@1852_8043E4C8" -"@1852_8043E4C8": - - .4byte lbl_80091E20 - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091EB0 - .4byte lbl_80091E64 - .4byte lbl_80091F64 - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F6C - .4byte lbl_80091F64 - .4byte lbl_80091F10 - -.global "@1863" -"@1863": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x73743A20 - .4byte 0x57345F4C - .4byte 0x3243415F - .4byte 0x44495343 - .4byte 0x5F525350 - .4byte 0x20657674 - .4byte 0x3A202564 - .4byte 0 - -.global "@1866" -"@1866": - - .4byte lbl_80091FFC - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C0 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920C8 - .4byte lbl_800920A0 - .4byte lbl_800920C8 - .4byte lbl_800920C0 - .4byte lbl_80092044 - -.global "@1883" -"@1883": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x63616E6E - .4byte 0x6F742073 - .4byte 0x656E6420 - .4byte 0x62756666 - .4byte 0x65722C20 - .4byte 0x6F666673 - .4byte 0x65743A20 - .4byte 0x25640000 diff --git a/asm/bte/l2c_link_80092284.s b/asm/bte/l2c_link.s similarity index 95% rename from asm/bte/l2c_link_80092284.s rename to asm/bte/l2c_link.s index 4f07b6e0..10136c17 100644 --- a/asm/bte/l2c_link_80092284.s +++ b/asm/bte/l2c_link.s @@ -1384,3 +1384,201 @@ lbl_80093400: /* 80093404 0008F244 7C 08 03 A6 */ mtlr r0 /* 80093408 0008F248 38 21 00 10 */ addi r1, r1, 0x10 /* 8009340C 0008F24C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1744_8043E5F8" +"@1744_8043E5F8": + + .4byte 0x4C324341 + .4byte 0x50206661 + .4byte 0x696C6564 + .4byte 0x20746F20 + .4byte 0x616C6C6F + .4byte 0x63617465 + .4byte 0x204C4342 + .4byte 0 + +.global "@1745_8043E618" +"@1745_8043E618": + + .4byte 0x4C324341 + .4byte 0x5020676F + .4byte 0x7420636F + .4byte 0x6E6E5F72 + .4byte 0x65712077 + .4byte 0x68696C65 + .4byte 0x20636F6E + .4byte 0x6E656374 + .4byte 0x65640000 + .4byte 0 + +.global "@1771" +"@1771": + + .4byte 0x4C324341 + .4byte 0x5020676F + .4byte 0x7420636F + .4byte 0x6E6E5F63 + .4byte 0x6F6D7020 + .4byte 0x666F7220 + .4byte 0x756E6B6E + .4byte 0x6F776E20 + .4byte 0x42445F41 + .4byte 0x44445200 + +.global "@1772" +"@1772": + + .4byte 0x4C324341 + .4byte 0x5020676F + .4byte 0x7420636F + .4byte 0x6E6E5F63 + .4byte 0x6F6D7020 + .4byte 0x696E2062 + .4byte 0x61642073 + .4byte 0x74617465 + .4byte 0x3A202564 + .4byte 0x20207374 + .4byte 0x61747573 + .4byte 0x3A203078 + .4byte 0x25640000 + +.global "@1783_8043E69C" +"@1783_8043E69C": + + .4byte 0x4C324341 + .4byte 0x5020676F + .4byte 0x74207365 + .4byte 0x635F636F + .4byte 0x6D702066 + .4byte 0x6F722075 + .4byte 0x6E6B6E6F + .4byte 0x776E2042 + .4byte 0x445F4144 + .4byte 0x44520000 + +.global "@1822_8043E6C4" +"@1822_8043E6C4": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x70696E67 + .4byte 0x2074696D + .4byte 0x656F7574 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x436F6E67 + .4byte 0x65737465 + .4byte 0x6428292C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25303478 + .4byte 0x2C20436F + .4byte 0x6E676573 + .4byte 0x74656400 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E67 + .4byte 0x65737469 + .4byte 0x6F6E5374 + .4byte 0x61747573 + .4byte 0x5F436228 + .4byte 0x292C2043 + .4byte 0x49443A20 + .4byte 0x30782530 + .4byte 0x34782C20 + .4byte 0x436F6E67 + .4byte 0x65737465 + .4byte 0x64000000 + .4byte 0x21212120 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x62756666 + .4byte 0x65722064 + .4byte 0x726F7070 + .4byte 0x65640000 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x43616C6C + .4byte 0x696E6720 + .4byte 0x436F6E67 + .4byte 0x65737469 + .4byte 0x6F6E5374 + .4byte 0x61747573 + .4byte 0x5F436228 + .4byte 0x292C2043 + .4byte 0x49443A20 + .4byte 0x30782530 + .4byte 0x34782C20 + .4byte 0x556E636F + .4byte 0x6E676573 + .4byte 0x74656400 + +.global "@1907" +"@1907": + + .4byte 0x4C434220 + .4byte 0x25642050 + .4byte 0x72696F72 + .4byte 0x6974793A + .4byte 0x25642058 + .4byte 0x6D697457 + .4byte 0x696E646F + .4byte 0x773A2564 + .4byte 0x20436F6E + .4byte 0x67657374 + .4byte 0x696F6E20 + .4byte 0x53746172 + .4byte 0x743A2564 + .4byte 0x20456E64 + .4byte 0x3A256420 + .4byte 0x44697363 + .4byte 0x6172643A + .4byte 0x25640000 + +.global "@1949" +"@1949": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x64726F70 + .4byte 0x70696E67 + .4byte 0x20696E63 + .4byte 0x6F6D706C + .4byte 0x65746520 + .4byte 0x706B7400 + +.global "@1950" +"@1950": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x64726F70 + .4byte 0x70696E67 + .4byte 0x20746F6F + .4byte 0x206C6F6E + .4byte 0x6720706B + .4byte 0x74000000 + +.global "@1986" +"@1986": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x72637664 + .4byte 0x20736567 + .4byte 0x6D656E74 + .4byte 0x20636F6D + .4byte 0x706C6574 + .4byte 0x652C2075 + .4byte 0x6E6B6E6F + .4byte 0x776E2068 + .4byte 0x616E646C + .4byte 0x653A2025 + .4byte 0x64000000 + .4byte 0 diff --git a/asm/bte/l2c_link_8043e5f8.s b/asm/bte/l2c_link_8043e5f8.s deleted file mode 100644 index 548709f8..00000000 --- a/asm/bte/l2c_link_8043e5f8.s +++ /dev/null @@ -1,198 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1744_8043E5F8" -"@1744_8043E5F8": - - .4byte 0x4C324341 - .4byte 0x50206661 - .4byte 0x696C6564 - .4byte 0x20746F20 - .4byte 0x616C6C6F - .4byte 0x63617465 - .4byte 0x204C4342 - .4byte 0 - -.global "@1745_8043E618" -"@1745_8043E618": - - .4byte 0x4C324341 - .4byte 0x5020676F - .4byte 0x7420636F - .4byte 0x6E6E5F72 - .4byte 0x65712077 - .4byte 0x68696C65 - .4byte 0x20636F6E - .4byte 0x6E656374 - .4byte 0x65640000 - .4byte 0 - -.global "@1771" -"@1771": - - .4byte 0x4C324341 - .4byte 0x5020676F - .4byte 0x7420636F - .4byte 0x6E6E5F63 - .4byte 0x6F6D7020 - .4byte 0x666F7220 - .4byte 0x756E6B6E - .4byte 0x6F776E20 - .4byte 0x42445F41 - .4byte 0x44445200 - -.global "@1772" -"@1772": - - .4byte 0x4C324341 - .4byte 0x5020676F - .4byte 0x7420636F - .4byte 0x6E6E5F63 - .4byte 0x6F6D7020 - .4byte 0x696E2062 - .4byte 0x61642073 - .4byte 0x74617465 - .4byte 0x3A202564 - .4byte 0x20207374 - .4byte 0x61747573 - .4byte 0x3A203078 - .4byte 0x25640000 - -.global "@1783_8043E69C" -"@1783_8043E69C": - - .4byte 0x4C324341 - .4byte 0x5020676F - .4byte 0x74207365 - .4byte 0x635F636F - .4byte 0x6D702066 - .4byte 0x6F722075 - .4byte 0x6E6B6E6F - .4byte 0x776E2042 - .4byte 0x445F4144 - .4byte 0x44520000 - -.global "@1822_8043E6C4" -"@1822_8043E6C4": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x70696E67 - .4byte 0x2074696D - .4byte 0x656F7574 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x436F6E67 - .4byte 0x65737465 - .4byte 0x6428292C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25303478 - .4byte 0x2C20436F - .4byte 0x6E676573 - .4byte 0x74656400 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E67 - .4byte 0x65737469 - .4byte 0x6F6E5374 - .4byte 0x61747573 - .4byte 0x5F436228 - .4byte 0x292C2043 - .4byte 0x49443A20 - .4byte 0x30782530 - .4byte 0x34782C20 - .4byte 0x436F6E67 - .4byte 0x65737465 - .4byte 0x64000000 - .4byte 0x21212120 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x62756666 - .4byte 0x65722064 - .4byte 0x726F7070 - .4byte 0x65640000 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x43616C6C - .4byte 0x696E6720 - .4byte 0x436F6E67 - .4byte 0x65737469 - .4byte 0x6F6E5374 - .4byte 0x61747573 - .4byte 0x5F436228 - .4byte 0x292C2043 - .4byte 0x49443A20 - .4byte 0x30782530 - .4byte 0x34782C20 - .4byte 0x556E636F - .4byte 0x6E676573 - .4byte 0x74656400 - -.global "@1907" -"@1907": - - .4byte 0x4C434220 - .4byte 0x25642050 - .4byte 0x72696F72 - .4byte 0x6974793A - .4byte 0x25642058 - .4byte 0x6D697457 - .4byte 0x696E646F - .4byte 0x773A2564 - .4byte 0x20436F6E - .4byte 0x67657374 - .4byte 0x696F6E20 - .4byte 0x53746172 - .4byte 0x743A2564 - .4byte 0x20456E64 - .4byte 0x3A256420 - .4byte 0x44697363 - .4byte 0x6172643A - .4byte 0x25640000 - -.global "@1949" -"@1949": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x64726F70 - .4byte 0x70696E67 - .4byte 0x20696E63 - .4byte 0x6F6D706C - .4byte 0x65746520 - .4byte 0x706B7400 - -.global "@1950" -"@1950": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x64726F70 - .4byte 0x70696E67 - .4byte 0x20746F6F - .4byte 0x206C6F6E - .4byte 0x6720706B - .4byte 0x74000000 - -.global "@1986" -"@1986": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x72637664 - .4byte 0x20736567 - .4byte 0x6D656E74 - .4byte 0x20636F6D - .4byte 0x706C6574 - .4byte 0x652C2075 - .4byte 0x6E6B6E6F - .4byte 0x776E2068 - .4byte 0x616E646C - .4byte 0x653A2025 - .4byte 0x64000000 - .4byte 0 diff --git a/asm/bte/l2c_main_80093410.s b/asm/bte/l2c_main.s similarity index 93% rename from asm/bte/l2c_main_80093410.s rename to asm/bte/l2c_main.s index b4897ff6..c73ca606 100644 --- a/asm/bte/l2c_main_80093410.s +++ b/asm/bte/l2c_main.s @@ -1213,3 +1213,219 @@ lbl_80094428: /* 80094434 00090274 7C 08 03 A6 */ mtlr r0 /* 80094438 00090278 38 21 00 20 */ addi r1, r1, 0x20 /* 8009443C 0009027C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1563" +"@1563": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x65787065 + .4byte 0x63746564 + .4byte 0x20706B74 + .4byte 0x20737461 + .4byte 0x72742C20 + .4byte 0x676F743A + .4byte 0x20256400 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x686F6C64 + .4byte 0x696E6720 + .4byte 0x41434C20 + .4byte 0x666F7220 + .4byte 0x756E6B6E + .4byte 0x6F776E20 + .4byte 0x68616E64 + .4byte 0x6C653A25 + .4byte 0x64206C73 + .4byte 0x3A256420 + .4byte 0x6369643A + .4byte 0x2564206F + .4byte 0x70636F64 + .4byte 0x653A2564 + .4byte 0x20637572 + .4byte 0x20636F75 + .4byte 0x6E743A25 + .4byte 0x64000000 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x756E6B6E + .4byte 0x6F776E20 + .4byte 0x4349443A + .4byte 0x20256400 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x676F7420 + .4byte 0x696E636F + .4byte 0x72726563 + .4byte 0x74206863 + .4byte 0x69206865 + .4byte 0x61646572 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x62616420 + .4byte 0x6C656E67 + .4byte 0x74682069 + .4byte 0x6E20706B + .4byte 0x742E2045 + .4byte 0x78703A20 + .4byte 0x25642020 + .4byte 0x4163743A + .4byte 0x20256400 + .4byte 0x474F5420 + .4byte 0x434F4E4E + .4byte 0x45435449 + .4byte 0x4F4E4C45 + .4byte 0x53532044 + .4byte 0x41544120 + .4byte 0x50534D3A + .4byte 0x25640000 + .4byte 0x436F6D6D + .4byte 0x616E6420 + .4byte 0x6C656E20 + .4byte 0x62616420 + .4byte 0x20706B74 + .4byte 0x5F6C656E + .4byte 0x3A202564 + .4byte 0x2020636D + .4byte 0x645F6C65 + .4byte 0x6E3A2025 + .4byte 0x64202063 + .4byte 0x6F64653A + .4byte 0x20256400 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x4D545520 + .4byte 0x72656A20 + .4byte 0x48616E64 + .4byte 0x6C653A20 + .4byte 0x2564204D + .4byte 0x54553A20 + .4byte 0x25640000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x72656A20 + .4byte 0x77697468 + .4byte 0x20434944 + .4byte 0x20696E76 + .4byte 0x616C6964 + .4byte 0x2C204C43 + .4byte 0x49443A20 + .4byte 0x25642052 + .4byte 0x4349443A + .4byte 0x20256400 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x72637664 + .4byte 0x20636F6E + .4byte 0x6E207265 + .4byte 0x7120666F + .4byte 0x7220756E + .4byte 0x6B6E6F77 + .4byte 0x6E205053 + .4byte 0x4D3A2025 + .4byte 0x64000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x756E6162 + .4byte 0x6C652074 + .4byte 0x6F20616C + .4byte 0x6C6F6361 + .4byte 0x74652043 + .4byte 0x43420000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2043 + .4byte 0x43422066 + .4byte 0x6F722063 + .4byte 0x6F6E6E20 + .4byte 0x7273702C + .4byte 0x204C4349 + .4byte 0x443A2025 + .4byte 0x64205243 + .4byte 0x49443A20 + .4byte 0x25640000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x636F6E20 + .4byte 0x72737020 + .4byte 0x2D206261 + .4byte 0x64204944 + .4byte 0x2E204578 + .4byte 0x703A2025 + .4byte 0x6420476F + .4byte 0x743A2025 + .4byte 0x64000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x63666720 + .4byte 0x72737020 + .4byte 0x2D206261 + .4byte 0x64204944 + .4byte 0x2E204578 + .4byte 0x703A2025 + .4byte 0x6420476F + .4byte 0x743A2025 + .4byte 0x64000000 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x72637664 + .4byte 0x20636667 + .4byte 0x20727370 + .4byte 0x20666F72 + .4byte 0x20756E6B + .4byte 0x6E6F776E + .4byte 0x20434944 + .4byte 0x3A202564 + .4byte 0 + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x62616420 + .4byte 0x636D6420 + .4byte 0x636F6465 + .4byte 0x3A202564 + .4byte 0 + +.global "@1674_8043EB0C" +"@1674_8043EB0C": + + .4byte lbl_80094270 + .4byte lbl_80093920 + .4byte lbl_800939F4 + .4byte lbl_80093AC0 + .4byte lbl_80093BB8 + .4byte lbl_80093E68 + .4byte lbl_80094118 + .4byte lbl_8009418C + .4byte lbl_800941EC + .4byte lbl_8009422C + .4byte lbl_8009424C + .4byte lbl_800938A0 + +.global "@1693" +"@1693": + + .4byte 0x4C324341 + .4byte 0x5020484F + .4byte 0x4C442043 + .4byte 0x4F4E5449 + .4byte 0x4E554500 + +.global "@1694" +"@1694": + + .4byte 0x4C324341 + .4byte 0x5020484F + .4byte 0x4C442054 + .4byte 0x494D454F + .4byte 0x55540000 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global l2cb +l2cb: + .skip 0x7E8 diff --git a/asm/bte/l2c_main_8043e868.s b/asm/bte/l2c_main_8043e868.s deleted file mode 100644 index 07183a94..00000000 --- a/asm/bte/l2c_main_8043e868.s +++ /dev/null @@ -1,210 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1563" -"@1563": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x65787065 - .4byte 0x63746564 - .4byte 0x20706B74 - .4byte 0x20737461 - .4byte 0x72742C20 - .4byte 0x676F743A - .4byte 0x20256400 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x686F6C64 - .4byte 0x696E6720 - .4byte 0x41434C20 - .4byte 0x666F7220 - .4byte 0x756E6B6E - .4byte 0x6F776E20 - .4byte 0x68616E64 - .4byte 0x6C653A25 - .4byte 0x64206C73 - .4byte 0x3A256420 - .4byte 0x6369643A - .4byte 0x2564206F - .4byte 0x70636F64 - .4byte 0x653A2564 - .4byte 0x20637572 - .4byte 0x20636F75 - .4byte 0x6E743A25 - .4byte 0x64000000 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x756E6B6E - .4byte 0x6F776E20 - .4byte 0x4349443A - .4byte 0x20256400 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x676F7420 - .4byte 0x696E636F - .4byte 0x72726563 - .4byte 0x74206863 - .4byte 0x69206865 - .4byte 0x61646572 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x62616420 - .4byte 0x6C656E67 - .4byte 0x74682069 - .4byte 0x6E20706B - .4byte 0x742E2045 - .4byte 0x78703A20 - .4byte 0x25642020 - .4byte 0x4163743A - .4byte 0x20256400 - .4byte 0x474F5420 - .4byte 0x434F4E4E - .4byte 0x45435449 - .4byte 0x4F4E4C45 - .4byte 0x53532044 - .4byte 0x41544120 - .4byte 0x50534D3A - .4byte 0x25640000 - .4byte 0x436F6D6D - .4byte 0x616E6420 - .4byte 0x6C656E20 - .4byte 0x62616420 - .4byte 0x20706B74 - .4byte 0x5F6C656E - .4byte 0x3A202564 - .4byte 0x2020636D - .4byte 0x645F6C65 - .4byte 0x6E3A2025 - .4byte 0x64202063 - .4byte 0x6F64653A - .4byte 0x20256400 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x4D545520 - .4byte 0x72656A20 - .4byte 0x48616E64 - .4byte 0x6C653A20 - .4byte 0x2564204D - .4byte 0x54553A20 - .4byte 0x25640000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x72656A20 - .4byte 0x77697468 - .4byte 0x20434944 - .4byte 0x20696E76 - .4byte 0x616C6964 - .4byte 0x2C204C43 - .4byte 0x49443A20 - .4byte 0x25642052 - .4byte 0x4349443A - .4byte 0x20256400 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x72637664 - .4byte 0x20636F6E - .4byte 0x6E207265 - .4byte 0x7120666F - .4byte 0x7220756E - .4byte 0x6B6E6F77 - .4byte 0x6E205053 - .4byte 0x4D3A2025 - .4byte 0x64000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x756E6162 - .4byte 0x6C652074 - .4byte 0x6F20616C - .4byte 0x6C6F6361 - .4byte 0x74652043 - .4byte 0x43420000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2043 - .4byte 0x43422066 - .4byte 0x6F722063 - .4byte 0x6F6E6E20 - .4byte 0x7273702C - .4byte 0x204C4349 - .4byte 0x443A2025 - .4byte 0x64205243 - .4byte 0x49443A20 - .4byte 0x25640000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x636F6E20 - .4byte 0x72737020 - .4byte 0x2D206261 - .4byte 0x64204944 - .4byte 0x2E204578 - .4byte 0x703A2025 - .4byte 0x6420476F - .4byte 0x743A2025 - .4byte 0x64000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x63666720 - .4byte 0x72737020 - .4byte 0x2D206261 - .4byte 0x64204944 - .4byte 0x2E204578 - .4byte 0x703A2025 - .4byte 0x6420476F - .4byte 0x743A2025 - .4byte 0x64000000 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x72637664 - .4byte 0x20636667 - .4byte 0x20727370 - .4byte 0x20666F72 - .4byte 0x20756E6B - .4byte 0x6E6F776E - .4byte 0x20434944 - .4byte 0x3A202564 - .4byte 0 - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x62616420 - .4byte 0x636D6420 - .4byte 0x636F6465 - .4byte 0x3A202564 - .4byte 0 - -.global "@1674_8043EB0C" -"@1674_8043EB0C": - - .4byte lbl_80094270 - .4byte lbl_80093920 - .4byte lbl_800939F4 - .4byte lbl_80093AC0 - .4byte lbl_80093BB8 - .4byte lbl_80093E68 - .4byte lbl_80094118 - .4byte lbl_8009418C - .4byte lbl_800941EC - .4byte lbl_8009422C - .4byte lbl_8009424C - .4byte lbl_800938A0 - -.global "@1693" -"@1693": - - .4byte 0x4C324341 - .4byte 0x5020484F - .4byte 0x4C442043 - .4byte 0x4F4E5449 - .4byte 0x4E554500 - -.global "@1694" -"@1694": - - .4byte 0x4C324341 - .4byte 0x5020484F - .4byte 0x4C442054 - .4byte 0x494D454F - .4byte 0x55540000 - .4byte 0 diff --git a/asm/bte/l2c_main_804f9020.s b/asm/bte/l2c_main_804f9020.s deleted file mode 100644 index 6ce47c53..00000000 --- a/asm/bte/l2c_main_804f9020.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global l2cb -l2cb: - .skip 0x7E8 diff --git a/asm/bte/l2c_utils_80094440.s b/asm/bte/l2c_utils.s similarity index 98% rename from asm/bte/l2c_utils_80094440.s rename to asm/bte/l2c_utils.s index 29c1fd5c..0818ae88 100644 --- a/asm/bte/l2c_utils_80094440.s +++ b/asm/bte/l2c_utils.s @@ -2318,3 +2318,101 @@ lbl_800962F4: /* 800962F8 00092138 38 A5 00 B8 */ addi r5, r5, 0xb8 /* 800962FC 0009213C 42 00 FF 3C */ bdnz lbl_80096238 /* 80096300 00092140 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@2062" +"@2062": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2062 + .4byte 0x75666665 + .4byte 0x7220636D + .4byte 0x645F7265 + .4byte 0x6A000000 + +.global "@2067_8043EB84" +"@2067_8043EB84": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2062 + .4byte 0x75666665 + .4byte 0x7220666F + .4byte 0x7220636F + .4byte 0x6E6E5F72 + .4byte 0x65710000 + +.global "@2125" +"@2125": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2062 + .4byte 0x75666665 + .4byte 0x7220666F + .4byte 0x72206366 + .4byte 0x675F7265 + .4byte 0x6A000000 + +.global "@2159" +"@2159": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2062 + .4byte 0x75666665 + .4byte 0x7220666F + .4byte 0x72206563 + .4byte 0x686F5F72 + .4byte 0x65710000 + +.global "@2327" +"@2327": + + .4byte 0x6C326375 + .4byte 0x5F637265 + .4byte 0x6174655F + .4byte 0x636F6E6E + .4byte 0x202D2062 + .4byte 0x746D5F69 + .4byte 0x735F7363 + .4byte 0x6F5F6163 + .4byte 0x74697665 + .4byte 0x5F62795F + .4byte 0x62646164 + .4byte 0x64722829 + .4byte 0x2069735F + .4byte 0x73636F5F + .4byte 0x61637469 + .4byte 0x7665203D + .4byte 0x20257300 + +.global "@2338" +"@2338": + + .4byte 0x4C324341 + .4byte 0x50202D20 + .4byte 0x6E6F2062 + .4byte 0x75666665 + .4byte 0x7220666F + .4byte 0x72206C32 + .4byte 0x63755F63 + .4byte 0x72656174 + .4byte 0x655F636F + .4byte 0x6E6E0000 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global "@2328" +"@2328": + + .4byte 0x54525545 + .4byte 0 + +.global "@2329" +"@2329": + + .4byte 0x46414C53 + .4byte 0x45000000 diff --git a/asm/bte/l2c_utils_8043eb68.s b/asm/bte/l2c_utils_8043eb68.s deleted file mode 100644 index c3d15a0c..00000000 --- a/asm/bte/l2c_utils_8043eb68.s +++ /dev/null @@ -1,84 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@2062" -"@2062": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2062 - .4byte 0x75666665 - .4byte 0x7220636D - .4byte 0x645F7265 - .4byte 0x6A000000 - -.global "@2067_8043EB84" -"@2067_8043EB84": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2062 - .4byte 0x75666665 - .4byte 0x7220666F - .4byte 0x7220636F - .4byte 0x6E6E5F72 - .4byte 0x65710000 - -.global "@2125" -"@2125": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2062 - .4byte 0x75666665 - .4byte 0x7220666F - .4byte 0x72206366 - .4byte 0x675F7265 - .4byte 0x6A000000 - -.global "@2159" -"@2159": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2062 - .4byte 0x75666665 - .4byte 0x7220666F - .4byte 0x72206563 - .4byte 0x686F5F72 - .4byte 0x65710000 - -.global "@2327" -"@2327": - - .4byte 0x6C326375 - .4byte 0x5F637265 - .4byte 0x6174655F - .4byte 0x636F6E6E - .4byte 0x202D2062 - .4byte 0x746D5F69 - .4byte 0x735F7363 - .4byte 0x6F5F6163 - .4byte 0x74697665 - .4byte 0x5F62795F - .4byte 0x62646164 - .4byte 0x64722829 - .4byte 0x2069735F - .4byte 0x73636F5F - .4byte 0x61637469 - .4byte 0x7665203D - .4byte 0x20257300 - -.global "@2338" -"@2338": - - .4byte 0x4C324341 - .4byte 0x50202D20 - .4byte 0x6E6F2062 - .4byte 0x75666665 - .4byte 0x7220666F - .4byte 0x72206C32 - .4byte 0x63755F63 - .4byte 0x72656174 - .4byte 0x655F636F - .4byte 0x6E6E0000 diff --git a/asm/bte/l2c_utils_80556920.s b/asm/bte/l2c_utils_80556920.s deleted file mode 100644 index dbc3cf65..00000000 --- a/asm/bte/l2c_utils_80556920.s +++ /dev/null @@ -1,14 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global "@2328" -"@2328": - - .4byte 0x54525545 - .4byte 0 - -.global "@2329" -"@2329": - - .4byte 0x46414C53 - .4byte 0x45000000 diff --git a/asm/bte/port_api_80096304.s b/asm/bte/port_api.s similarity index 100% rename from asm/bte/port_api_80096304.s rename to asm/bte/port_api.s diff --git a/asm/bte/port_rfc_80096354.s b/asm/bte/port_rfc.s similarity index 93% rename from asm/bte/port_rfc_80096354.s rename to asm/bte/port_rfc.s index df717593..2ed03455 100644 --- a/asm/bte/port_rfc_80096354.s +++ b/asm/bte/port_rfc.s @@ -1544,3 +1544,301 @@ lbl_80097730: /* 80097744 00093584 7C 08 03 A6 */ mtlr r0 /* 80097748 00093588 38 21 00 20 */ addi r1, r1, 0x20 /* 8009774C 0009358C 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1517" +"@1517": + + .4byte 0x706F7274 + .4byte 0x5F6F7065 + .4byte 0x6E5F636F + .4byte 0x6E74696E + .4byte 0x75650000 + .4byte 0x706F7274 + .4byte 0x5F6F7065 + .4byte 0x6E5F636F + .4byte 0x6E74696E + .4byte 0x7565206E + .4byte 0x6F206D78 + .4byte 0x20636861 + .4byte 0x6E6E656C + .4byte 0 + +.global "@1560" +"@1560": + + .4byte 0x504F5254 + .4byte 0x5F537461 + .4byte 0x7274436E + .4byte 0x66207265 + .4byte 0x73756C74 + .4byte 0x3A256400 + +.global "@1561" +"@1561": + + .4byte 0x504F5254 + .4byte 0x5F537461 + .4byte 0x7274436E + .4byte 0x66206661 + .4byte 0x696C6564 + .4byte 0x20726573 + .4byte 0x756C743A + .4byte 0x25640000 + +.global "@1573_8043ECC0" +"@1573_8043ECC0": + + .4byte 0x504F5254 + .4byte 0x5F537461 + .4byte 0x7274496E + .4byte 0x64000000 + +.global "@1600" +"@1600": + + .4byte 0x504F5254 + .4byte 0x5F506172 + .4byte 0x4E656749 + .4byte 0x6E642064 + .4byte 0x6C63693A + .4byte 0x2564206D + .4byte 0x74753A25 + .4byte 0x64000000 + +.global "@1601_8043ECF0" +"@1601_8043ECF0": + + .4byte 0x504F5254 + .4byte 0x5F506172 + .4byte 0x4E656749 + .4byte 0x6E643A20 + .4byte 0x706F7274 + .4byte 0x206E6F74 + .4byte 0x20666F75 + .4byte 0x6E640000 + +.global "@1618_8043ED10" +"@1618_8043ED10": + + .4byte 0x504F5254 + .4byte 0x5F506172 + .4byte 0x4E656743 + .4byte 0x6E662064 + .4byte 0x6C63693A + .4byte 0x2564206D + .4byte 0x74753A25 + .4byte 0x6420636C + .4byte 0x3A202564 + .4byte 0x206B3A20 + .4byte 0x25640000 + +.global "@1631_8043ED3C" +"@1631_8043ED3C": + + .4byte 0x504F5254 + .4byte 0x5F446C63 + .4byte 0x45737461 + .4byte 0x626C6973 + .4byte 0x68496E64 + .4byte 0x20646C63 + .4byte 0x693A2564 + .4byte 0x206D7475 + .4byte 0x3A256400 + +.global "@1649" +"@1649": + + .4byte 0x504F5254 + .4byte 0x5F446C63 + .4byte 0x45737461 + .4byte 0x626C6973 + .4byte 0x68436E66 + .4byte 0x20646C63 + .4byte 0x693A2564 + .4byte 0x206D7475 + .4byte 0x3A256420 + .4byte 0x72657375 + .4byte 0x6C743A25 + .4byte 0x64000000 + +.global "@1655_8043ED90" +"@1655_8043ED90": + + .4byte 0x504F5254 + .4byte 0x5F506F72 + .4byte 0x744E6567 + .4byte 0x496E6400 + .4byte 0x504F5254 + .4byte 0x5F506F72 + .4byte 0x744E6567 + .4byte 0x436E6600 + .4byte 0x504F5254 + .4byte 0x5F506F72 + .4byte 0x744E6567 + .4byte 0x436E6620 + .4byte 0x6E6F2070 + .4byte 0x6F727400 + .4byte 0x504F5254 + .4byte 0x5F506F72 + .4byte 0x744E6567 + .4byte 0x436E6620 + .4byte 0x436F6E74 + .4byte 0x726F6C20 + .4byte 0x416C7265 + .4byte 0x61647920 + .4byte 0x73656E74 + .4byte 0 + +.global "@1702" +"@1702": + + .4byte 0x504F5254 + .4byte 0x5F436F6E + .4byte 0x74726F6C + .4byte 0x496E6400 + +.global "@1703" +"@1703": + + .4byte 0x504F5254 + .4byte 0x5F436F6E + .4byte 0x74726F6C + .4byte 0x496E6420 + .4byte 0x4454525F + .4byte 0x44535220 + .4byte 0x3A202564 + .4byte 0x2C205254 + .4byte 0x535F4354 + .4byte 0x53203A20 + .4byte 0x25642C20 + .4byte 0x5249203A + .4byte 0x2025642C + .4byte 0x20444344 + .4byte 0x203A2025 + .4byte 0x64000000 + +.global "@1717_8043EE40" +"@1717_8043EE40": + + .4byte 0x504F5254 + .4byte 0x5F436F6E + .4byte 0x74726F6C + .4byte 0x436E6600 + +.global "@1732_8043EE50" +"@1732_8043EE50": + + .4byte 0x504F5254 + .4byte 0x5F4C696E + .4byte 0x65537461 + .4byte 0x74757349 + .4byte 0x6E640000 + +.global "@1737" +"@1737": + + .4byte 0x504F5254 + .4byte 0x5F446C63 + .4byte 0x52656C65 + .4byte 0x61736549 + .4byte 0x6E640000 + +.global "@1746_8043EE78" +"@1746_8043EE78": + + .4byte 0x504F5254 + .4byte 0x5F436C6F + .4byte 0x7365496E + .4byte 0x64000000 + +.global "@1755" +"@1755": + + .4byte 0x506F7274 + .4byte 0x5F54696D + .4byte 0x654F7574 + .4byte 0x436C6F73 + .4byte 0x654D7578 + .4byte 0 + +.global "@1780_8043EEA0" +"@1780_8043EEA0": + + .4byte 0x504F5254 + .4byte 0x5F446174 + .4byte 0x61496E64 + .4byte 0x20776974 + .4byte 0x68206461 + .4byte 0x7461206C + .4byte 0x656E6774 + .4byte 0x68202564 + .4byte 0 + +.global "@1781_8043EEC4" +"@1781_8043EEC4": + + .4byte 0x504F5254 + .4byte 0x5F446174 + .4byte 0x61496E64 + .4byte 0x2E204275 + .4byte 0x66666572 + .4byte 0x206F7665 + .4byte 0x72207275 + .4byte 0x6E2E2044 + .4byte 0x726F7070 + .4byte 0x696E6720 + .4byte 0x74686520 + .4byte 0x62756666 + .4byte 0x65720000 + +.global "@1799_8043EEF8" +"@1799_8043EEF8": + + .4byte 0x504F5254 + .4byte 0x5F466C6F + .4byte 0x77496E64 + .4byte 0x2066633A + .4byte 0x25640000 + +.global "@1812_8043EF0C" +"@1812_8043EF0C": + + .4byte 0x53656E64 + .4byte 0x696E6720 + .4byte 0x5246434F + .4byte 0x4D4D5F44 + .4byte 0x61746152 + .4byte 0x65710000 + +.global "@1829_8043EF24" +"@1829_8043EF24": + + .4byte 0x706F7274 + .4byte 0x5F726663 + .4byte 0x5F636C6F + .4byte 0x73656420 + .4byte 0x696E204F + .4byte 0x50454E49 + .4byte 0x4E472073 + .4byte 0x74617465 + .4byte 0x2069676E + .4byte 0x6F726564 + .4byte 0 + +.global "@1830_8043EF50" +"@1830_8043EF50": + + .4byte 0x706F7274 + .4byte 0x5F726663 + .4byte 0x5F636C6F + .4byte 0x73656420 + .4byte 0x73746174 + .4byte 0x653A2564 + .4byte 0x2073656E + .4byte 0x64696E67 + .4byte 0x20657665 + .4byte 0x6E74733A + .4byte 0x25780000 + .4byte 0 diff --git a/asm/bte/port_rfc_8043ec50.s b/asm/bte/port_rfc_8043ec50.s deleted file mode 100644 index 4855af87..00000000 --- a/asm/bte/port_rfc_8043ec50.s +++ /dev/null @@ -1,298 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1517" -"@1517": - - .4byte 0x706F7274 - .4byte 0x5F6F7065 - .4byte 0x6E5F636F - .4byte 0x6E74696E - .4byte 0x75650000 - .4byte 0x706F7274 - .4byte 0x5F6F7065 - .4byte 0x6E5F636F - .4byte 0x6E74696E - .4byte 0x7565206E - .4byte 0x6F206D78 - .4byte 0x20636861 - .4byte 0x6E6E656C - .4byte 0 - -.global "@1560" -"@1560": - - .4byte 0x504F5254 - .4byte 0x5F537461 - .4byte 0x7274436E - .4byte 0x66207265 - .4byte 0x73756C74 - .4byte 0x3A256400 - -.global "@1561" -"@1561": - - .4byte 0x504F5254 - .4byte 0x5F537461 - .4byte 0x7274436E - .4byte 0x66206661 - .4byte 0x696C6564 - .4byte 0x20726573 - .4byte 0x756C743A - .4byte 0x25640000 - -.global "@1573_8043ECC0" -"@1573_8043ECC0": - - .4byte 0x504F5254 - .4byte 0x5F537461 - .4byte 0x7274496E - .4byte 0x64000000 - -.global "@1600" -"@1600": - - .4byte 0x504F5254 - .4byte 0x5F506172 - .4byte 0x4E656749 - .4byte 0x6E642064 - .4byte 0x6C63693A - .4byte 0x2564206D - .4byte 0x74753A25 - .4byte 0x64000000 - -.global "@1601_8043ECF0" -"@1601_8043ECF0": - - .4byte 0x504F5254 - .4byte 0x5F506172 - .4byte 0x4E656749 - .4byte 0x6E643A20 - .4byte 0x706F7274 - .4byte 0x206E6F74 - .4byte 0x20666F75 - .4byte 0x6E640000 - -.global "@1618_8043ED10" -"@1618_8043ED10": - - .4byte 0x504F5254 - .4byte 0x5F506172 - .4byte 0x4E656743 - .4byte 0x6E662064 - .4byte 0x6C63693A - .4byte 0x2564206D - .4byte 0x74753A25 - .4byte 0x6420636C - .4byte 0x3A202564 - .4byte 0x206B3A20 - .4byte 0x25640000 - -.global "@1631_8043ED3C" -"@1631_8043ED3C": - - .4byte 0x504F5254 - .4byte 0x5F446C63 - .4byte 0x45737461 - .4byte 0x626C6973 - .4byte 0x68496E64 - .4byte 0x20646C63 - .4byte 0x693A2564 - .4byte 0x206D7475 - .4byte 0x3A256400 - -.global "@1649" -"@1649": - - .4byte 0x504F5254 - .4byte 0x5F446C63 - .4byte 0x45737461 - .4byte 0x626C6973 - .4byte 0x68436E66 - .4byte 0x20646C63 - .4byte 0x693A2564 - .4byte 0x206D7475 - .4byte 0x3A256420 - .4byte 0x72657375 - .4byte 0x6C743A25 - .4byte 0x64000000 - -.global "@1655_8043ED90" -"@1655_8043ED90": - - .4byte 0x504F5254 - .4byte 0x5F506F72 - .4byte 0x744E6567 - .4byte 0x496E6400 - .4byte 0x504F5254 - .4byte 0x5F506F72 - .4byte 0x744E6567 - .4byte 0x436E6600 - .4byte 0x504F5254 - .4byte 0x5F506F72 - .4byte 0x744E6567 - .4byte 0x436E6620 - .4byte 0x6E6F2070 - .4byte 0x6F727400 - .4byte 0x504F5254 - .4byte 0x5F506F72 - .4byte 0x744E6567 - .4byte 0x436E6620 - .4byte 0x436F6E74 - .4byte 0x726F6C20 - .4byte 0x416C7265 - .4byte 0x61647920 - .4byte 0x73656E74 - .4byte 0 - -.global "@1702" -"@1702": - - .4byte 0x504F5254 - .4byte 0x5F436F6E - .4byte 0x74726F6C - .4byte 0x496E6400 - -.global "@1703" -"@1703": - - .4byte 0x504F5254 - .4byte 0x5F436F6E - .4byte 0x74726F6C - .4byte 0x496E6420 - .4byte 0x4454525F - .4byte 0x44535220 - .4byte 0x3A202564 - .4byte 0x2C205254 - .4byte 0x535F4354 - .4byte 0x53203A20 - .4byte 0x25642C20 - .4byte 0x5249203A - .4byte 0x2025642C - .4byte 0x20444344 - .4byte 0x203A2025 - .4byte 0x64000000 - -.global "@1717_8043EE40" -"@1717_8043EE40": - - .4byte 0x504F5254 - .4byte 0x5F436F6E - .4byte 0x74726F6C - .4byte 0x436E6600 - -.global "@1732_8043EE50" -"@1732_8043EE50": - - .4byte 0x504F5254 - .4byte 0x5F4C696E - .4byte 0x65537461 - .4byte 0x74757349 - .4byte 0x6E640000 - -.global "@1737" -"@1737": - - .4byte 0x504F5254 - .4byte 0x5F446C63 - .4byte 0x52656C65 - .4byte 0x61736549 - .4byte 0x6E640000 - -.global "@1746_8043EE78" -"@1746_8043EE78": - - .4byte 0x504F5254 - .4byte 0x5F436C6F - .4byte 0x7365496E - .4byte 0x64000000 - -.global "@1755" -"@1755": - - .4byte 0x506F7274 - .4byte 0x5F54696D - .4byte 0x654F7574 - .4byte 0x436C6F73 - .4byte 0x654D7578 - .4byte 0 - -.global "@1780_8043EEA0" -"@1780_8043EEA0": - - .4byte 0x504F5254 - .4byte 0x5F446174 - .4byte 0x61496E64 - .4byte 0x20776974 - .4byte 0x68206461 - .4byte 0x7461206C - .4byte 0x656E6774 - .4byte 0x68202564 - .4byte 0 - -.global "@1781_8043EEC4" -"@1781_8043EEC4": - - .4byte 0x504F5254 - .4byte 0x5F446174 - .4byte 0x61496E64 - .4byte 0x2E204275 - .4byte 0x66666572 - .4byte 0x206F7665 - .4byte 0x72207275 - .4byte 0x6E2E2044 - .4byte 0x726F7070 - .4byte 0x696E6720 - .4byte 0x74686520 - .4byte 0x62756666 - .4byte 0x65720000 - -.global "@1799_8043EEF8" -"@1799_8043EEF8": - - .4byte 0x504F5254 - .4byte 0x5F466C6F - .4byte 0x77496E64 - .4byte 0x2066633A - .4byte 0x25640000 - -.global "@1812_8043EF0C" -"@1812_8043EF0C": - - .4byte 0x53656E64 - .4byte 0x696E6720 - .4byte 0x5246434F - .4byte 0x4D4D5F44 - .4byte 0x61746152 - .4byte 0x65710000 - -.global "@1829_8043EF24" -"@1829_8043EF24": - - .4byte 0x706F7274 - .4byte 0x5F726663 - .4byte 0x5F636C6F - .4byte 0x73656420 - .4byte 0x696E204F - .4byte 0x50454E49 - .4byte 0x4E472073 - .4byte 0x74617465 - .4byte 0x2069676E - .4byte 0x6F726564 - .4byte 0 - -.global "@1830_8043EF50" -"@1830_8043EF50": - - .4byte 0x706F7274 - .4byte 0x5F726663 - .4byte 0x5F636C6F - .4byte 0x73656420 - .4byte 0x73746174 - .4byte 0x653A2564 - .4byte 0x2073656E - .4byte 0x64696E67 - .4byte 0x20657665 - .4byte 0x6E74733A - .4byte 0x25780000 - .4byte 0 diff --git a/asm/bte/port_utils_80097750.s b/asm/bte/port_utils.s similarity index 92% rename from asm/bte/port_utils_80097750.s rename to asm/bte/port_utils.s index 764e8b57..4b453c26 100644 --- a/asm/bte/port_utils_80097750.s +++ b/asm/bte/port_utils.s @@ -461,3 +461,99 @@ lbl_80097D14: /* 80097D1C 00093B5C 7C 08 03 A6 */ mtlr r0 /* 80097D20 00093B60 38 21 00 10 */ addi r1, r1, 0x10 /* 80097D24 00093B64 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1174_8043EF80" +"@1174_8043EF80": + + .4byte 0x706F7274 + .4byte 0x5F73656C + .4byte 0x6563745F + .4byte 0x6D747520 + .4byte 0x62616420 + .4byte 0x7061636B + .4byte 0x65742073 + .4byte 0x697A6500 + .4byte 0x706F7274 + .4byte 0x5F73656C + .4byte 0x6563745F + .4byte 0x6D747520 + .4byte 0x73656C65 + .4byte 0x63746564 + .4byte 0x20256420 + .4byte 0x62617365 + .4byte 0x64206F6E + .4byte 0x20636F6E + .4byte 0x6E656374 + .4byte 0x696F6E20 + .4byte 0x73706565 + .4byte 0x64000000 + .4byte 0x706F7274 + .4byte 0x5F73656C + .4byte 0x6563745F + .4byte 0x6D747520 + .4byte 0x73656C65 + .4byte 0x63746564 + .4byte 0x20256420 + .4byte 0x62617365 + .4byte 0x64206F6E + .4byte 0x206C3263 + .4byte 0x61702050 + .4byte 0x44552073 + .4byte 0x697A6500 + .4byte 0 + .4byte 0x706F7274 + .4byte 0x5F73656C + .4byte 0x6563745F + .4byte 0x6D747520 + .4byte 0x6170706C + .4byte 0x69636174 + .4byte 0x696F6E20 + .4byte 0x73656C65 + .4byte 0x63746564 + .4byte 0x20256400 + .4byte 0x706F7274 + .4byte 0x5F73656C + .4byte 0x6563745F + .4byte 0x6D747520 + .4byte 0x63726564 + .4byte 0x69745F72 + .4byte 0x785F6D61 + .4byte 0x78202564 + .4byte 0x2C206372 + .4byte 0x65646974 + .4byte 0x5F72785F + .4byte 0x6C6F7720 + .4byte 0x25642C20 + .4byte 0x72785F62 + .4byte 0x75665F63 + .4byte 0x72697469 + .4byte 0x63616C20 + .4byte 0x25640000 + +.global "@1192" +"@1192": + + .4byte 0x7266635F + .4byte 0x706F7274 + .4byte 0x5F636C6F + .4byte 0x73656420 + .4byte 0x444F4E45 + .4byte 0 + +.global "@1272" +"@1272": + + .4byte 0x504F5254 + .4byte 0x5F446174 + .4byte 0x61496E64 + .4byte 0x20446174 + .4byte 0x61207265 + .4byte 0x61636865 + .4byte 0x64204857 + .4byte 0x2E205365 + .4byte 0x6E64696E + .4byte 0x67204643 + .4byte 0x20736574 + .4byte 0x2E000000 diff --git a/asm/bte/port_utils_8043ef80.s b/asm/bte/port_utils_8043ef80.s deleted file mode 100644 index ee01f44d..00000000 --- a/asm/bte/port_utils_8043ef80.s +++ /dev/null @@ -1,96 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1174_8043EF80" -"@1174_8043EF80": - - .4byte 0x706F7274 - .4byte 0x5F73656C - .4byte 0x6563745F - .4byte 0x6D747520 - .4byte 0x62616420 - .4byte 0x7061636B - .4byte 0x65742073 - .4byte 0x697A6500 - .4byte 0x706F7274 - .4byte 0x5F73656C - .4byte 0x6563745F - .4byte 0x6D747520 - .4byte 0x73656C65 - .4byte 0x63746564 - .4byte 0x20256420 - .4byte 0x62617365 - .4byte 0x64206F6E - .4byte 0x20636F6E - .4byte 0x6E656374 - .4byte 0x696F6E20 - .4byte 0x73706565 - .4byte 0x64000000 - .4byte 0x706F7274 - .4byte 0x5F73656C - .4byte 0x6563745F - .4byte 0x6D747520 - .4byte 0x73656C65 - .4byte 0x63746564 - .4byte 0x20256420 - .4byte 0x62617365 - .4byte 0x64206F6E - .4byte 0x206C3263 - .4byte 0x61702050 - .4byte 0x44552073 - .4byte 0x697A6500 - .4byte 0 - .4byte 0x706F7274 - .4byte 0x5F73656C - .4byte 0x6563745F - .4byte 0x6D747520 - .4byte 0x6170706C - .4byte 0x69636174 - .4byte 0x696F6E20 - .4byte 0x73656C65 - .4byte 0x63746564 - .4byte 0x20256400 - .4byte 0x706F7274 - .4byte 0x5F73656C - .4byte 0x6563745F - .4byte 0x6D747520 - .4byte 0x63726564 - .4byte 0x69745F72 - .4byte 0x785F6D61 - .4byte 0x78202564 - .4byte 0x2C206372 - .4byte 0x65646974 - .4byte 0x5F72785F - .4byte 0x6C6F7720 - .4byte 0x25642C20 - .4byte 0x72785F62 - .4byte 0x75665F63 - .4byte 0x72697469 - .4byte 0x63616C20 - .4byte 0x25640000 - -.global "@1192" -"@1192": - - .4byte 0x7266635F - .4byte 0x706F7274 - .4byte 0x5F636C6F - .4byte 0x73656420 - .4byte 0x444F4E45 - .4byte 0 - -.global "@1272" -"@1272": - - .4byte 0x504F5254 - .4byte 0x5F446174 - .4byte 0x61496E64 - .4byte 0x20446174 - .4byte 0x61207265 - .4byte 0x61636865 - .4byte 0x64204857 - .4byte 0x2E205365 - .4byte 0x6E64696E - .4byte 0x67204643 - .4byte 0x20736574 - .4byte 0x2E000000 diff --git a/asm/bte/ptim_800784a0.s b/asm/bte/ptim.s similarity index 100% rename from asm/bte/ptim_800784a0.s rename to asm/bte/ptim.s diff --git a/asm/bte/rfc_l2cap_if_80097d28.s b/asm/bte/rfc_l2cap_if.s similarity index 95% rename from asm/bte/rfc_l2cap_if_80097d28.s rename to asm/bte/rfc_l2cap_if.s index 8314352c..5ec500f6 100644 --- a/asm/bte/rfc_l2cap_if_80097d28.s +++ b/asm/bte/rfc_l2cap_if.s @@ -718,3 +718,89 @@ rfc_save_lcid_mcb: /* 80098650 00094490 7C 84 02 14 */ add r4, r4, r0 /* 80098654 00094494 90 64 00 3C */ stw r3, 0x3c(r4) /* 80098658 00094498 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@712_8043F0C8" +"@712_8043F0C8": + + .4byte 0x7266635F + .4byte 0x66696E64 + .4byte 0x5F6C6369 + .4byte 0x645F6D63 + .4byte 0x62204C43 + .4byte 0x49443A30 + .4byte 0x78257800 + .4byte 0x7266635F + .4byte 0x66696E64 + .4byte 0x5F6C6369 + .4byte 0x645F6D63 + .4byte 0x62204C43 + .4byte 0x49442072 + .4byte 0x65757365 + .4byte 0x64204C43 + .4byte 0x49443A30 + .4byte 0x78257820 + .4byte 0x63757272 + .4byte 0x656E743A + .4byte 0x30782578 + .4byte 0 + .4byte 0x5246434F + .4byte 0x4D4D5F43 + .4byte 0x6F6E6E65 + .4byte 0x6374436E + .4byte 0x66204C43 + .4byte 0x49443A30 + .4byte 0x78257800 + .4byte 0x5246434F + .4byte 0x4D4D5F43 + .4byte 0x6F6E6669 + .4byte 0x67496E64 + .4byte 0x204C4349 + .4byte 0x443A3078 + .4byte 0x25780000 + .4byte 0x5246434F + .4byte 0x4D4D5F43 + .4byte 0x6F6E6669 + .4byte 0x67436E66 + .4byte 0x204C4349 + .4byte 0x443A3078 + .4byte 0x25780000 + .4byte 0x5246434F + .4byte 0x4D4D5F44 + .4byte 0x6973636F + .4byte 0x6E6E6563 + .4byte 0x74496E64 + .4byte 0x204C4349 + .4byte 0x443A3078 + .4byte 0x25780000 + .4byte 0x5246434F + .4byte 0x4D4D5F42 + .4byte 0x75664461 + .4byte 0x7461496E + .4byte 0x64204C43 + .4byte 0x49443A30 + .4byte 0x78257800 + .4byte 0x5246434F + .4byte 0x4D4D5F43 + .4byte 0x6F6E6765 + .4byte 0x7374696F + .4byte 0x6E537461 + .4byte 0x74757349 + .4byte 0x6E642064 + .4byte 0x726F7070 + .4byte 0x6564204C + .4byte 0x4349443A + .4byte 0x30782578 + .4byte 0 + .4byte 0x5246434F + .4byte 0x4D4D5F43 + .4byte 0x6F6E6765 + .4byte 0x7374696F + .4byte 0x6E537461 + .4byte 0x74757349 + .4byte 0x6E64204C + .4byte 0x4349443A + .4byte 0x30782578 + .4byte 0 + .4byte 0 diff --git a/asm/bte/rfc_l2cap_if_8043f0c8.s b/asm/bte/rfc_l2cap_if_8043f0c8.s deleted file mode 100644 index 507603b9..00000000 --- a/asm/bte/rfc_l2cap_if_8043f0c8.s +++ /dev/null @@ -1,86 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@712_8043F0C8" -"@712_8043F0C8": - - .4byte 0x7266635F - .4byte 0x66696E64 - .4byte 0x5F6C6369 - .4byte 0x645F6D63 - .4byte 0x62204C43 - .4byte 0x49443A30 - .4byte 0x78257800 - .4byte 0x7266635F - .4byte 0x66696E64 - .4byte 0x5F6C6369 - .4byte 0x645F6D63 - .4byte 0x62204C43 - .4byte 0x49442072 - .4byte 0x65757365 - .4byte 0x64204C43 - .4byte 0x49443A30 - .4byte 0x78257820 - .4byte 0x63757272 - .4byte 0x656E743A - .4byte 0x30782578 - .4byte 0 - .4byte 0x5246434F - .4byte 0x4D4D5F43 - .4byte 0x6F6E6E65 - .4byte 0x6374436E - .4byte 0x66204C43 - .4byte 0x49443A30 - .4byte 0x78257800 - .4byte 0x5246434F - .4byte 0x4D4D5F43 - .4byte 0x6F6E6669 - .4byte 0x67496E64 - .4byte 0x204C4349 - .4byte 0x443A3078 - .4byte 0x25780000 - .4byte 0x5246434F - .4byte 0x4D4D5F43 - .4byte 0x6F6E6669 - .4byte 0x67436E66 - .4byte 0x204C4349 - .4byte 0x443A3078 - .4byte 0x25780000 - .4byte 0x5246434F - .4byte 0x4D4D5F44 - .4byte 0x6973636F - .4byte 0x6E6E6563 - .4byte 0x74496E64 - .4byte 0x204C4349 - .4byte 0x443A3078 - .4byte 0x25780000 - .4byte 0x5246434F - .4byte 0x4D4D5F42 - .4byte 0x75664461 - .4byte 0x7461496E - .4byte 0x64204C43 - .4byte 0x49443A30 - .4byte 0x78257800 - .4byte 0x5246434F - .4byte 0x4D4D5F43 - .4byte 0x6F6E6765 - .4byte 0x7374696F - .4byte 0x6E537461 - .4byte 0x74757349 - .4byte 0x6E642064 - .4byte 0x726F7070 - .4byte 0x6564204C - .4byte 0x4349443A - .4byte 0x30782578 - .4byte 0 - .4byte 0x5246434F - .4byte 0x4D4D5F43 - .4byte 0x6F6E6765 - .4byte 0x7374696F - .4byte 0x6E537461 - .4byte 0x74757349 - .4byte 0x6E64204C - .4byte 0x4349443A - .4byte 0x30782578 - .4byte 0 - .4byte 0 diff --git a/asm/bte/rfc_mx_fsm_8009865c.s b/asm/bte/rfc_mx_fsm.s similarity index 91% rename from asm/bte/rfc_mx_fsm_8009865c.s rename to asm/bte/rfc_mx_fsm.s index 5029cd98..04b7660f 100644 --- a/asm/bte/rfc_mx_fsm_8009865c.s +++ b/asm/bte/rfc_mx_fsm.s @@ -1012,3 +1012,227 @@ lbl_80099288: /* 80099294 000950D4 7C 08 03 A6 */ mtlr r0 /* 80099298 000950D8 38 21 00 10 */ addi r1, r1, 0x10 /* 8009929C 000950DC 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@759" +"@759": + + .4byte lbl_80098680 + .4byte lbl_80098684 + .4byte lbl_80098688 + .4byte lbl_8009868C + .4byte lbl_80098690 + .4byte lbl_80098694 + .4byte lbl_80098698 + .4byte 0x7266635F + .4byte 0x6D785F73 + .4byte 0x6D5F7374 + .4byte 0x6174655F + .4byte 0x69646C65 + .4byte 0x202D2065 + .4byte 0x76743A25 + .4byte 0x64000000 + .4byte 0x4D782065 + .4byte 0x72726F72 + .4byte 0x20737461 + .4byte 0x74652025 + .4byte 0x64206576 + .4byte 0x656E7420 + .4byte 0x25640000 + .4byte 0x7266635F + .4byte 0x6D785F73 + .4byte 0x656E645F + .4byte 0x636F6E66 + .4byte 0x69675F72 + .4byte 0x65710000 + +.global "@781_8043F278" +"@781_8043F278": + + .4byte 0x5246434F + .4byte 0x4D4D204D + .4byte 0x58206967 + .4byte 0x6E6F7265 + .4byte 0x64202D20 + .4byte 0x6576743A + .4byte 0x25642069 + .4byte 0x6E207374 + .4byte 0x6174653A + .4byte 0x25640000 + +.global "@784_8043F2A0" +"@784_8043F2A0": + + .4byte lbl_80098868 + .4byte lbl_8009883C + .4byte lbl_8009883C + .4byte lbl_80098840 + .4byte lbl_80098854 + .4byte lbl_80098868 + .4byte lbl_80098718 + .4byte lbl_8009875C + .4byte lbl_80098868 + .4byte lbl_8009875C + .4byte lbl_80098788 + .4byte lbl_8009875C + .4byte lbl_8009875C + .4byte 0x7266635F + .4byte 0x6D785F73 + .4byte 0x6D5F7374 + .4byte 0x6174655F + .4byte 0x77616974 + .4byte 0x5F636F6E + .4byte 0x6E5F636E + .4byte 0x66202D20 + .4byte 0x6576743A + .4byte 0x25640000 + .4byte 0x7266635F + .4byte 0x6D785F73 + .4byte 0x6D5F7374 + .4byte 0x6174655F + .4byte 0x636F6E66 + .4byte 0x69677572 + .4byte 0x65202D20 + .4byte 0x6576743A + .4byte 0x25640000 + +.global "@812_8043F320" +"@812_8043F320": + + .4byte lbl_80098AEC + .4byte lbl_80098B4C + .4byte lbl_80098B4C + .4byte lbl_80098AEC + .4byte lbl_80098B4C + .4byte lbl_80098B28 + .4byte lbl_80098B18 + .4byte lbl_80098B4C + .4byte lbl_80098B38 + .4byte 0x7266635F + .4byte 0x6D785F73 + .4byte 0x6D5F7361 + .4byte 0x626D655F + .4byte 0x77616974 + .4byte 0x5F756120 + .4byte 0x2D206576 + .4byte 0x743A2564 + .4byte 0 + +.global "@829" +"@829": + + .4byte lbl_80098CC0 + .4byte lbl_80098C70 + .4byte lbl_80098C98 + .4byte lbl_80098CC0 + .4byte lbl_80098CC0 + .4byte lbl_80098CA0 + .4byte lbl_80098C10 + .4byte lbl_80098CC0 + .4byte lbl_80098CC0 + .4byte lbl_80098C10 + .4byte lbl_80098CC0 + .4byte lbl_80098C4C + .4byte lbl_80098C3C + .4byte lbl_80098CC0 + .4byte lbl_80098C5C + +.global "@839_8043F3A4" +"@839_8043F3A4": + + .4byte 0x7266635F + .4byte 0x6D785F73 + .4byte 0x6D5F7374 + .4byte 0x6174655F + .4byte 0x77616974 + .4byte 0x5F736162 + .4byte 0x6D65202D + .4byte 0x20657674 + .4byte 0x3A256400 + +.global "@851_8043F3C8" +"@851_8043F3C8": + + .4byte 0x7266635F + .4byte 0x6D785F73 + .4byte 0x6D5F7374 + .4byte 0x6174655F + .4byte 0x636F6E6E + .4byte 0x65637465 + .4byte 0x64202D20 + .4byte 0x6576743A + .4byte 0x25640000 + +.global "@853_8043F3EC" +"@853_8043F3EC": + + .4byte lbl_80098ED0 + .4byte lbl_80098EFC + .4byte lbl_80098E98 + .4byte lbl_80098EFC + .4byte lbl_80098EFC + .4byte lbl_80098E98 + .4byte lbl_80098EFC + .4byte lbl_80098EFC + .4byte lbl_80098EFC + .4byte lbl_80098EFC + .4byte lbl_80098EFC + .4byte lbl_80098EBC + +.global "@868_8043F41C" +"@868_8043F41C": + + .4byte 0x7266635F + .4byte 0x6D785F73 + .4byte 0x6D5F7374 + .4byte 0x6174655F + .4byte 0x64697363 + .4byte 0x5F776169 + .4byte 0x745F7561 + .4byte 0x202D2065 + .4byte 0x76743A25 + .4byte 0x64000000 + +.global "@871_8043F444" +"@871_8043F444": + + .4byte lbl_80099070 + .4byte lbl_80098FB4 + .4byte lbl_80098FB4 + .4byte lbl_80099020 + .4byte lbl_80099030 + .4byte lbl_80098FB4 + .4byte lbl_8009904C + .4byte lbl_80099070 + .4byte lbl_8009906C + .4byte lbl_80099070 + .4byte lbl_80099070 + .4byte lbl_80099070 + .4byte lbl_80099070 + .4byte lbl_80099070 + .4byte lbl_80099058 + +.global "@885_8043F480" +"@885_8043F480": + + .4byte 0x7266635F + .4byte 0x6D785F63 + .4byte 0x6F6E665F + .4byte 0x636E6620 + .4byte 0x705F6366 + .4byte 0x673A2530 + .4byte 0x38782072 + .4byte 0x65733A25 + .4byte 0x64200000 + +.global "@895" +"@895": + + .4byte 0x7266635F + .4byte 0x6D785F63 + .4byte 0x6F6E665F + .4byte 0x696E6420 + .4byte 0x705F6366 + .4byte 0x673A2530 + .4byte 0x78000000 diff --git a/asm/bte/rfc_mx_fsm_8043f208.s b/asm/bte/rfc_mx_fsm_8043f208.s deleted file mode 100644 index e9e0b0ed..00000000 --- a/asm/bte/rfc_mx_fsm_8043f208.s +++ /dev/null @@ -1,224 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@759" -"@759": - - .4byte lbl_80098680 - .4byte lbl_80098684 - .4byte lbl_80098688 - .4byte lbl_8009868C - .4byte lbl_80098690 - .4byte lbl_80098694 - .4byte lbl_80098698 - .4byte 0x7266635F - .4byte 0x6D785F73 - .4byte 0x6D5F7374 - .4byte 0x6174655F - .4byte 0x69646C65 - .4byte 0x202D2065 - .4byte 0x76743A25 - .4byte 0x64000000 - .4byte 0x4D782065 - .4byte 0x72726F72 - .4byte 0x20737461 - .4byte 0x74652025 - .4byte 0x64206576 - .4byte 0x656E7420 - .4byte 0x25640000 - .4byte 0x7266635F - .4byte 0x6D785F73 - .4byte 0x656E645F - .4byte 0x636F6E66 - .4byte 0x69675F72 - .4byte 0x65710000 - -.global "@781_8043F278" -"@781_8043F278": - - .4byte 0x5246434F - .4byte 0x4D4D204D - .4byte 0x58206967 - .4byte 0x6E6F7265 - .4byte 0x64202D20 - .4byte 0x6576743A - .4byte 0x25642069 - .4byte 0x6E207374 - .4byte 0x6174653A - .4byte 0x25640000 - -.global "@784_8043F2A0" -"@784_8043F2A0": - - .4byte lbl_80098868 - .4byte lbl_8009883C - .4byte lbl_8009883C - .4byte lbl_80098840 - .4byte lbl_80098854 - .4byte lbl_80098868 - .4byte lbl_80098718 - .4byte lbl_8009875C - .4byte lbl_80098868 - .4byte lbl_8009875C - .4byte lbl_80098788 - .4byte lbl_8009875C - .4byte lbl_8009875C - .4byte 0x7266635F - .4byte 0x6D785F73 - .4byte 0x6D5F7374 - .4byte 0x6174655F - .4byte 0x77616974 - .4byte 0x5F636F6E - .4byte 0x6E5F636E - .4byte 0x66202D20 - .4byte 0x6576743A - .4byte 0x25640000 - .4byte 0x7266635F - .4byte 0x6D785F73 - .4byte 0x6D5F7374 - .4byte 0x6174655F - .4byte 0x636F6E66 - .4byte 0x69677572 - .4byte 0x65202D20 - .4byte 0x6576743A - .4byte 0x25640000 - -.global "@812_8043F320" -"@812_8043F320": - - .4byte lbl_80098AEC - .4byte lbl_80098B4C - .4byte lbl_80098B4C - .4byte lbl_80098AEC - .4byte lbl_80098B4C - .4byte lbl_80098B28 - .4byte lbl_80098B18 - .4byte lbl_80098B4C - .4byte lbl_80098B38 - .4byte 0x7266635F - .4byte 0x6D785F73 - .4byte 0x6D5F7361 - .4byte 0x626D655F - .4byte 0x77616974 - .4byte 0x5F756120 - .4byte 0x2D206576 - .4byte 0x743A2564 - .4byte 0 - -.global "@829" -"@829": - - .4byte lbl_80098CC0 - .4byte lbl_80098C70 - .4byte lbl_80098C98 - .4byte lbl_80098CC0 - .4byte lbl_80098CC0 - .4byte lbl_80098CA0 - .4byte lbl_80098C10 - .4byte lbl_80098CC0 - .4byte lbl_80098CC0 - .4byte lbl_80098C10 - .4byte lbl_80098CC0 - .4byte lbl_80098C4C - .4byte lbl_80098C3C - .4byte lbl_80098CC0 - .4byte lbl_80098C5C - -.global "@839_8043F3A4" -"@839_8043F3A4": - - .4byte 0x7266635F - .4byte 0x6D785F73 - .4byte 0x6D5F7374 - .4byte 0x6174655F - .4byte 0x77616974 - .4byte 0x5F736162 - .4byte 0x6D65202D - .4byte 0x20657674 - .4byte 0x3A256400 - -.global "@851_8043F3C8" -"@851_8043F3C8": - - .4byte 0x7266635F - .4byte 0x6D785F73 - .4byte 0x6D5F7374 - .4byte 0x6174655F - .4byte 0x636F6E6E - .4byte 0x65637465 - .4byte 0x64202D20 - .4byte 0x6576743A - .4byte 0x25640000 - -.global "@853_8043F3EC" -"@853_8043F3EC": - - .4byte lbl_80098ED0 - .4byte lbl_80098EFC - .4byte lbl_80098E98 - .4byte lbl_80098EFC - .4byte lbl_80098EFC - .4byte lbl_80098E98 - .4byte lbl_80098EFC - .4byte lbl_80098EFC - .4byte lbl_80098EFC - .4byte lbl_80098EFC - .4byte lbl_80098EFC - .4byte lbl_80098EBC - -.global "@868_8043F41C" -"@868_8043F41C": - - .4byte 0x7266635F - .4byte 0x6D785F73 - .4byte 0x6D5F7374 - .4byte 0x6174655F - .4byte 0x64697363 - .4byte 0x5F776169 - .4byte 0x745F7561 - .4byte 0x202D2065 - .4byte 0x76743A25 - .4byte 0x64000000 - -.global "@871_8043F444" -"@871_8043F444": - - .4byte lbl_80099070 - .4byte lbl_80098FB4 - .4byte lbl_80098FB4 - .4byte lbl_80099020 - .4byte lbl_80099030 - .4byte lbl_80098FB4 - .4byte lbl_8009904C - .4byte lbl_80099070 - .4byte lbl_8009906C - .4byte lbl_80099070 - .4byte lbl_80099070 - .4byte lbl_80099070 - .4byte lbl_80099070 - .4byte lbl_80099070 - .4byte lbl_80099058 - -.global "@885_8043F480" -"@885_8043F480": - - .4byte 0x7266635F - .4byte 0x6D785F63 - .4byte 0x6F6E665F - .4byte 0x636E6620 - .4byte 0x705F6366 - .4byte 0x673A2530 - .4byte 0x38782072 - .4byte 0x65733A25 - .4byte 0x64200000 - -.global "@895" -"@895": - - .4byte 0x7266635F - .4byte 0x6D785F63 - .4byte 0x6F6E665F - .4byte 0x696E6420 - .4byte 0x705F6366 - .4byte 0x673A2530 - .4byte 0x78000000 diff --git a/asm/bte/rfc_port_fsm_800992a0.s b/asm/bte/rfc_port_fsm.s similarity index 93% rename from asm/bte/rfc_port_fsm_800992a0.s rename to asm/bte/rfc_port_fsm.s index 0fbe0dc5..79e34a1d 100644 --- a/asm/bte/rfc_port_fsm_800992a0.s +++ b/asm/bte/rfc_port_fsm.s @@ -1455,3 +1455,259 @@ lbl_8009A424: /* 8009A430 00096270 88 04 00 11 */ lbz r0, 0x11(r4) /* 8009A434 00096274 98 03 00 08 */ stb r0, 0x8(r3) /* 8009A438 00096278 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1372" +"@1372": + + .4byte 0x4E554C4C + .4byte 0x20706F72 + .4byte 0x74206576 + .4byte 0x656E7420 + .4byte 0x25640000 + +.global "@1388" +"@1388": + + .4byte 0x506F7274 + .4byte 0x20657272 + .4byte 0x6F722073 + .4byte 0x74617465 + .4byte 0x20256420 + .4byte 0x6576656E + .4byte 0x74202564 + .4byte 0 + +.global "@1389" +"@1389": + + .4byte 0x506F7274 + .4byte 0x20737461 + .4byte 0x74652063 + .4byte 0x6C6F7365 + .4byte 0x64204576 + .4byte 0x656E7420 + .4byte 0x69676E6F + .4byte 0x72656420 + .4byte 0x25640000 + +.global "@1392" +"@1392": + + .4byte lbl_800993B4 + .4byte lbl_800993EC + .4byte lbl_800993F0 + .4byte lbl_80099414 + .4byte lbl_800993F8 + .4byte lbl_80099428 + .4byte lbl_80099460 + .4byte lbl_80099460 + .4byte lbl_80099460 + .4byte lbl_8009936C + .4byte lbl_80099460 + .4byte lbl_80099460 + .4byte lbl_80099460 + .4byte lbl_800993A4 + .4byte lbl_800993A8 + +.global "@1416" +"@1416": + + .4byte 0x506F7274 + .4byte 0x20737461 + .4byte 0x74652073 + .4byte 0x61626D65 + .4byte 0x5F776169 + .4byte 0x745F7561 + .4byte 0x20457665 + .4byte 0x6E742069 + .4byte 0x676E6F72 + .4byte 0x65642025 + .4byte 0x64000000 + +.global "@1419" +"@1419": + + .4byte lbl_800995BC + .4byte lbl_8009954C + .4byte lbl_80099570 + .4byte lbl_80099590 + .4byte lbl_800995CC + .4byte lbl_800995D8 + .4byte lbl_800995FC + .4byte lbl_800995FC + .4byte lbl_800995FC + .4byte lbl_800994E0 + .4byte lbl_800995FC + .4byte lbl_800994E0 + .4byte lbl_80099510 + .4byte lbl_80099538 + .4byte lbl_80099540 + .4byte 0x506F7274 + .4byte 0x20657272 + .4byte 0x6F722073 + .4byte 0x74617465 + .4byte 0x20546572 + .4byte 0x6D205761 + .4byte 0x69742053 + .4byte 0x65632065 + .4byte 0x76656E74 + .4byte 0x20446174 + .4byte 0x61000000 + .4byte 0x506F7274 + .4byte 0x20737461 + .4byte 0x74652074 + .4byte 0x65726D5F + .4byte 0x77616974 + .4byte 0x5F736563 + .4byte 0x5F636865 + .4byte 0x636B2045 + .4byte 0x76656E74 + .4byte 0x2069676E + .4byte 0x6F726564 + .4byte 0x20256400 + +.global "@1448_8043F618" +"@1448_8043F618": + + .4byte lbl_8009973C + .4byte lbl_800997BC + .4byte lbl_800997BC + .4byte lbl_80099740 + .4byte lbl_80099770 + .4byte lbl_800997BC + .4byte lbl_800997BC + .4byte lbl_800997BC + .4byte lbl_800997BC + .4byte lbl_800996CC + .4byte lbl_800997BC + .4byte lbl_8009977C + .4byte lbl_800996CC + .4byte lbl_800996F8 + .4byte lbl_80099710 + .4byte lbl_80099684 + .4byte 0x506F7274 + .4byte 0x20657272 + .4byte 0x6F722073 + .4byte 0x74617465 + .4byte 0x204F7269 + .4byte 0x67205761 + .4byte 0x69742053 + .4byte 0x65632065 + .4byte 0x76656E74 + .4byte 0x20446174 + .4byte 0x61000000 + .4byte 0 + .4byte 0x506F7274 + .4byte 0x20737461 + .4byte 0x7465206F + .4byte 0x7269675F + .4byte 0x77616974 + .4byte 0x5F736563 + .4byte 0x5F636865 + .4byte 0x636B2045 + .4byte 0x76656E74 + .4byte 0x2069676E + .4byte 0x6F726564 + .4byte 0x20256400 + +.global "@1465_8043F6B8" +"@1465_8043F6B8": + + .4byte lbl_80099890 + .4byte lbl_8009990C + .4byte lbl_8009990C + .4byte lbl_8009990C + .4byte lbl_80099900 + .4byte lbl_8009990C + .4byte lbl_8009990C + .4byte lbl_8009990C + .4byte lbl_8009990C + .4byte lbl_80099890 + .4byte lbl_8009990C + .4byte lbl_8009990C + .4byte lbl_800998BC + .4byte lbl_8009990C + .4byte lbl_800998D4 + .4byte lbl_80099840 + +.global "@1487" +"@1487": + + .4byte 0x506F7274 + .4byte 0x20737461 + .4byte 0x7465206F + .4byte 0x70656E65 + .4byte 0x64204576 + .4byte 0x656E7420 + .4byte 0x69676E6F + .4byte 0x72656420 + .4byte 0x25640000 + +.global "@1490" +"@1490": + + .4byte lbl_80099A60 + .4byte lbl_80099A5C + .4byte lbl_80099A70 + .4byte lbl_80099A88 + .4byte lbl_80099AAC + .4byte lbl_80099ABC + .4byte lbl_80099AF4 + .4byte lbl_80099AF4 + .4byte lbl_80099AF4 + .4byte lbl_80099988 + .4byte lbl_80099AF4 + .4byte lbl_80099AF4 + .4byte lbl_800999B8 + .4byte lbl_800999E0 + .4byte lbl_800999E8 + +.global "@1505" +"@1505": + + .4byte 0x506F7274 + .4byte 0x20737461 + .4byte 0x74652064 + .4byte 0x6973635F + .4byte 0x77616974 + .4byte 0x5F756120 + .4byte 0x4576656E + .4byte 0x74206967 + .4byte 0x6E6F7265 + .4byte 0x64202564 + .4byte 0 + +.global "@1508" +"@1508": + + .4byte lbl_80099BC8 + .4byte lbl_80099BB0 + .4byte lbl_80099BBC + .4byte lbl_80099BDC + .4byte lbl_80099BF0 + .4byte lbl_80099C0C + .4byte lbl_80099C14 + .4byte lbl_80099C14 + .4byte lbl_80099C14 + .4byte lbl_80099B70 + .4byte lbl_80099C14 + .4byte lbl_80099B70 + .4byte lbl_80099C14 + .4byte lbl_80099B9C + .4byte lbl_80099BA4 + +.global "@1516_8043F7C0" +"@1516_8043F7C0": + + .4byte 0x2A2A2A2A + .4byte 0x2A204D58 + .4byte 0x20504E20 + .4byte 0x7768696C + .4byte 0x65206469 + .4byte 0x73636F6E + .4byte 0x6E656374 + .4byte 0x696E6720 + .4byte 0x2A2A2A2A + .4byte 0x2A000000 diff --git a/asm/bte/rfc_port_fsm_8043f4c0.s b/asm/bte/rfc_port_fsm_8043f4c0.s deleted file mode 100644 index 7a606781..00000000 --- a/asm/bte/rfc_port_fsm_8043f4c0.s +++ /dev/null @@ -1,256 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1372" -"@1372": - - .4byte 0x4E554C4C - .4byte 0x20706F72 - .4byte 0x74206576 - .4byte 0x656E7420 - .4byte 0x25640000 - -.global "@1388" -"@1388": - - .4byte 0x506F7274 - .4byte 0x20657272 - .4byte 0x6F722073 - .4byte 0x74617465 - .4byte 0x20256420 - .4byte 0x6576656E - .4byte 0x74202564 - .4byte 0 - -.global "@1389" -"@1389": - - .4byte 0x506F7274 - .4byte 0x20737461 - .4byte 0x74652063 - .4byte 0x6C6F7365 - .4byte 0x64204576 - .4byte 0x656E7420 - .4byte 0x69676E6F - .4byte 0x72656420 - .4byte 0x25640000 - -.global "@1392" -"@1392": - - .4byte lbl_800993B4 - .4byte lbl_800993EC - .4byte lbl_800993F0 - .4byte lbl_80099414 - .4byte lbl_800993F8 - .4byte lbl_80099428 - .4byte lbl_80099460 - .4byte lbl_80099460 - .4byte lbl_80099460 - .4byte lbl_8009936C - .4byte lbl_80099460 - .4byte lbl_80099460 - .4byte lbl_80099460 - .4byte lbl_800993A4 - .4byte lbl_800993A8 - -.global "@1416" -"@1416": - - .4byte 0x506F7274 - .4byte 0x20737461 - .4byte 0x74652073 - .4byte 0x61626D65 - .4byte 0x5F776169 - .4byte 0x745F7561 - .4byte 0x20457665 - .4byte 0x6E742069 - .4byte 0x676E6F72 - .4byte 0x65642025 - .4byte 0x64000000 - -.global "@1419" -"@1419": - - .4byte lbl_800995BC - .4byte lbl_8009954C - .4byte lbl_80099570 - .4byte lbl_80099590 - .4byte lbl_800995CC - .4byte lbl_800995D8 - .4byte lbl_800995FC - .4byte lbl_800995FC - .4byte lbl_800995FC - .4byte lbl_800994E0 - .4byte lbl_800995FC - .4byte lbl_800994E0 - .4byte lbl_80099510 - .4byte lbl_80099538 - .4byte lbl_80099540 - .4byte 0x506F7274 - .4byte 0x20657272 - .4byte 0x6F722073 - .4byte 0x74617465 - .4byte 0x20546572 - .4byte 0x6D205761 - .4byte 0x69742053 - .4byte 0x65632065 - .4byte 0x76656E74 - .4byte 0x20446174 - .4byte 0x61000000 - .4byte 0x506F7274 - .4byte 0x20737461 - .4byte 0x74652074 - .4byte 0x65726D5F - .4byte 0x77616974 - .4byte 0x5F736563 - .4byte 0x5F636865 - .4byte 0x636B2045 - .4byte 0x76656E74 - .4byte 0x2069676E - .4byte 0x6F726564 - .4byte 0x20256400 - -.global "@1448_8043F618" -"@1448_8043F618": - - .4byte lbl_8009973C - .4byte lbl_800997BC - .4byte lbl_800997BC - .4byte lbl_80099740 - .4byte lbl_80099770 - .4byte lbl_800997BC - .4byte lbl_800997BC - .4byte lbl_800997BC - .4byte lbl_800997BC - .4byte lbl_800996CC - .4byte lbl_800997BC - .4byte lbl_8009977C - .4byte lbl_800996CC - .4byte lbl_800996F8 - .4byte lbl_80099710 - .4byte lbl_80099684 - .4byte 0x506F7274 - .4byte 0x20657272 - .4byte 0x6F722073 - .4byte 0x74617465 - .4byte 0x204F7269 - .4byte 0x67205761 - .4byte 0x69742053 - .4byte 0x65632065 - .4byte 0x76656E74 - .4byte 0x20446174 - .4byte 0x61000000 - .4byte 0 - .4byte 0x506F7274 - .4byte 0x20737461 - .4byte 0x7465206F - .4byte 0x7269675F - .4byte 0x77616974 - .4byte 0x5F736563 - .4byte 0x5F636865 - .4byte 0x636B2045 - .4byte 0x76656E74 - .4byte 0x2069676E - .4byte 0x6F726564 - .4byte 0x20256400 - -.global "@1465_8043F6B8" -"@1465_8043F6B8": - - .4byte lbl_80099890 - .4byte lbl_8009990C - .4byte lbl_8009990C - .4byte lbl_8009990C - .4byte lbl_80099900 - .4byte lbl_8009990C - .4byte lbl_8009990C - .4byte lbl_8009990C - .4byte lbl_8009990C - .4byte lbl_80099890 - .4byte lbl_8009990C - .4byte lbl_8009990C - .4byte lbl_800998BC - .4byte lbl_8009990C - .4byte lbl_800998D4 - .4byte lbl_80099840 - -.global "@1487" -"@1487": - - .4byte 0x506F7274 - .4byte 0x20737461 - .4byte 0x7465206F - .4byte 0x70656E65 - .4byte 0x64204576 - .4byte 0x656E7420 - .4byte 0x69676E6F - .4byte 0x72656420 - .4byte 0x25640000 - -.global "@1490" -"@1490": - - .4byte lbl_80099A60 - .4byte lbl_80099A5C - .4byte lbl_80099A70 - .4byte lbl_80099A88 - .4byte lbl_80099AAC - .4byte lbl_80099ABC - .4byte lbl_80099AF4 - .4byte lbl_80099AF4 - .4byte lbl_80099AF4 - .4byte lbl_80099988 - .4byte lbl_80099AF4 - .4byte lbl_80099AF4 - .4byte lbl_800999B8 - .4byte lbl_800999E0 - .4byte lbl_800999E8 - -.global "@1505" -"@1505": - - .4byte 0x506F7274 - .4byte 0x20737461 - .4byte 0x74652064 - .4byte 0x6973635F - .4byte 0x77616974 - .4byte 0x5F756120 - .4byte 0x4576656E - .4byte 0x74206967 - .4byte 0x6E6F7265 - .4byte 0x64202564 - .4byte 0 - -.global "@1508" -"@1508": - - .4byte lbl_80099BC8 - .4byte lbl_80099BB0 - .4byte lbl_80099BBC - .4byte lbl_80099BDC - .4byte lbl_80099BF0 - .4byte lbl_80099C0C - .4byte lbl_80099C14 - .4byte lbl_80099C14 - .4byte lbl_80099C14 - .4byte lbl_80099B70 - .4byte lbl_80099C14 - .4byte lbl_80099B70 - .4byte lbl_80099C14 - .4byte lbl_80099B9C - .4byte lbl_80099BA4 - -.global "@1516_8043F7C0" -"@1516_8043F7C0": - - .4byte 0x2A2A2A2A - .4byte 0x2A204D58 - .4byte 0x20504E20 - .4byte 0x7768696C - .4byte 0x65206469 - .4byte 0x73636F6E - .4byte 0x6E656374 - .4byte 0x696E6720 - .4byte 0x2A2A2A2A - .4byte 0x2A000000 diff --git a/asm/bte/rfc_port_if_8009a43c.s b/asm/bte/rfc_port_if.s similarity index 99% rename from asm/bte/rfc_port_if_8009a43c.s rename to asm/bte/rfc_port_if.s index c9e44376..236a6321 100644 --- a/asm/bte/rfc_port_if_8009a43c.s +++ b/asm/bte/rfc_port_if.s @@ -396,3 +396,9 @@ RFCOMM_DataReq: /* 8009A95C 0009679C 7C 08 03 A6 */ mtlr r0 /* 8009A960 000967A0 38 21 00 10 */ addi r1, r1, 0x10 /* 8009A964 000967A4 4E 80 00 20 */ blr +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global rfc_cb +rfc_cb: + .skip 0x418 diff --git a/asm/bte/rfc_port_if_804f9808.s b/asm/bte/rfc_port_if_804f9808.s deleted file mode 100644 index 526c2029..00000000 --- a/asm/bte/rfc_port_if_804f9808.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global rfc_cb -rfc_cb: - .skip 0x418 diff --git a/asm/bte/rfc_ts_frames_8009a968.s b/asm/bte/rfc_ts_frames.s similarity index 98% rename from asm/bte/rfc_ts_frames_8009a968.s rename to asm/bte/rfc_ts_frames.s index 031770fc..2ef06008 100644 --- a/asm/bte/rfc_ts_frames_8009a968.s +++ b/asm/bte/rfc_ts_frames.s @@ -1689,3 +1689,77 @@ lbl_8009BF90: /* 8009BFA4 00097DE4 7C 08 03 A6 */ mtlr r0 /* 8009BFA8 00097DE8 38 21 00 20 */ addi r1, r1, 0x20 /* 8009BFAC 00097DEC 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1168" +"@1168": + + .4byte 0x42616420 + .4byte 0x4C656E67 + .4byte 0x7468313A + .4byte 0x20256400 + .4byte 0x42616420 + .4byte 0x4C656E67 + .4byte 0x74683220 + .4byte 0x25642025 + .4byte 0x64000000 + .4byte 0x42616420 + .4byte 0x5341424D + .4byte 0x45000000 + .4byte 0x42616420 + .4byte 0x44495343 + .4byte 0 + .4byte 0x42616420 + .4byte 0x55494820 + .4byte 0x2D20696E + .4byte 0x76616C69 + .4byte 0x6420444C + .4byte 0x43490000 + .4byte 0x42616420 + .4byte 0x55494820 + .4byte 0x2D204643 + .4byte 0x53000000 + .4byte 0x42616420 + .4byte 0x55494820 + .4byte 0x2D207265 + .4byte 0x73706F6E + .4byte 0x73650000 + .4byte 0x496C6C65 + .4byte 0x67616C20 + .4byte 0x4D582046 + .4byte 0x72616D65 + .4byte 0x2065613A + .4byte 0x2564206C + .4byte 0x656E3A25 + .4byte 0x64000000 + .4byte 0x42616420 + .4byte 0x4D582066 + .4byte 0x72616D65 + .4byte 0 + .4byte 0x42616420 + .4byte 0x504E2066 + .4byte 0x72616D65 + .4byte 0 + .4byte 0x42616420 + .4byte 0x4D534320 + .4byte 0x6672616D + .4byte 0x65000000 + .4byte 0x42616420 + .4byte 0x52504E20 + .4byte 0x6672616D + .4byte 0x65000000 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global "@1171" +"@1171": + + .4byte 0x42616420 + .4byte 0x55410000 + +.global "@1172_80556938" +"@1172_80556938": + + .4byte 0x42616420 + .4byte 0x444D0000 diff --git a/asm/bte/rfc_ts_frames_8043f7e8.s b/asm/bte/rfc_ts_frames_8043f7e8.s deleted file mode 100644 index 98eaa440..00000000 --- a/asm/bte/rfc_ts_frames_8043f7e8.s +++ /dev/null @@ -1,60 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1168" -"@1168": - - .4byte 0x42616420 - .4byte 0x4C656E67 - .4byte 0x7468313A - .4byte 0x20256400 - .4byte 0x42616420 - .4byte 0x4C656E67 - .4byte 0x74683220 - .4byte 0x25642025 - .4byte 0x64000000 - .4byte 0x42616420 - .4byte 0x5341424D - .4byte 0x45000000 - .4byte 0x42616420 - .4byte 0x44495343 - .4byte 0 - .4byte 0x42616420 - .4byte 0x55494820 - .4byte 0x2D20696E - .4byte 0x76616C69 - .4byte 0x6420444C - .4byte 0x43490000 - .4byte 0x42616420 - .4byte 0x55494820 - .4byte 0x2D204643 - .4byte 0x53000000 - .4byte 0x42616420 - .4byte 0x55494820 - .4byte 0x2D207265 - .4byte 0x73706F6E - .4byte 0x73650000 - .4byte 0x496C6C65 - .4byte 0x67616C20 - .4byte 0x4D582046 - .4byte 0x72616D65 - .4byte 0x2065613A - .4byte 0x2564206C - .4byte 0x656E3A25 - .4byte 0x64000000 - .4byte 0x42616420 - .4byte 0x4D582066 - .4byte 0x72616D65 - .4byte 0 - .4byte 0x42616420 - .4byte 0x504E2066 - .4byte 0x72616D65 - .4byte 0 - .4byte 0x42616420 - .4byte 0x4D534320 - .4byte 0x6672616D - .4byte 0x65000000 - .4byte 0x42616420 - .4byte 0x52504E20 - .4byte 0x6672616D - .4byte 0x65000000 diff --git a/asm/bte/rfc_ts_frames_80556930.s b/asm/bte/rfc_ts_frames_80556930.s deleted file mode 100644 index de6365a4..00000000 --- a/asm/bte/rfc_ts_frames_80556930.s +++ /dev/null @@ -1,14 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global "@1171" -"@1171": - - .4byte 0x42616420 - .4byte 0x55410000 - -.global "@1172_80556938" -"@1172_80556938": - - .4byte 0x42616420 - .4byte 0x444D0000 diff --git a/asm/bte/rfc_utils_8009bfb0.s b/asm/bte/rfc_utils.s similarity index 92% rename from asm/bte/rfc_utils_8009bfb0.s rename to asm/bte/rfc_utils.s index 7fa03474..35da8aa7 100644 --- a/asm/bte/rfc_utils_8009bfb0.s +++ b/asm/bte/rfc_utils.s @@ -611,3 +611,131 @@ lbl_8009C77C: /* 8009C784 000985C4 7C 08 03 A6 */ mtlr r0 /* 8009C788 000985C8 38 21 00 10 */ addi r1, r1, 0x10 /* 8009C78C 000985CC 4E 80 00 20 */ blr +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global rfc_crctable +rfc_crctable: + + .4byte 0x0091E372 + .4byte 0x0796E475 + .4byte 0x0E9FED7C + .4byte 0x0998EA7B + .4byte 0x1C8DFF6E + .4byte 0x1B8AF869 + .4byte 0x1283F160 + .4byte 0x1584F667 + .4byte 0x38A9DB4A + .4byte 0x3FAEDC4D + .4byte 0x36A7D544 + .4byte 0x31A0D243 + .4byte 0x24B5C756 + .4byte 0x23B2C051 + .4byte 0x2ABBC958 + .4byte 0x2DBCCE5F + .4byte 0x70E19302 + .4byte 0x77E69405 + .4byte 0x7EEF9D0C + .4byte 0x79E89A0B + .4byte 0x6CFD8F1E + .4byte 0x6BFA8819 + .4byte 0x62F38110 + .4byte 0x65F48617 + .4byte 0x48D9AB3A + .4byte 0x4FDEAC3D + .4byte 0x46D7A534 + .4byte 0x41D0A233 + .4byte 0x54C5B726 + .4byte 0x53C2B021 + .4byte 0x5ACBB928 + .4byte 0x5DCCBE2F + .4byte 0xE0710392 + .4byte 0xE7760495 + .4byte 0xEE7F0D9C + .4byte 0xE9780A9B + .4byte 0xFC6D1F8E + .4byte 0xFB6A1889 + .4byte 0xF2631180 + .4byte 0xF5641687 + .4byte 0xD8493BAA + .4byte 0xDF4E3CAD + .4byte 0xD64735A4 + .4byte 0xD14032A3 + .4byte 0xC45527B6 + .4byte 0xC35220B1 + .4byte 0xCA5B29B8 + .4byte 0xCD5C2EBF + .4byte 0x900173E2 + .4byte 0x970674E5 + .4byte 0x9E0F7DEC + .4byte 0x99087AEB + .4byte 0x8C1D6FFE + .4byte 0x8B1A68F9 + .4byte 0x821361F0 + .4byte 0x851466F7 + .4byte 0xA8394BDA + .4byte 0xAF3E4CDD + .4byte 0xA63745D4 + .4byte 0xA13042D3 + .4byte 0xB42557C6 + .4byte 0xB32250C1 + .4byte 0xBA2B59C8 + .4byte 0xBD2C5ECF +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@688" +"@688": + + .4byte 0x7266635F + .4byte 0x74696D65 + .4byte 0x725F7374 + .4byte 0x6F700000 + +.global "@689" +"@689": + + .4byte 0x7266635F + .4byte 0x74696D65 + .4byte 0x725F7374 + .4byte 0x61727420 + .4byte 0x2D207469 + .4byte 0x6D656F75 + .4byte 0x743A2564 + .4byte 0 + +.global "@704_8043F8F0" +"@704_8043F8F0": + + .4byte 0x7266635F + .4byte 0x706F7274 + .4byte 0x5F74696D + .4byte 0x65725F73 + .4byte 0x74617274 + .4byte 0x202D2074 + .4byte 0x696D656F + .4byte 0x75743A25 + .4byte 0x64000000 + +.global "@708_8043F914" +"@708_8043F914": + + .4byte 0x7266635F + .4byte 0x706F7274 + .4byte 0x5F74696D + .4byte 0x65725F73 + .4byte 0x746F7000 + .4byte 0x7266635F + .4byte 0x706F7274 + .4byte 0x5F636C6F + .4byte 0x73656400 + +.global "@745" +"@745": + + .4byte 0x7266635F + .4byte 0x696E635F + .4byte 0x63726564 + .4byte 0x69743A25 + .4byte 0x64000000 + .4byte 0 diff --git a/asm/bte/rfc_utils_80408150.s b/asm/bte/rfc_utils_80408150.s deleted file mode 100644 index 143ddb66..00000000 --- a/asm/bte/rfc_utils_80408150.s +++ /dev/null @@ -1,70 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global rfc_crctable -rfc_crctable: - - .4byte 0x0091E372 - .4byte 0x0796E475 - .4byte 0x0E9FED7C - .4byte 0x0998EA7B - .4byte 0x1C8DFF6E - .4byte 0x1B8AF869 - .4byte 0x1283F160 - .4byte 0x1584F667 - .4byte 0x38A9DB4A - .4byte 0x3FAEDC4D - .4byte 0x36A7D544 - .4byte 0x31A0D243 - .4byte 0x24B5C756 - .4byte 0x23B2C051 - .4byte 0x2ABBC958 - .4byte 0x2DBCCE5F - .4byte 0x70E19302 - .4byte 0x77E69405 - .4byte 0x7EEF9D0C - .4byte 0x79E89A0B - .4byte 0x6CFD8F1E - .4byte 0x6BFA8819 - .4byte 0x62F38110 - .4byte 0x65F48617 - .4byte 0x48D9AB3A - .4byte 0x4FDEAC3D - .4byte 0x46D7A534 - .4byte 0x41D0A233 - .4byte 0x54C5B726 - .4byte 0x53C2B021 - .4byte 0x5ACBB928 - .4byte 0x5DCCBE2F - .4byte 0xE0710392 - .4byte 0xE7760495 - .4byte 0xEE7F0D9C - .4byte 0xE9780A9B - .4byte 0xFC6D1F8E - .4byte 0xFB6A1889 - .4byte 0xF2631180 - .4byte 0xF5641687 - .4byte 0xD8493BAA - .4byte 0xDF4E3CAD - .4byte 0xD64735A4 - .4byte 0xD14032A3 - .4byte 0xC45527B6 - .4byte 0xC35220B1 - .4byte 0xCA5B29B8 - .4byte 0xCD5C2EBF - .4byte 0x900173E2 - .4byte 0x970674E5 - .4byte 0x9E0F7DEC - .4byte 0x99087AEB - .4byte 0x8C1D6FFE - .4byte 0x8B1A68F9 - .4byte 0x821361F0 - .4byte 0x851466F7 - .4byte 0xA8394BDA - .4byte 0xAF3E4CDD - .4byte 0xA63745D4 - .4byte 0xA13042D3 - .4byte 0xB42557C6 - .4byte 0xB32250C1 - .4byte 0xBA2B59C8 - .4byte 0xBD2C5ECF diff --git a/asm/bte/rfc_utils_8043f8c0.s b/asm/bte/rfc_utils_8043f8c0.s deleted file mode 100644 index 7055eef2..00000000 --- a/asm/bte/rfc_utils_8043f8c0.s +++ /dev/null @@ -1,58 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@688" -"@688": - - .4byte 0x7266635F - .4byte 0x74696D65 - .4byte 0x725F7374 - .4byte 0x6F700000 - -.global "@689" -"@689": - - .4byte 0x7266635F - .4byte 0x74696D65 - .4byte 0x725F7374 - .4byte 0x61727420 - .4byte 0x2D207469 - .4byte 0x6D656F75 - .4byte 0x743A2564 - .4byte 0 - -.global "@704_8043F8F0" -"@704_8043F8F0": - - .4byte 0x7266635F - .4byte 0x706F7274 - .4byte 0x5F74696D - .4byte 0x65725F73 - .4byte 0x74617274 - .4byte 0x202D2074 - .4byte 0x696D656F - .4byte 0x75743A25 - .4byte 0x64000000 - -.global "@708_8043F914" -"@708_8043F914": - - .4byte 0x7266635F - .4byte 0x706F7274 - .4byte 0x5F74696D - .4byte 0x65725F73 - .4byte 0x746F7000 - .4byte 0x7266635F - .4byte 0x706F7274 - .4byte 0x5F636C6F - .4byte 0x73656400 - -.global "@745" -"@745": - - .4byte 0x7266635F - .4byte 0x696E635F - .4byte 0x63726564 - .4byte 0x69743A25 - .4byte 0x64000000 - .4byte 0 diff --git a/asm/bte/sdp_api_8009c790.s b/asm/bte/sdp_api.s similarity index 99% rename from asm/bte/sdp_api_8009c790.s rename to asm/bte/sdp_api.s index 8a0ca8ea..51ca8f13 100644 --- a/asm/bte/sdp_api_8009c790.s +++ b/asm/bte/sdp_api.s @@ -1115,3 +1115,29 @@ lbl_8009D5E8: /* 8009D5EC 0009942C 38 63 9C 20 */ addi r3, r3, sdp_cb@l /* 8009D5F0 00099430 88 63 46 30 */ lbz r3, 0x4630(r3) /* 8009D5F4 00099434 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1415_8043F950" +"@1415_8043F950": + + .4byte 0x5344505F + .4byte 0x496E6974 + .4byte 0x44697363 + .4byte 0x6F766572 + .4byte 0x79446220 + .4byte 0x496C6C65 + .4byte 0x67616C20 + .4byte 0x70617261 + .4byte 0x6D3A2070 + .4byte 0x5F646220 + .4byte 0x30782578 + .4byte 0x2C206C65 + .4byte 0x6E202564 + .4byte 0x2C206E75 + .4byte 0x6D5F7575 + .4byte 0x69642025 + .4byte 0x642C206E + .4byte 0x756D5F61 + .4byte 0x74747220 + .4byte 0x25640000 diff --git a/asm/bte/sdp_api_8043f950.s b/asm/bte/sdp_api_8043f950.s deleted file mode 100644 index 5a9b15f8..00000000 --- a/asm/bte/sdp_api_8043f950.s +++ /dev/null @@ -1,26 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1415_8043F950" -"@1415_8043F950": - - .4byte 0x5344505F - .4byte 0x496E6974 - .4byte 0x44697363 - .4byte 0x6F766572 - .4byte 0x79446220 - .4byte 0x496C6C65 - .4byte 0x67616C20 - .4byte 0x70617261 - .4byte 0x6D3A2070 - .4byte 0x5F646220 - .4byte 0x30782578 - .4byte 0x2C206C65 - .4byte 0x6E202564 - .4byte 0x2C206E75 - .4byte 0x6D5F7575 - .4byte 0x69642025 - .4byte 0x642C206E - .4byte 0x756D5F61 - .4byte 0x74747220 - .4byte 0x25640000 diff --git a/asm/bte/sdp_db_8009d5f8.s b/asm/bte/sdp_db.s similarity index 98% rename from asm/bte/sdp_db_8009d5f8.s rename to asm/bte/sdp_db.s index d07ae969..5a457803 100644 --- a/asm/bte/sdp_db_8009d5f8.s +++ b/asm/bte/sdp_db.s @@ -1006,3 +1006,55 @@ lbl_8009E2AC: /* 8009E2B8 0009A0F8 7C 08 03 A6 */ mtlr r0 /* 8009E2BC 0009A0FC 38 21 00 30 */ addi r1, r1, 0x30 /* 8009E2C0 0009A100 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1330" +"@1330": + + .4byte 0x5344505F + .4byte 0x41646441 + .4byte 0x74747269 + .4byte 0x62757465 + .4byte 0x3A206174 + .4byte 0x74725F6C + .4byte 0x656E3A25 + .4byte 0x6420746F + .4byte 0x6F206C6F + .4byte 0x6E672E20 + .4byte 0x7472756E + .4byte 0x63617465 + .4byte 0x20746F20 + .4byte 0x28256429 + .4byte 0 + +.global "@1369" +"@1369": + + .4byte 0x5344505F + .4byte 0x41646455 + .4byte 0x75696453 + .4byte 0x65717565 + .4byte 0x6E636520 + .4byte 0x2D20746F + .4byte 0x6F206C6F + .4byte 0x6E672C20 + .4byte 0x61646420 + .4byte 0x25642075 + .4byte 0x75696473 + .4byte 0x206F6620 + .4byte 0x25640000 + +.global "@1451" +"@1451": + + .4byte 0x44656C65 + .4byte 0x74696E67 + .4byte 0x20617474 + .4byte 0x725F6964 + .4byte 0x20307825 + .4byte 0x30347820 + .4byte 0x666F7220 + .4byte 0x68616E64 + .4byte 0x6C652030 + .4byte 0x78257800 diff --git a/asm/bte/sdp_db_8043f9a0.s b/asm/bte/sdp_db_8043f9a0.s deleted file mode 100644 index 29dbc846..00000000 --- a/asm/bte/sdp_db_8043f9a0.s +++ /dev/null @@ -1,52 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1330" -"@1330": - - .4byte 0x5344505F - .4byte 0x41646441 - .4byte 0x74747269 - .4byte 0x62757465 - .4byte 0x3A206174 - .4byte 0x74725F6C - .4byte 0x656E3A25 - .4byte 0x6420746F - .4byte 0x6F206C6F - .4byte 0x6E672E20 - .4byte 0x7472756E - .4byte 0x63617465 - .4byte 0x20746F20 - .4byte 0x28256429 - .4byte 0 - -.global "@1369" -"@1369": - - .4byte 0x5344505F - .4byte 0x41646455 - .4byte 0x75696453 - .4byte 0x65717565 - .4byte 0x6E636520 - .4byte 0x2D20746F - .4byte 0x6F206C6F - .4byte 0x6E672C20 - .4byte 0x61646420 - .4byte 0x25642075 - .4byte 0x75696473 - .4byte 0x206F6620 - .4byte 0x25640000 - -.global "@1451" -"@1451": - - .4byte 0x44656C65 - .4byte 0x74696E67 - .4byte 0x20617474 - .4byte 0x725F6964 - .4byte 0x20307825 - .4byte 0x30347820 - .4byte 0x666F7220 - .4byte 0x68616E64 - .4byte 0x6C652030 - .4byte 0x78257800 diff --git a/asm/bte/sdp_discovery_8009e2c4.s b/asm/bte/sdp_discovery.s similarity index 97% rename from asm/bte/sdp_discovery_8009e2c4.s rename to asm/bte/sdp_discovery.s index 5ef2ddeb..9ea5b2c2 100644 --- a/asm/bte/sdp_discovery_8009e2c4.s +++ b/asm/bte/sdp_discovery.s @@ -1440,3 +1440,109 @@ lbl_8009F524: /* 8009F530 0009B370 7C 08 03 A6 */ mtlr r0 /* 8009F534 0009B374 38 21 00 40 */ addi r1, r1, 0x40 /* 8009F538 0009B378 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1493" +"@1493": + + .4byte 0x53445020 + .4byte 0x2D20556E + .4byte 0x6578702E + .4byte 0x20504455 + .4byte 0x3A202564 + .4byte 0x20696E20 + .4byte 0x73746174 + .4byte 0x653A2025 + .4byte 0x64000000 + .4byte 0 + +.global "@1510" +"@1510": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x76642053 + .4byte 0x65727669 + .4byte 0x63655365 + .4byte 0x61726368 + .4byte 0x5273702C + .4byte 0x206E6F20 + .4byte 0x6D617463 + .4byte 0x68657300 + +.global "@1585" +"@1585": + + .4byte 0x53445020 + .4byte 0x2D205772 + .4byte 0x6F6E6720 + .4byte 0x74797065 + .4byte 0x3A203078 + .4byte 0x25303278 + .4byte 0x20696E20 + .4byte 0x61747472 + .4byte 0x5F727370 + .4byte 0 + .4byte 0x53445020 + .4byte 0x2D204261 + .4byte 0x64206C65 + .4byte 0x6E20696E + .4byte 0x20617474 + .4byte 0x725F7273 + .4byte 0x70202564 + .4byte 0 + .4byte 0x53445020 + .4byte 0x2D204442 + .4byte 0x2066756C + .4byte 0x6C000000 + .4byte 0x53445020 + .4byte 0x2D204261 + .4byte 0x64207479 + .4byte 0x70653A20 + .4byte 0x30782530 + .4byte 0x3278206F + .4byte 0x72206C65 + .4byte 0x6E3A2025 + .4byte 0x6420696E + .4byte 0x20617474 + .4byte 0x725F7273 + .4byte 0x70000000 + .4byte 0x53445020 + .4byte 0x2D206174 + .4byte 0x7472206E + .4byte 0x65737469 + .4byte 0x6E672074 + .4byte 0x6F6F2064 + .4byte 0x65657000 + .4byte 0x53445020 + .4byte 0x2D206261 + .4byte 0x64206C65 + .4byte 0x6E20696E + .4byte 0x20555549 + .4byte 0x44206174 + .4byte 0x74723A20 + .4byte 0x25640000 + .4byte 0x53445020 + .4byte 0x2D206261 + .4byte 0x64206C65 + .4byte 0x6E20696E + .4byte 0x20626F6F + .4byte 0x6C65616E + .4byte 0x20617474 + .4byte 0x723A2025 + .4byte 0x64000000 + +.global "@1723" +"@1723": + + .4byte lbl_8009F4A4 + .4byte lbl_8009F070 + .4byte lbl_8009F120 + .4byte lbl_8009F1DC + .4byte lbl_8009F424 + .4byte lbl_8009F454 + .4byte lbl_8009F370 + .4byte lbl_8009F370 + .4byte lbl_8009F424 + .4byte 0 diff --git a/asm/bte/sdp_discovery_8043fa38.s b/asm/bte/sdp_discovery_8043fa38.s deleted file mode 100644 index 77e83bbf..00000000 --- a/asm/bte/sdp_discovery_8043fa38.s +++ /dev/null @@ -1,106 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1493" -"@1493": - - .4byte 0x53445020 - .4byte 0x2D20556E - .4byte 0x6578702E - .4byte 0x20504455 - .4byte 0x3A202564 - .4byte 0x20696E20 - .4byte 0x73746174 - .4byte 0x653A2025 - .4byte 0x64000000 - .4byte 0 - -.global "@1510" -"@1510": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x76642053 - .4byte 0x65727669 - .4byte 0x63655365 - .4byte 0x61726368 - .4byte 0x5273702C - .4byte 0x206E6F20 - .4byte 0x6D617463 - .4byte 0x68657300 - -.global "@1585" -"@1585": - - .4byte 0x53445020 - .4byte 0x2D205772 - .4byte 0x6F6E6720 - .4byte 0x74797065 - .4byte 0x3A203078 - .4byte 0x25303278 - .4byte 0x20696E20 - .4byte 0x61747472 - .4byte 0x5F727370 - .4byte 0 - .4byte 0x53445020 - .4byte 0x2D204261 - .4byte 0x64206C65 - .4byte 0x6E20696E - .4byte 0x20617474 - .4byte 0x725F7273 - .4byte 0x70202564 - .4byte 0 - .4byte 0x53445020 - .4byte 0x2D204442 - .4byte 0x2066756C - .4byte 0x6C000000 - .4byte 0x53445020 - .4byte 0x2D204261 - .4byte 0x64207479 - .4byte 0x70653A20 - .4byte 0x30782530 - .4byte 0x3278206F - .4byte 0x72206C65 - .4byte 0x6E3A2025 - .4byte 0x6420696E - .4byte 0x20617474 - .4byte 0x725F7273 - .4byte 0x70000000 - .4byte 0x53445020 - .4byte 0x2D206174 - .4byte 0x7472206E - .4byte 0x65737469 - .4byte 0x6E672074 - .4byte 0x6F6F2064 - .4byte 0x65657000 - .4byte 0x53445020 - .4byte 0x2D206261 - .4byte 0x64206C65 - .4byte 0x6E20696E - .4byte 0x20555549 - .4byte 0x44206174 - .4byte 0x74723A20 - .4byte 0x25640000 - .4byte 0x53445020 - .4byte 0x2D206261 - .4byte 0x64206C65 - .4byte 0x6E20696E - .4byte 0x20626F6F - .4byte 0x6C65616E - .4byte 0x20617474 - .4byte 0x723A2025 - .4byte 0x64000000 - -.global "@1723" -"@1723": - - .4byte lbl_8009F4A4 - .4byte lbl_8009F070 - .4byte lbl_8009F120 - .4byte lbl_8009F1DC - .4byte lbl_8009F424 - .4byte lbl_8009F454 - .4byte lbl_8009F370 - .4byte lbl_8009F370 - .4byte lbl_8009F424 - .4byte 0 diff --git a/asm/bte/sdp_main_8009f53c.s b/asm/bte/sdp_main.s similarity index 90% rename from asm/bte/sdp_main_8009f53c.s rename to asm/bte/sdp_main.s index 7f18c938..5e5bd045 100644 --- a/asm/bte/sdp_main_8009f53c.s +++ b/asm/bte/sdp_main.s @@ -858,3 +858,275 @@ lbl_800A008C: /* 800A009C 0009BEDC 7C 08 03 A6 */ mtlr r0 /* 800A00A0 0009BEE0 38 21 00 10 */ addi r1, r1, 0x10 /* 800A00A4 0009BEE4 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1261" +"@1261": + + .4byte 0x53657276 + .4byte 0x69636520 + .4byte 0x44697363 + .4byte 0x6F766572 + .4byte 0x79000000 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x20526567 + .4byte 0x69737472 + .4byte 0x6174696F + .4byte 0x6E205365 + .4byte 0x72766572 + .4byte 0x20666169 + .4byte 0x6C656400 + .4byte 0x53656375 + .4byte 0x72697479 + .4byte 0x20526567 + .4byte 0x69737472 + .4byte 0x6174696F + .4byte 0x6E20666F + .4byte 0x7220436C + .4byte 0x69656E74 + .4byte 0x20666169 + .4byte 0x6C656400 + .4byte 0x53445020 + .4byte 0x52656769 + .4byte 0x73747261 + .4byte 0x74696F6E + .4byte 0x20666169 + .4byte 0x6C656400 + +.global "@1274" +"@1274": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20636F6E + .4byte 0x6E20696E + .4byte 0x642C2073 + .4byte 0x656E7420 + .4byte 0x636F6E66 + .4byte 0x69672072 + .4byte 0x65712C20 + .4byte 0x43494420 + .4byte 0x30782578 + .4byte 0 + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x76642063 + .4byte 0x6F6E6E20 + .4byte 0x636E6620 + .4byte 0x666F7220 + .4byte 0x756E6B6E + .4byte 0x6F776E20 + .4byte 0x43494420 + .4byte 0x30782578 + .4byte 0 + .4byte 0x53445020 + .4byte 0x2D20676F + .4byte 0x7420636F + .4byte 0x6E6E2063 + .4byte 0x6E662C20 + .4byte 0x73656E74 + .4byte 0x20636667 + .4byte 0x20726571 + .4byte 0x2C204349 + .4byte 0x443A2030 + .4byte 0x78257800 + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x76642063 + .4byte 0x6F6E6E20 + .4byte 0x636E6620 + .4byte 0x77697468 + .4byte 0x20657272 + .4byte 0x6F723A20 + .4byte 0x30782578 + .4byte 0x20204349 + .4byte 0x44203078 + .4byte 0x25780000 + +.global "@1306" +"@1306": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20636667 + .4byte 0x20696E64 + .4byte 0x2C20756E + .4byte 0x6B6E6F77 + .4byte 0x6E204349 + .4byte 0x443A2030 + .4byte 0x78257800 + +.global "@1307" +"@1307": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x76642063 + .4byte 0x66672069 + .4byte 0x6E642C20 + .4byte 0x73656E74 + .4byte 0x20636667 + .4byte 0x2063666D + .4byte 0x2C204349 + .4byte 0x443A2030 + .4byte 0x78257800 + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x76642063 + .4byte 0x66672063 + .4byte 0x666D2C20 + .4byte 0x4349443A + .4byte 0x20307825 + .4byte 0x78202052 + .4byte 0x6573756C + .4byte 0x743A2025 + .4byte 0x64000000 + +.global "@1323" +"@1323": + + .4byte 0x53445020 + .4byte 0x2D206469 + .4byte 0x73636F6E + .4byte 0x6E656374 + .4byte 0x20204349 + .4byte 0x443A2030 + .4byte 0x78257800 + +.global "@1337" +"@1337": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646973 + .4byte 0x632C2075 + .4byte 0x6E6B6E6F + .4byte 0x776E2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1338" +"@1338": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646973 + .4byte 0x632C2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1347" +"@1347": + + .4byte 0x53445020 + .4byte 0x2D204967 + .4byte 0x6E6F7265 + .4byte 0x64204C32 + .4byte 0x43415020 + .4byte 0x64617461 + .4byte 0x20776869 + .4byte 0x6C652069 + .4byte 0x6E207374 + .4byte 0x6174653A + .4byte 0x2025642C + .4byte 0x20434944 + .4byte 0x3A203078 + .4byte 0x25780000 + +.global "@1348" +"@1348": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646174 + .4byte 0x612C2075 + .4byte 0x6E6B6E6F + .4byte 0x776E2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + .4byte 0x53445020 + .4byte 0x2D206E6F + .4byte 0x20737061 + .4byte 0x72652043 + .4byte 0x43422066 + .4byte 0x6F72206F + .4byte 0x72696700 + .4byte 0x53445020 + .4byte 0x2D204F72 + .4byte 0x6967696E + .4byte 0x61746520 + .4byte 0x73746172 + .4byte 0x74656400 + .4byte 0x53445020 + .4byte 0x2D204F72 + .4byte 0x6967696E + .4byte 0x61746520 + .4byte 0x6661696C + .4byte 0x65640000 + +.global "@1375" +"@1375": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646973 + .4byte 0x63206366 + .4byte 0x6D2C2075 + .4byte 0x6E6B6E6F + .4byte 0x776E2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1376" +"@1376": + + .4byte 0x53445020 + .4byte 0x2D205263 + .4byte 0x7664204C + .4byte 0x32434150 + .4byte 0x20646973 + .4byte 0x63206366 + .4byte 0x6D2C2043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1382" +"@1382": + + .4byte 0x53445020 + .4byte 0x2D204343 + .4byte 0x42207469 + .4byte 0x6D656F75 + .4byte 0x7420696E + .4byte 0x20737461 + .4byte 0x74653A20 + .4byte 0x25642020 + .4byte 0x4349443A + .4byte 0x20307825 + .4byte 0x78000000 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global sdp_cb +sdp_cb: + .skip 0x4638 diff --git a/asm/bte/sdp_main_8043fb98.s b/asm/bte/sdp_main_8043fb98.s deleted file mode 100644 index edfdc4fc..00000000 --- a/asm/bte/sdp_main_8043fb98.s +++ /dev/null @@ -1,266 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1261" -"@1261": - - .4byte 0x53657276 - .4byte 0x69636520 - .4byte 0x44697363 - .4byte 0x6F766572 - .4byte 0x79000000 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x20526567 - .4byte 0x69737472 - .4byte 0x6174696F - .4byte 0x6E205365 - .4byte 0x72766572 - .4byte 0x20666169 - .4byte 0x6C656400 - .4byte 0x53656375 - .4byte 0x72697479 - .4byte 0x20526567 - .4byte 0x69737472 - .4byte 0x6174696F - .4byte 0x6E20666F - .4byte 0x7220436C - .4byte 0x69656E74 - .4byte 0x20666169 - .4byte 0x6C656400 - .4byte 0x53445020 - .4byte 0x52656769 - .4byte 0x73747261 - .4byte 0x74696F6E - .4byte 0x20666169 - .4byte 0x6C656400 - -.global "@1274" -"@1274": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20636F6E - .4byte 0x6E20696E - .4byte 0x642C2073 - .4byte 0x656E7420 - .4byte 0x636F6E66 - .4byte 0x69672072 - .4byte 0x65712C20 - .4byte 0x43494420 - .4byte 0x30782578 - .4byte 0 - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x76642063 - .4byte 0x6F6E6E20 - .4byte 0x636E6620 - .4byte 0x666F7220 - .4byte 0x756E6B6E - .4byte 0x6F776E20 - .4byte 0x43494420 - .4byte 0x30782578 - .4byte 0 - .4byte 0x53445020 - .4byte 0x2D20676F - .4byte 0x7420636F - .4byte 0x6E6E2063 - .4byte 0x6E662C20 - .4byte 0x73656E74 - .4byte 0x20636667 - .4byte 0x20726571 - .4byte 0x2C204349 - .4byte 0x443A2030 - .4byte 0x78257800 - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x76642063 - .4byte 0x6F6E6E20 - .4byte 0x636E6620 - .4byte 0x77697468 - .4byte 0x20657272 - .4byte 0x6F723A20 - .4byte 0x30782578 - .4byte 0x20204349 - .4byte 0x44203078 - .4byte 0x25780000 - -.global "@1306" -"@1306": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20636667 - .4byte 0x20696E64 - .4byte 0x2C20756E - .4byte 0x6B6E6F77 - .4byte 0x6E204349 - .4byte 0x443A2030 - .4byte 0x78257800 - -.global "@1307" -"@1307": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x76642063 - .4byte 0x66672069 - .4byte 0x6E642C20 - .4byte 0x73656E74 - .4byte 0x20636667 - .4byte 0x2063666D - .4byte 0x2C204349 - .4byte 0x443A2030 - .4byte 0x78257800 - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x76642063 - .4byte 0x66672063 - .4byte 0x666D2C20 - .4byte 0x4349443A - .4byte 0x20307825 - .4byte 0x78202052 - .4byte 0x6573756C - .4byte 0x743A2025 - .4byte 0x64000000 - -.global "@1323" -"@1323": - - .4byte 0x53445020 - .4byte 0x2D206469 - .4byte 0x73636F6E - .4byte 0x6E656374 - .4byte 0x20204349 - .4byte 0x443A2030 - .4byte 0x78257800 - -.global "@1337" -"@1337": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646973 - .4byte 0x632C2075 - .4byte 0x6E6B6E6F - .4byte 0x776E2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1338" -"@1338": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646973 - .4byte 0x632C2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1347" -"@1347": - - .4byte 0x53445020 - .4byte 0x2D204967 - .4byte 0x6E6F7265 - .4byte 0x64204C32 - .4byte 0x43415020 - .4byte 0x64617461 - .4byte 0x20776869 - .4byte 0x6C652069 - .4byte 0x6E207374 - .4byte 0x6174653A - .4byte 0x2025642C - .4byte 0x20434944 - .4byte 0x3A203078 - .4byte 0x25780000 - -.global "@1348" -"@1348": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646174 - .4byte 0x612C2075 - .4byte 0x6E6B6E6F - .4byte 0x776E2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - .4byte 0x53445020 - .4byte 0x2D206E6F - .4byte 0x20737061 - .4byte 0x72652043 - .4byte 0x43422066 - .4byte 0x6F72206F - .4byte 0x72696700 - .4byte 0x53445020 - .4byte 0x2D204F72 - .4byte 0x6967696E - .4byte 0x61746520 - .4byte 0x73746172 - .4byte 0x74656400 - .4byte 0x53445020 - .4byte 0x2D204F72 - .4byte 0x6967696E - .4byte 0x61746520 - .4byte 0x6661696C - .4byte 0x65640000 - -.global "@1375" -"@1375": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646973 - .4byte 0x63206366 - .4byte 0x6D2C2075 - .4byte 0x6E6B6E6F - .4byte 0x776E2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1376" -"@1376": - - .4byte 0x53445020 - .4byte 0x2D205263 - .4byte 0x7664204C - .4byte 0x32434150 - .4byte 0x20646973 - .4byte 0x63206366 - .4byte 0x6D2C2043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1382" -"@1382": - - .4byte 0x53445020 - .4byte 0x2D204343 - .4byte 0x42207469 - .4byte 0x6D656F75 - .4byte 0x7420696E - .4byte 0x20737461 - .4byte 0x74653A20 - .4byte 0x25642020 - .4byte 0x4349443A - .4byte 0x20307825 - .4byte 0x78000000 - .4byte 0 diff --git a/asm/bte/sdp_main_804f9c20.s b/asm/bte/sdp_main_804f9c20.s deleted file mode 100644 index 75c0fbe1..00000000 --- a/asm/bte/sdp_main_804f9c20.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global sdp_cb -sdp_cb: - .skip 0x4638 diff --git a/asm/bte/sdp_server_800a00a8.s b/asm/bte/sdp_server.s similarity index 99% rename from asm/bte/sdp_server_800a00a8.s rename to asm/bte/sdp_server.s index ef85e4e2..51725602 100644 --- a/asm/bte/sdp_server_800a00a8.s +++ b/asm/bte/sdp_server.s @@ -991,3 +991,29 @@ lbl_800A0DA0: /* 800A0DAC 0009CBEC 7C 08 03 A6 */ mtlr r0 /* 800A0DB0 0009CBF0 38 21 01 F0 */ addi r1, r1, 0x1f0 /* 800A0DB4 0009CBF4 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1040_8043FEF8" +"@1040_8043FEF8": + + .4byte 0x53445020 + .4byte 0x2D207365 + .4byte 0x72766572 + .4byte 0x20676F74 + .4byte 0x20756E6B + .4byte 0x6E6F776E + .4byte 0x20504455 + .4byte 0x3A203078 + .4byte 0x25780000 + +.global "@1122_8043FF1C" +"@1122_8043FF1C": + + .4byte 0x53445020 + .4byte 0x2D206E6F + .4byte 0x20627566 + .4byte 0x20666F72 + .4byte 0x20736561 + .4byte 0x72636820 + .4byte 0x72737000 diff --git a/asm/bte/sdp_server_8043fef8.s b/asm/bte/sdp_server_8043fef8.s deleted file mode 100644 index 925f7198..00000000 --- a/asm/bte/sdp_server_8043fef8.s +++ /dev/null @@ -1,26 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1040_8043FEF8" -"@1040_8043FEF8": - - .4byte 0x53445020 - .4byte 0x2D207365 - .4byte 0x72766572 - .4byte 0x20676F74 - .4byte 0x20756E6B - .4byte 0x6E6F776E - .4byte 0x20504455 - .4byte 0x3A203078 - .4byte 0x25780000 - -.global "@1122_8043FF1C" -"@1122_8043FF1C": - - .4byte 0x53445020 - .4byte 0x2D206E6F - .4byte 0x20627566 - .4byte 0x20666F72 - .4byte 0x20736561 - .4byte 0x72636820 - .4byte 0x72737000 diff --git a/asm/bte/sdp_utils_800a0db8.s b/asm/bte/sdp_utils.s similarity index 96% rename from asm/bte/sdp_utils_800a0db8.s rename to asm/bte/sdp_utils.s index 2def522d..c98a8a74 100644 --- a/asm/bte/sdp_utils_800a0db8.s +++ b/asm/bte/sdp_utils.s @@ -1349,3 +1349,133 @@ lbl_800A1DE8: /* 800A1DF4 0009DC34 4E 80 00 20 */ blr /* 800A1DF8 0009DC38 00 00 00 00 */ .4byte 0x00000000 /* 800A1DFC 0009DC3C 00 00 00 00 */ .4byte 0x00000000 +.include "macros.inc" + +.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 +.global sdp_base_uuid +sdp_base_uuid: + + .4byte 0 + .4byte 0x00001000 + .4byte 0x80000080 + .4byte 0x5F9B34FB +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1109" +"@1109": + + .4byte lbl_800A11D0 + .4byte lbl_800A1170 + .4byte lbl_800A1180 + .4byte lbl_800A11D0 + .4byte lbl_800A1194 + .4byte lbl_800A11D0 + .4byte lbl_800A11D0 + .4byte lbl_800A11D0 + .4byte lbl_800A11A8 + .4byte lbl_800A11D0 + .4byte lbl_800A11D0 + .4byte lbl_800A11D0 + .4byte lbl_800A11D0 + .4byte lbl_800A11D0 + .4byte lbl_800A11D0 + .4byte lbl_800A11D0 + .4byte lbl_800A11BC + +.global "@1118" +"@1118": + + .4byte 0x53445020 + .4byte 0x2D207364 + .4byte 0x70755F62 + .4byte 0x75696C64 + .4byte 0x5F6E5F73 + .4byte 0x656E645F + .4byte 0x6572726F + .4byte 0x72202063 + .4byte 0x6F64653A + .4byte 0x20307825 + .4byte 0x78202043 + .4byte 0x49443A20 + .4byte 0x30782578 + .4byte 0 + +.global "@1119" +"@1119": + + .4byte 0x53445020 + .4byte 0x2D206E6F + .4byte 0x20627566 + .4byte 0x20666F72 + .4byte 0x20657272 + .4byte 0x206D7367 + .4byte 0 + +.global "@1173_8043FFD0" +"@1173_8043FFD0": + + .4byte lbl_800A14E0 + .4byte lbl_800A1470 + .4byte lbl_800A1478 + .4byte lbl_800A14E0 + .4byte lbl_800A1480 + .4byte lbl_800A1488 + .4byte lbl_800A1494 + .4byte lbl_800A14B0 + +.global "@1172_8043FFF0" +"@1172_8043FFF0": + + .4byte lbl_800A140C + .4byte lbl_800A139C + .4byte lbl_800A13A4 + .4byte lbl_800A140C + +.global lbl_80440000 +lbl_80440000: + + .4byte lbl_800A13AC + +.global lbl_80440004 +lbl_80440004: + + .4byte lbl_800A13B4 + +.global lbl_80440008 +lbl_80440008: + + .4byte lbl_800A13C0 + +.global lbl_8044000C +lbl_8044000C: + + .4byte lbl_800A13DC + +.global "@1221_80440010" +"@1221_80440010": + + .4byte lbl_800A191C + +.global lbl_80440014 +lbl_80440014: + + .4byte lbl_800A1928 + +.global lbl_80440018 +lbl_80440018: + + .4byte lbl_800A1934 + +.global lbl_8044001C +lbl_8044001C: + + .4byte lbl_800A1940 + +.global lbl_80440020 +lbl_80440020: + + .4byte lbl_800A194C + .4byte lbl_800A1958 + .4byte lbl_800A1968 + .4byte lbl_800A1988 diff --git a/asm/bte/sdp_utils_80408250.s b/asm/bte/sdp_utils_80408250.s deleted file mode 100644 index 9c45a8b6..00000000 --- a/asm/bte/sdp_utils_80408250.s +++ /dev/null @@ -1,10 +0,0 @@ -.include "macros.inc" - -.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0 -.global sdp_base_uuid -sdp_base_uuid: - - .4byte 0 - .4byte 0x00001000 - .4byte 0x80000080 - .4byte 0x5F9B34FB diff --git a/asm/bte/sdp_utils_8043ff38.s b/asm/bte/sdp_utils_8043ff38.s deleted file mode 100644 index 1d1cbdc6..00000000 --- a/asm/bte/sdp_utils_8043ff38.s +++ /dev/null @@ -1,120 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1109" -"@1109": - - .4byte lbl_800A11D0 - .4byte lbl_800A1170 - .4byte lbl_800A1180 - .4byte lbl_800A11D0 - .4byte lbl_800A1194 - .4byte lbl_800A11D0 - .4byte lbl_800A11D0 - .4byte lbl_800A11D0 - .4byte lbl_800A11A8 - .4byte lbl_800A11D0 - .4byte lbl_800A11D0 - .4byte lbl_800A11D0 - .4byte lbl_800A11D0 - .4byte lbl_800A11D0 - .4byte lbl_800A11D0 - .4byte lbl_800A11D0 - .4byte lbl_800A11BC - -.global "@1118" -"@1118": - - .4byte 0x53445020 - .4byte 0x2D207364 - .4byte 0x70755F62 - .4byte 0x75696C64 - .4byte 0x5F6E5F73 - .4byte 0x656E645F - .4byte 0x6572726F - .4byte 0x72202063 - .4byte 0x6F64653A - .4byte 0x20307825 - .4byte 0x78202043 - .4byte 0x49443A20 - .4byte 0x30782578 - .4byte 0 - -.global "@1119" -"@1119": - - .4byte 0x53445020 - .4byte 0x2D206E6F - .4byte 0x20627566 - .4byte 0x20666F72 - .4byte 0x20657272 - .4byte 0x206D7367 - .4byte 0 - -.global "@1173_8043FFD0" -"@1173_8043FFD0": - - .4byte lbl_800A14E0 - .4byte lbl_800A1470 - .4byte lbl_800A1478 - .4byte lbl_800A14E0 - .4byte lbl_800A1480 - .4byte lbl_800A1488 - .4byte lbl_800A1494 - .4byte lbl_800A14B0 - -.global "@1172_8043FFF0" -"@1172_8043FFF0": - - .4byte lbl_800A140C - .4byte lbl_800A139C - .4byte lbl_800A13A4 - .4byte lbl_800A140C - -.global lbl_80440000 -lbl_80440000: - - .4byte lbl_800A13AC - -.global lbl_80440004 -lbl_80440004: - - .4byte lbl_800A13B4 - -.global lbl_80440008 -lbl_80440008: - - .4byte lbl_800A13C0 - -.global lbl_8044000C -lbl_8044000C: - - .4byte lbl_800A13DC - -.global "@1221_80440010" -"@1221_80440010": - - .4byte lbl_800A191C - -.global lbl_80440014 -lbl_80440014: - - .4byte lbl_800A1928 - -.global lbl_80440018 -lbl_80440018: - - .4byte lbl_800A1934 - -.global lbl_8044001C -lbl_8044001C: - - .4byte lbl_800A1940 - -.global lbl_80440020 -lbl_80440020: - - .4byte lbl_800A194C - .4byte lbl_800A1958 - .4byte lbl_800A1968 - .4byte lbl_800A1988 diff --git a/asm/bte/utl_80078680.s b/asm/bte/utl.s similarity index 100% rename from asm/bte/utl_80078680.s rename to asm/bte/utl.s diff --git a/asm/bte/uusb_ppc_80076b30.s b/asm/bte/uusb_ppc.s similarity index 97% rename from asm/bte/uusb_ppc_80076b30.s rename to asm/bte/uusb_ppc.s index 7dc0f180..7dca1173 100644 --- a/asm/bte/uusb_ppc_80076b30.s +++ b/asm/bte/uusb_ppc.s @@ -927,3 +927,69 @@ UUSB_Unregister: /* 80077794 000735D4 00 00 00 00 */ .4byte 0x00000000 /* 80077798 000735D8 00 00 00 00 */ .4byte 0x00000000 /* 8007779C 000735DC 00 00 00 00 */ .4byte 0x00000000 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global usb +usb: + .skip 0x60 + +.global __uusb_ppc_stack1 +__uusb_ppc_stack1: + .skip 0x1000 + +.global __uusb_ppc_stack2 +__uusb_ppc_stack2: + .skip 0x1000 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global wait4hci +wait4hci: + + .4byte 0x00000001 + +.global __ntd_ios_file_descriptor +__ntd_ios_file_descriptor: + + .4byte 0xFFFFFFFF + +.global "@3103" +"@3103": + + .4byte 0x6F683000 + +.global "@3104" +"@3104": + + .4byte 0x6F683100 +.include "macros.inc" + +.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 +.global uusb_g_usb_devid_found +uusb_g_usb_devid_found: + .skip 0x1 + +.global uusb_g_trace_state_initialized +uusb_g_trace_state_initialized: + .skip 0x3 + +.global __ntd_ohci +__ntd_ohci: + .skip 0x4 + +.global __ntd_ohci_init_flag +__ntd_ohci_init_flag: + .skip 0x4 + +.global __ntd_pid_vid_specified +__ntd_pid_vid_specified: + .skip 0x4 + +.global __ntd_vid +__ntd_vid: + .skip 0x4 + +.global __ntd_pid +__ntd_pid: + .skip 0x4 diff --git a/asm/bte/uusb_ppc_804f21c0.s b/asm/bte/uusb_ppc_804f21c0.s deleted file mode 100644 index a8be3c6b..00000000 --- a/asm/bte/uusb_ppc_804f21c0.s +++ /dev/null @@ -1,14 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global usb -usb: - .skip 0x60 - -.global __uusb_ppc_stack1 -__uusb_ppc_stack1: - .skip 0x1000 - -.global __uusb_ppc_stack2 -__uusb_ppc_stack2: - .skip 0x1000 diff --git a/asm/bte/uusb_ppc_805568a0.s b/asm/bte/uusb_ppc_805568a0.s deleted file mode 100644 index ac4d5ddf..00000000 --- a/asm/bte/uusb_ppc_805568a0.s +++ /dev/null @@ -1,22 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global wait4hci -wait4hci: - - .4byte 0x00000001 - -.global __ntd_ios_file_descriptor -__ntd_ios_file_descriptor: - - .4byte 0xFFFFFFFF - -.global "@3103" -"@3103": - - .4byte 0x6F683000 - -.global "@3104" -"@3104": - - .4byte 0x6F683100 diff --git a/asm/bte/uusb_ppc_8055cee0.s b/asm/bte/uusb_ppc_8055cee0.s deleted file mode 100644 index b94eadcf..00000000 --- a/asm/bte/uusb_ppc_8055cee0.s +++ /dev/null @@ -1,30 +0,0 @@ -.include "macros.inc" - -.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 -.global uusb_g_usb_devid_found -uusb_g_usb_devid_found: - .skip 0x1 - -.global uusb_g_trace_state_initialized -uusb_g_trace_state_initialized: - .skip 0x3 - -.global __ntd_ohci -__ntd_ohci: - .skip 0x4 - -.global __ntd_ohci_init_flag -__ntd_ohci_init_flag: - .skip 0x4 - -.global __ntd_pid_vid_specified -__ntd_pid_vid_specified: - .skip 0x4 - -.global __ntd_vid -__ntd_vid: - .skip 0x4 - -.global __ntd_pid -__ntd_pid: - .skip 0x4 diff --git a/asm/bte/wbt_ext_80089500.s b/asm/bte/wbt_ext.s similarity index 100% rename from asm/bte/wbt_ext_80089500.s rename to asm/bte/wbt_ext.s diff --git a/obj_files.mk b/obj_files.mk index e3b39f04..48a6bc88 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -257,73 +257,77 @@ $(BUILD_DIR)/asm/euart/euart.o \ \ $(BUILD_DIR)/asm/usb/usb.o \ \ +$(BUILD_DIR)/asm/bte/gki_buffer.o \ +$(BUILD_DIR)/asm/bte/gki_time.o \ +$(BUILD_DIR)/asm/bte/gki_ppc.o \ +$(BUILD_DIR)/asm/bte/hcisu_h2.o \ +$(BUILD_DIR)/asm/bte/uusb_ppc.o \ +$(BUILD_DIR)/asm/bte/bta_dm_cfg.o \ +$(BUILD_DIR)/asm/bte/bta_hh_cfg.o \ +$(BUILD_DIR)/asm/bte/bta_sys_cfg.o \ +$(BUILD_DIR)/asm/bte/bte_hcisu.o \ +$(BUILD_DIR)/asm/bte/bte_init.o \ +$(BUILD_DIR)/asm/bte/bte_logmsg.o \ +$(BUILD_DIR)/asm/bte/bte_main.o \ +$(BUILD_DIR)/asm/bte/btu_task1.o \ +$(BUILD_DIR)/asm/bte/bd.o \ +$(BUILD_DIR)/asm/bte/bta_sys_conn.o \ +$(BUILD_DIR)/asm/bte/bta_sys_main.o \ +$(BUILD_DIR)/asm/bte/ptim.o \ +$(BUILD_DIR)/asm/bte/utl.o \ +$(BUILD_DIR)/asm/bte/bta_dm_act.o \ +$(BUILD_DIR)/asm/bte/bta_dm_api.o \ +$(BUILD_DIR)/asm/bte/bta_dm_main.o \ +$(BUILD_DIR)/asm/bte/bta_dm_pm.o \ +$(BUILD_DIR)/asm/bte/bta_hh_act.o \ +$(BUILD_DIR)/asm/bte/bta_hh_api.o \ +$(BUILD_DIR)/asm/bte/bta_hh_main.o \ +$(BUILD_DIR)/asm/bte/bta_hh_utils.o \ +$(BUILD_DIR)/asm/bte/btm_acl.o \ +$(BUILD_DIR)/asm/bte/btm_dev.o \ +$(BUILD_DIR)/asm/bte/btm_devctl.o \ +$(BUILD_DIR)/asm/bte/btm_discovery.o \ +$(BUILD_DIR)/asm/bte/btm_inq.o \ +$(BUILD_DIR)/asm/bte/btm_main.o \ +$(BUILD_DIR)/asm/bte/btm_pm.o \ +$(BUILD_DIR)/asm/bte/btm_sco.o \ +$(BUILD_DIR)/asm/bte/btm_sec.o \ +$(BUILD_DIR)/asm/bte/btu_hcif.o \ +$(BUILD_DIR)/asm/bte/btu_init.o \ +$(BUILD_DIR)/asm/bte/wbt_ext.o \ +$(BUILD_DIR)/asm/bte/gap_api.o \ +$(BUILD_DIR)/asm/bte/gap_conn.o \ +$(BUILD_DIR)/asm/bte/gap_utils.o \ +$(BUILD_DIR)/asm/bte/hcicmds.o \ +$(BUILD_DIR)/asm/bte/hidd_api.o \ +$(BUILD_DIR)/asm/bte/hidd_conn.o \ +$(BUILD_DIR)/asm/bte/hidd_mgmt.o \ +$(BUILD_DIR)/asm/bte/hidd_pm.o \ +$(BUILD_DIR)/asm/bte/hidh_api.o \ +$(BUILD_DIR)/asm/bte/hidh_conn.o \ +$(BUILD_DIR)/asm/bte/l2c_api.o \ +$(BUILD_DIR)/asm/bte/l2c_csm.o \ +$(BUILD_DIR)/asm/bte/l2c_link.o \ +$(BUILD_DIR)/asm/bte/l2c_main.o \ +$(BUILD_DIR)/asm/bte/l2c_utils.o \ +$(BUILD_DIR)/asm/bte/port_api.o \ +$(BUILD_DIR)/asm/bte/port_rfc.o \ +$(BUILD_DIR)/asm/bte/port_utils.o \ +$(BUILD_DIR)/asm/bte/rfc_l2cap_if.o \ +$(BUILD_DIR)/asm/bte/rfc_mx_fsm.o \ +$(BUILD_DIR)/asm/bte/rfc_port_fsm.o \ +$(BUILD_DIR)/asm/bte/rfc_port_if.o \ +$(BUILD_DIR)/asm/bte/rfc_ts_frames.o \ +$(BUILD_DIR)/asm/bte/rfc_utils.o \ +$(BUILD_DIR)/asm/bte/sdp_api.o \ +$(BUILD_DIR)/asm/bte/sdp_db.o \ +$(BUILD_DIR)/asm/bte/sdp_discovery.o \ +$(BUILD_DIR)/asm/bte/sdp_main.o \ +$(BUILD_DIR)/asm/bte/sdp_server.o \ +$(BUILD_DIR)/asm/bte/sdp_utils.o \ +\ $(BUILD_DIR)/asm/Linker/Generated/Symbol/File_80006684.o \ $(BUILD_DIR)/asm/Linker/Generated/Symbol/File_800069c4.o \ -$(BUILD_DIR)/asm/bte/gki_buffer_80074790.o \ -$(BUILD_DIR)/asm/bte/gki_time_80075c30.o \ -$(BUILD_DIR)/asm/bte/gki_ppc_800761c0.o \ -$(BUILD_DIR)/asm/bte/hcisu_h2_80076470.o \ -$(BUILD_DIR)/asm/bte/uusb_ppc_80076b30.o \ -$(BUILD_DIR)/asm/bte/bte_hcisu_800777a0.o \ -$(BUILD_DIR)/asm/bte/bte_init_80077870.o \ -$(BUILD_DIR)/asm/bte/bte_logmsg_800778a0.o \ -$(BUILD_DIR)/asm/bte/bte_main_80077980.o \ -$(BUILD_DIR)/asm/bte/btu_task1_80077af0.o \ -$(BUILD_DIR)/asm/bte/bd_80077f34.o \ -$(BUILD_DIR)/asm/bte/bta_sys_conn_80078008.o \ -$(BUILD_DIR)/asm/bte/bta_sys_main_8007825c.o \ -$(BUILD_DIR)/asm/bte/ptim_800784a0.o \ -$(BUILD_DIR)/asm/bte/utl_80078680.o \ -$(BUILD_DIR)/asm/bte/bta_dm_act_800786c4.o \ -$(BUILD_DIR)/asm/bte/bta_dm_api_8007a9e4.o \ -$(BUILD_DIR)/asm/bte/bta_dm_main_8007ae50.o \ -$(BUILD_DIR)/asm/bte/bta_dm_pm_8007afb0.o \ -$(BUILD_DIR)/asm/bte/bta_hh_act_8007b9cc.o \ -$(BUILD_DIR)/asm/bte/bta_hh_api_8007d114.o \ -$(BUILD_DIR)/asm/bte/bta_hh_main_8007d4e4.o \ -$(BUILD_DIR)/asm/bte/bta_hh_utils_8007da38.o \ -$(BUILD_DIR)/asm/bte/btm_acl_8007dde4.o \ -$(BUILD_DIR)/asm/bte/btm_dev_8007fb28.o \ -$(BUILD_DIR)/asm/bte/btm_devctl_800801f4.o \ -$(BUILD_DIR)/asm/bte/btm_discovery_80081b7c.o \ -$(BUILD_DIR)/asm/bte/btm_inq_80081cac.o \ -$(BUILD_DIR)/asm/bte/btm_main_80083740.o \ -$(BUILD_DIR)/asm/bte/btm_pm_8008379c.o \ -$(BUILD_DIR)/asm/bte/btm_sco_80084430.o \ -$(BUILD_DIR)/asm/bte/btm_sec_80085268.o \ -$(BUILD_DIR)/asm/bte/btu_hcif_8008822c.o \ -$(BUILD_DIR)/asm/bte/btu_init_80089488.o \ -$(BUILD_DIR)/asm/bte/wbt_ext_80089500.o \ -$(BUILD_DIR)/asm/bte/gap_api_800895e0.o \ -$(BUILD_DIR)/asm/bte/gap_conn_80089640.o \ -$(BUILD_DIR)/asm/bte/gap_utils_8008a17c.o \ -$(BUILD_DIR)/asm/bte/hcicmds_8008a798.o \ -$(BUILD_DIR)/asm/bte/hidd_api_8008ceb4.o \ -$(BUILD_DIR)/asm/bte/hidd_conn_8008cf1c.o \ -$(BUILD_DIR)/asm/bte/hidd_mgmt_8008cfdc.o \ -$(BUILD_DIR)/asm/bte/hidd_pm_8008d0a4.o \ -$(BUILD_DIR)/asm/bte/hidh_api_8008d420.o \ -$(BUILD_DIR)/asm/bte/hidh_conn_8008e1a0.o \ -$(BUILD_DIR)/asm/bte/l2c_api_800901e0.o \ -$(BUILD_DIR)/asm/bte/l2c_csm_80090da8.o \ -$(BUILD_DIR)/asm/bte/l2c_link_80092284.o \ -$(BUILD_DIR)/asm/bte/l2c_main_80093410.o \ -$(BUILD_DIR)/asm/bte/l2c_utils_80094440.o \ -$(BUILD_DIR)/asm/bte/port_api_80096304.o \ -$(BUILD_DIR)/asm/bte/port_rfc_80096354.o \ -$(BUILD_DIR)/asm/bte/port_utils_80097750.o \ -$(BUILD_DIR)/asm/bte/rfc_l2cap_if_80097d28.o \ -$(BUILD_DIR)/asm/bte/rfc_mx_fsm_8009865c.o \ -$(BUILD_DIR)/asm/bte/rfc_port_fsm_800992a0.o \ -$(BUILD_DIR)/asm/bte/rfc_port_if_8009a43c.o \ -$(BUILD_DIR)/asm/bte/rfc_ts_frames_8009a968.o \ -$(BUILD_DIR)/asm/bte/rfc_utils_8009bfb0.o \ -$(BUILD_DIR)/asm/bte/sdp_api_8009c790.o \ -$(BUILD_DIR)/asm/bte/sdp_db_8009d5f8.o \ -$(BUILD_DIR)/asm/bte/sdp_discovery_8009e2c4.o \ -$(BUILD_DIR)/asm/bte/sdp_main_8009f53c.o \ -$(BUILD_DIR)/asm/bte/sdp_server_800a00a8.o \ -$(BUILD_DIR)/asm/bte/sdp_utils_800a0db8.o \ $(BUILD_DIR)/asm/tpl/TPL_800a1e00.o \ $(BUILD_DIR)/asm/esp/esp_800a2020.o \ $(BUILD_DIR)/asm/mem/mem_heapCommon_800a2640.o \ @@ -3011,18 +3015,6 @@ $(BUILD_DIR)/asm/src/MintSERequestor_80406524.o \ $(BUILD_DIR)/asm/src/Alarm_80406528.o \ $(BUILD_DIR)/asm/Linker/Generated/Symbol/File_8040652c.o \ $(BUILD_DIR)/asm/Linker/Generated/Symbol/File_80406548.o \ -$(BUILD_DIR)/asm/bte/hcisu_h2_80407de8.o \ -$(BUILD_DIR)/asm/bte/bta_dm_cfg_80407e00.o \ -$(BUILD_DIR)/asm/bte/bta_hh_cfg_80407e90.o \ -$(BUILD_DIR)/asm/bte/bta_dm_act_80407ea0.o \ -$(BUILD_DIR)/asm/bte/bta_dm_main_80407f48.o \ -$(BUILD_DIR)/asm/bte/bta_hh_main_80408070.o \ -$(BUILD_DIR)/asm/bte/btm_pm_804080f8.o \ -$(BUILD_DIR)/asm/bte/btm_sco_80408108.o \ -$(BUILD_DIR)/asm/bte/hcicmds_80408118.o \ -$(BUILD_DIR)/asm/bte/hidh_conn_80408128.o \ -$(BUILD_DIR)/asm/bte/rfc_utils_80408150.o \ -$(BUILD_DIR)/asm/bte/sdp_utils_80408250.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_drawdirectionalstrategy_80408260.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_drawfreestrategy_804082c0.o \ $(BUILD_DIR)/asm/libnw4r_g3d/g3d_restev_80408320.o \ @@ -3234,46 +3226,6 @@ $(BUILD_DIR)/asm/src/BgManager_80420bf0.o \ $(BUILD_DIR)/asm/src/StaffRoll_80420d08.o \ $(BUILD_DIR)/asm/src/SoundManager_80420f28.o \ $(BUILD_DIR)/asm/src/BackupFileData2_80420fc8.o \ -$(BUILD_DIR)/asm/bte/gki_buffer_8043a868.o \ -$(BUILD_DIR)/asm/bte/hcisu_h2_8043a9b0.o \ -$(BUILD_DIR)/asm/bte/bta_sys_main_8043aa20.o \ -$(BUILD_DIR)/asm/bte/bta_dm_act_8043aa58.o \ -$(BUILD_DIR)/asm/bte/bta_dm_pm_8043ab98.o \ -$(BUILD_DIR)/asm/bte/bta_hh_act_8043abe8.o \ -$(BUILD_DIR)/asm/bte/bta_hh_api_8043b0e0.o \ -$(BUILD_DIR)/asm/bte/bta_hh_main_8043b110.o \ -$(BUILD_DIR)/asm/bte/bta_hh_utils_8043b3f0.o \ -$(BUILD_DIR)/asm/bte/btm_acl_8043b6b0.o \ -$(BUILD_DIR)/asm/bte/btm_devctl_8043bad0.o \ -$(BUILD_DIR)/asm/bte/btm_inq_8043bd30.o \ -$(BUILD_DIR)/asm/bte/btm_pm_8043bf40.o \ -$(BUILD_DIR)/asm/bte/btm_sco_8043bf80.o \ -$(BUILD_DIR)/asm/bte/btm_sec_8043c280.o \ -$(BUILD_DIR)/asm/bte/btu_hcif_8043cc90.o \ -$(BUILD_DIR)/asm/bte/gap_conn_8043cd20.o \ -$(BUILD_DIR)/asm/bte/gap_utils_8043cdf0.o \ -$(BUILD_DIR)/asm/bte/hidd_conn_8043d0e0.o \ -$(BUILD_DIR)/asm/bte/hidd_mgmt_8043d110.o \ -$(BUILD_DIR)/asm/bte/hidh_api_8043d130.o \ -$(BUILD_DIR)/asm/bte/hidh_conn_8043d248.o \ -$(BUILD_DIR)/asm/bte/l2c_api_8043d630.o \ -$(BUILD_DIR)/asm/bte/l2c_csm_8043ddc0.o \ -$(BUILD_DIR)/asm/bte/l2c_link_8043e5f8.o \ -$(BUILD_DIR)/asm/bte/l2c_main_8043e868.o \ -$(BUILD_DIR)/asm/bte/l2c_utils_8043eb68.o \ -$(BUILD_DIR)/asm/bte/port_rfc_8043ec50.o \ -$(BUILD_DIR)/asm/bte/port_utils_8043ef80.o \ -$(BUILD_DIR)/asm/bte/rfc_l2cap_if_8043f0c8.o \ -$(BUILD_DIR)/asm/bte/rfc_mx_fsm_8043f208.o \ -$(BUILD_DIR)/asm/bte/rfc_port_fsm_8043f4c0.o \ -$(BUILD_DIR)/asm/bte/rfc_ts_frames_8043f7e8.o \ -$(BUILD_DIR)/asm/bte/rfc_utils_8043f8c0.o \ -$(BUILD_DIR)/asm/bte/sdp_api_8043f950.o \ -$(BUILD_DIR)/asm/bte/sdp_db_8043f9a0.o \ -$(BUILD_DIR)/asm/bte/sdp_discovery_8043fa38.o \ -$(BUILD_DIR)/asm/bte/sdp_main_8043fb98.o \ -$(BUILD_DIR)/asm/bte/sdp_server_8043fef8.o \ -$(BUILD_DIR)/asm/bte/sdp_utils_8043ff38.o \ $(BUILD_DIR)/asm/tpl/TPL_80440030.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_draworder_80440060.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_effect_80440078.o \ @@ -5008,24 +4960,6 @@ $(BUILD_DIR)/asm/src/WaveHandle_804966b8.o \ $(BUILD_DIR)/asm/src/StorageUtil_804966d0.o \ $(BUILD_DIR)/asm/src/Alarm_804966e0.o \ $(BUILD_DIR)/asm/src/StateChanger_804966f0.o \ -$(BUILD_DIR)/asm/bte/gki_ppc_804c96a8.o \ -$(BUILD_DIR)/asm/bte/hcisu_h2_804f2188.o \ -$(BUILD_DIR)/asm/bte/uusb_ppc_804f21c0.o \ -$(BUILD_DIR)/asm/bte/bte_logmsg_804f4220.o \ -$(BUILD_DIR)/asm/bte/bte_main_804f4a00.o \ -$(BUILD_DIR)/asm/bte/btu_task1_804f5a30.o \ -$(BUILD_DIR)/asm/bte/bta_sys_main_804f5ab8.o \ -$(BUILD_DIR)/asm/bte/bta_dm_act_804f5b48.o \ -$(BUILD_DIR)/asm/bte/bta_dm_main_804f5b78.o \ -$(BUILD_DIR)/asm/bte/bta_dm_pm_804f5cf8.o \ -$(BUILD_DIR)/asm/bte/bta_hh_main_804f5d28.o \ -$(BUILD_DIR)/asm/bte/btm_main_804f5f58.o \ -$(BUILD_DIR)/asm/bte/gap_utils_804f8720.o \ -$(BUILD_DIR)/asm/bte/hidd_mgmt_804f8ad0.o \ -$(BUILD_DIR)/asm/bte/hidh_api_804f8c18.o \ -$(BUILD_DIR)/asm/bte/l2c_main_804f9020.o \ -$(BUILD_DIR)/asm/bte/rfc_port_if_804f9808.o \ -$(BUILD_DIR)/asm/bte/sdp_main_804f9c20.o \ $(BUILD_DIR)/asm/mem/mem_heapCommon_804fe258.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_effectsystem_804fe280.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_particlemanager_8050a398.o \ @@ -5128,18 +5062,6 @@ $(BUILD_DIR)/asm/src/ScoreCoin_80554888.o \ $(BUILD_DIR)/asm/src/EffectLocatorModelDesc_805549b8.o \ $(BUILD_DIR)/asm/src/ModelDesc_80554a50.o \ $(BUILD_DIR)/asm/src/Table_80556398.o \ -$(BUILD_DIR)/asm/bte/uusb_ppc_805568a0.o \ -$(BUILD_DIR)/asm/bte/bta_dm_cfg_805568b0.o \ -$(BUILD_DIR)/asm/bte/bta_hh_cfg_805568c8.o \ -$(BUILD_DIR)/asm/bte/bta_sys_cfg_805568d8.o \ -$(BUILD_DIR)/asm/bte/bte_logmsg_805568e0.o \ -$(BUILD_DIR)/asm/bte/bte_main_805568e8.o \ -$(BUILD_DIR)/asm/bte/btu_task1_805568f0.o \ -$(BUILD_DIR)/asm/bte/bta_hh_act_805568f8.o \ -$(BUILD_DIR)/asm/bte/btm_devctl_80556900.o \ -$(BUILD_DIR)/asm/bte/gap_conn_80556918.o \ -$(BUILD_DIR)/asm/bte/l2c_utils_80556920.o \ -$(BUILD_DIR)/asm/bte/rfc_ts_frames_80556930.o \ $(BUILD_DIR)/asm/tpl/TPL_80556940.o \ $(BUILD_DIR)/asm/esp/esp_80556948.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_effectsystem_80556958.o \ @@ -5549,11 +5471,6 @@ $(BUILD_DIR)/asm/src/StepMain_8055c688.o \ $(BUILD_DIR)/asm/src/CinemaScopeModel_8055c6a0.o \ $(BUILD_DIR)/asm/src/FullScreenModel_8055c6b8.o \ $(BUILD_DIR)/asm/src/Wipe_8055c6c0.o \ -$(BUILD_DIR)/asm/bte/uusb_ppc_8055cee0.o \ -$(BUILD_DIR)/asm/bte/bte_hcisu_8055cef8.o \ -$(BUILD_DIR)/asm/bte/bte_main_8055cf00.o \ -$(BUILD_DIR)/asm/bte/btu_task1_8055cf08.o \ -$(BUILD_DIR)/asm/bte/bta_sys_main_8055cf10.o \ $(BUILD_DIR)/asm/mem/mem_heapCommon_8055cf18.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_effectsystem_8055cf20.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_particlemanager_8055cf30.o \ @@ -5739,15 +5656,6 @@ $(BUILD_DIR)/asm/src/SequenceProductRoot_8055df48.o \ $(BUILD_DIR)/asm/src/MintSERequestor_8055df58.o \ $(BUILD_DIR)/asm/src/SoundSystem_8055df60.o \ $(BUILD_DIR)/asm/src/Alarm_8055df68.o \ -$(BUILD_DIR)/asm/bte/hcisu_h2_8055e908.o \ -$(BUILD_DIR)/asm/bte/bta_sys_cfg_8055e918.o \ -$(BUILD_DIR)/asm/bte/bta_dm_act_8055e920.o \ -$(BUILD_DIR)/asm/bte/bta_dm_api_8055e928.o \ -$(BUILD_DIR)/asm/bte/bta_hh_api_8055e938.o \ -$(BUILD_DIR)/asm/bte/btm_inq_8055e940.o \ -$(BUILD_DIR)/asm/bte/btm_pm_8055e948.o \ -$(BUILD_DIR)/asm/bte/btm_sec_8055e950.o \ -$(BUILD_DIR)/asm/bte/btu_init_8055e958.o \ $(BUILD_DIR)/asm/tpl/TPL_8055e960.o \ $(BUILD_DIR)/asm/mem/mem_allocator_8055e968.o \ $(BUILD_DIR)/asm/libnw4r_ef/ef_effect_8055e970.o \ @@ -6872,8 +6780,6 @@ $(BUILD_DIR)/asm/src/AnimController_80564388.o \ $(BUILD_DIR)/asm/src/CurveUtility_80564390.o \ $(BUILD_DIR)/asm/src/FrameCounter_80564398.o \ $(BUILD_DIR)/asm/src/UIntAABBox_805643a8.o \ -$(BUILD_DIR)/asm/bte/bta_dm_cfg_805643c0.o \ -$(BUILD_DIR)/asm/bte/bd_805643c8.o \ $(BUILD_DIR)/asm/libnw4r_lyt/lyt_material_805643d0.o \ $(BUILD_DIR)/asm/src/RenderSetting_805643d8.o \ $(BUILD_DIR)/asm/src/LandLayer_805643e0.o \