mirror of
https://github.com/projectPiki/pikmin2.git
synced 2025-01-22 14:04:23 +00:00
THPDraw 33% done
we got the feather \o/
This commit is contained in:
parent
a3ed99919d
commit
fcdee973cf
@ -1,78 +1,6 @@
|
||||
.include "macros.inc"
|
||||
|
||||
.section .text, "ax" # 0x800056C0 - 0x80472F00
|
||||
.global THPGXRestore
|
||||
THPGXRestore:
|
||||
/* 8044D684 0044A5C4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||||
/* 8044D688 0044A5C8 7C 08 02 A6 */ mflr r0
|
||||
/* 8044D68C 0044A5CC 38 60 00 01 */ li r3, 1
|
||||
/* 8044D690 0044A5D0 38 80 00 07 */ li r4, 7
|
||||
/* 8044D694 0044A5D4 90 01 00 14 */ stw r0, 0x14(r1)
|
||||
/* 8044D698 0044A5D8 38 A0 00 00 */ li r5, 0
|
||||
/* 8044D69C 0044A5DC 4B C9 BA E9 */ bl GXSetZMode
|
||||
/* 8044D6A0 0044A5E0 38 60 00 00 */ li r3, 0
|
||||
/* 8044D6A4 0044A5E4 38 80 00 01 */ li r4, 1
|
||||
/* 8044D6A8 0044A5E8 38 A0 00 00 */ li r5, 0
|
||||
/* 8044D6AC 0044A5EC 38 C0 00 0F */ li r6, 0xf
|
||||
/* 8044D6B0 0044A5F0 4B C9 BA 29 */ bl GXSetBlendMode
|
||||
/* 8044D6B4 0044A5F4 38 60 00 01 */ li r3, 1
|
||||
/* 8044D6B8 0044A5F8 4B C9 78 E5 */ bl GXSetNumTexGens
|
||||
/* 8044D6BC 0044A5FC 38 60 00 00 */ li r3, 0
|
||||
/* 8044D6C0 0044A600 4B C9 97 A5 */ bl GXSetNumChans
|
||||
/* 8044D6C4 0044A604 38 60 00 01 */ li r3, 1
|
||||
/* 8044D6C8 0044A608 4B C9 B4 F1 */ bl GXSetNumTevStages
|
||||
/* 8044D6CC 0044A60C 38 60 00 00 */ li r3, 0
|
||||
/* 8044D6D0 0044A610 38 80 00 00 */ li r4, 0
|
||||
/* 8044D6D4 0044A614 38 A0 00 00 */ li r5, 0
|
||||
/* 8044D6D8 0044A618 38 C0 00 FF */ li r6, 0xff
|
||||
/* 8044D6DC 0044A61C 4B C9 B3 41 */ bl GXSetTevOrder
|
||||
/* 8044D6E0 0044A620 38 60 00 00 */ li r3, 0
|
||||
/* 8044D6E4 0044A624 38 80 00 03 */ li r4, 3
|
||||
/* 8044D6E8 0044A628 4B C9 AD 95 */ bl GXSetTevOp
|
||||
/* 8044D6EC 0044A62C 38 60 00 00 */ li r3, 0
|
||||
/* 8044D6F0 0044A630 38 80 00 00 */ li r4, 0
|
||||
/* 8044D6F4 0044A634 38 A0 00 00 */ li r5, 0
|
||||
/* 8044D6F8 0044A638 4B C9 B1 8D */ bl GXSetTevSwapMode
|
||||
/* 8044D6FC 0044A63C 38 60 00 01 */ li r3, 1
|
||||
/* 8044D700 0044A640 38 80 00 00 */ li r4, 0
|
||||
/* 8044D704 0044A644 38 A0 00 00 */ li r5, 0
|
||||
/* 8044D708 0044A648 4B C9 B1 7D */ bl GXSetTevSwapMode
|
||||
/* 8044D70C 0044A64C 38 60 00 02 */ li r3, 2
|
||||
/* 8044D710 0044A650 38 80 00 00 */ li r4, 0
|
||||
/* 8044D714 0044A654 38 A0 00 00 */ li r5, 0
|
||||
/* 8044D718 0044A658 4B C9 B1 6D */ bl GXSetTevSwapMode
|
||||
/* 8044D71C 0044A65C 38 60 00 03 */ li r3, 3
|
||||
/* 8044D720 0044A660 38 80 00 00 */ li r4, 0
|
||||
/* 8044D724 0044A664 38 A0 00 00 */ li r5, 0
|
||||
/* 8044D728 0044A668 4B C9 B1 5D */ bl GXSetTevSwapMode
|
||||
/* 8044D72C 0044A66C 38 60 00 00 */ li r3, 0
|
||||
/* 8044D730 0044A670 38 80 00 00 */ li r4, 0
|
||||
/* 8044D734 0044A674 38 A0 00 01 */ li r5, 1
|
||||
/* 8044D738 0044A678 38 C0 00 02 */ li r6, 2
|
||||
/* 8044D73C 0044A67C 38 E0 00 03 */ li r7, 3
|
||||
/* 8044D740 0044A680 4B C9 B1 8D */ bl GXSetTevSwapModeTable
|
||||
/* 8044D744 0044A684 38 60 00 01 */ li r3, 1
|
||||
/* 8044D748 0044A688 38 80 00 00 */ li r4, 0
|
||||
/* 8044D74C 0044A68C 38 A0 00 00 */ li r5, 0
|
||||
/* 8044D750 0044A690 38 C0 00 00 */ li r6, 0
|
||||
/* 8044D754 0044A694 38 E0 00 03 */ li r7, 3
|
||||
/* 8044D758 0044A698 4B C9 B1 75 */ bl GXSetTevSwapModeTable
|
||||
/* 8044D75C 0044A69C 38 60 00 02 */ li r3, 2
|
||||
/* 8044D760 0044A6A0 38 80 00 01 */ li r4, 1
|
||||
/* 8044D764 0044A6A4 38 A0 00 01 */ li r5, 1
|
||||
/* 8044D768 0044A6A8 38 C0 00 01 */ li r6, 1
|
||||
/* 8044D76C 0044A6AC 38 E0 00 03 */ li r7, 3
|
||||
/* 8044D770 0044A6B0 4B C9 B1 5D */ bl GXSetTevSwapModeTable
|
||||
/* 8044D774 0044A6B4 38 60 00 03 */ li r3, 3
|
||||
/* 8044D778 0044A6B8 38 80 00 02 */ li r4, 2
|
||||
/* 8044D77C 0044A6BC 38 A0 00 02 */ li r5, 2
|
||||
/* 8044D780 0044A6C0 38 C0 00 02 */ li r6, 2
|
||||
/* 8044D784 0044A6C4 38 E0 00 03 */ li r7, 3
|
||||
/* 8044D788 0044A6C8 4B C9 B1 45 */ bl GXSetTevSwapModeTable
|
||||
/* 8044D78C 0044A6CC 80 01 00 14 */ lwz r0, 0x14(r1)
|
||||
/* 8044D790 0044A6D0 7C 08 03 A6 */ mtlr r0
|
||||
/* 8044D794 0044A6D4 38 21 00 10 */ addi r1, r1, 0x10
|
||||
/* 8044D798 0044A6D8 4E 80 00 20 */ blr
|
||||
|
||||
.global THPGXYuv2RgbSetup
|
||||
THPGXYuv2RgbSetup:
|
||||
|
@ -3,6 +3,11 @@
|
||||
|
||||
// r2 is 8051E360
|
||||
// r13 is 8051C680
|
||||
typedef unsigned char uchar;
|
||||
typedef unsigned short ushort;
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned long ulong;
|
||||
typedef unsigned long long ulonglong;
|
||||
|
||||
typedef signed char s8;
|
||||
typedef signed short s16;
|
||||
|
@ -1140,6 +1140,7 @@ TEXT_PART_TWO:=\
|
||||
$(BUILD_DIR)/asm/sysGCU/rootMenuSection.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/demoSection.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/THPAudioDecode.o\
|
||||
$(BUILD_DIR)/src/sysGCU/THPDraw.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/THPDraw.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/THPPlayer.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/THPRead.o\
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user