From 85d3aef57c73c271a27ffe3d488c2fff4b2f4a13 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 23 Sep 2020 19:18:04 -0400 Subject: split ut_IOStream --- asm/NW4R/ut_IOStream.s | 18 ++++++++++++++++++ asm/text_10_3.s | 7 ------- obj_files.mk | 1 + 3 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 asm/NW4R/ut_IOStream.s diff --git a/asm/NW4R/ut_IOStream.s b/asm/NW4R/ut_IOStream.s new file mode 100644 index 0000000..0933f8e --- /dev/null +++ b/asm/NW4R/ut_IOStream.s @@ -0,0 +1,18 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80006980 - 0x803E1E60 + +.global Write__Q34nw4r2ut8IOStreamFPCvUl +Write__Q34nw4r2ut8IOStreamFPCvUl: +/* 803634F8 0035F158 4E 80 00 20 */ blr + +.global WriteAsync__Q34nw4r2ut8IOStreamFPCvUlPFlPQ34nw4r2ut8IOStreamPv_vPv +WriteAsync__Q34nw4r2ut8IOStreamFPCvUlPFlPQ34nw4r2ut8IOStreamPv_vPv: +/* 803634FC 0035F15C 38 60 00 00 */ li r3, 0 +/* 80363500 0035F160 4E 80 00 20 */ blr + +.global __sinit_$3ut_IOStream_cpp +__sinit_$3ut_IOStream_cpp: +/* 80363504 0035F164 38 00 00 00 */ li r0, 0 +/* 80363508 0035F168 90 0D B1 A0 */ stw r0, lbl_80640460-_SDA_BASE_(r13) +/* 8036350C 0035F16C 4E 80 00 20 */ blr diff --git a/asm/text_10_3.s b/asm/text_10_3.s index dcb04cb..7d12d94 100644 --- a/asm/text_10_3.s +++ b/asm/text_10_3.s @@ -2,13 +2,6 @@ .section .text, "ax" # 0x80006980 - 0x803E1E60 -/* 803634F8 0035F158 4E 80 00 20 */ blr -/* 803634FC 0035F15C 38 60 00 00 */ li r3, 0 -/* 80363500 0035F160 4E 80 00 20 */ blr -/* 80363504 0035F164 38 00 00 00 */ li r0, 0 -/* 80363508 0035F168 90 0D B1 A0 */ stw r0, lbl_80640460-_SDA_BASE_(r13) -/* 8036350C 0035F16C 4E 80 00 20 */ blr - .global func_80363510 func_80363510: /* 80363510 0035F170 2C 04 00 00 */ cmpwi r4, 0 diff --git a/obj_files.mk b/obj_files.mk index 2f505c5..a00b5ba 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -95,6 +95,7 @@ TEXT_O_FILES := \ $(BUILD_DIR)/asm/NW4R/ut_binaryFileFormat.o \ $(BUILD_DIR)/asm/NW4R/ut_CharStrmReader.o \ $(BUILD_DIR)/asm/NW4R/ut_TagProcessorBase.o \ + $(BUILD_DIR)/asm/NW4R/ut_IOStream.o \ $(BUILD_DIR)/asm/text_10_3.o \ $(BUILD_DIR)/asm/text_11.o -- cgit v1.2.3