From 2c6145b76adf36537e81667810b911f40f14f2d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 17 Oct 2022 09:07:59 +0100 Subject: [PATCH] merge vi --- asm/vi/{i2c_8002e490.s => i2c.s} | 14 + asm/vi/i2c_80556548.s | 8 - asm/vi/i2c_8055c9b0.s | 6 - asm/vi/{vi_8002bad0.s => vi.s} | 610 +++++++++++++++++++++++++ asm/vi/{vi3in1_8002edb0.s => vi3in1.s} | 495 ++++++++++++++++++++ asm/vi/vi3in1_804301e8.s | 396 ---------------- asm/vi/vi3in1_8049a6e0.s | 6 - asm/vi/vi3in1_80556550.s | 67 --- asm/vi/vi3in1_8055c9b8.s | 26 -- asm/vi/vi_8042fc90.s | 388 ---------------- asm/vi/vi_8049a570.s | 18 - asm/vi/vi_80556528.s | 38 -- asm/vi/vi_8055c900.s | 166 ------- obj_files.mk | 17 +- 14 files changed, 1123 insertions(+), 1132 deletions(-) rename asm/vi/{i2c_8002e490.s => i2c.s} (99%) delete mode 100644 asm/vi/i2c_80556548.s delete mode 100644 asm/vi/i2c_8055c9b0.s rename asm/vi/{vi_8002bad0.s => vi.s} (93%) rename asm/vi/{vi3in1_8002edb0.s => vi3in1.s} (90%) delete mode 100644 asm/vi/vi3in1_804301e8.s delete mode 100644 asm/vi/vi3in1_8049a6e0.s delete mode 100644 asm/vi/vi3in1_80556550.s delete mode 100644 asm/vi/vi3in1_8055c9b8.s delete mode 100644 asm/vi/vi_8042fc90.s delete mode 100644 asm/vi/vi_8049a570.s delete mode 100644 asm/vi/vi_80556528.s delete mode 100644 asm/vi/vi_8055c900.s diff --git a/asm/vi/i2c_8002e490.s b/asm/vi/i2c.s similarity index 99% rename from asm/vi/i2c_8002e490.s rename to asm/vi/i2c.s index 2c72c94d..12e08635 100644 --- a/asm/vi/i2c_8002e490.s +++ b/asm/vi/i2c.s @@ -679,3 +679,17 @@ lbl_8002ED8C: /* 8002EDA4 0002ABE4 00 00 00 00 */ .4byte 0x00000000 /* 8002EDA8 0002ABE8 00 00 00 00 */ .4byte 0x00000000 /* 8002EDAC 0002ABEC 00 00 00 00 */ .4byte 0x00000000 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global __i2c_ident_flag +__i2c_ident_flag: + + .4byte 0x00000001 + .4byte 0 +.include "macros.inc" + +.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 +.global __i2c_ident_first +__i2c_ident_first: + .skip 0x8 diff --git a/asm/vi/i2c_80556548.s b/asm/vi/i2c_80556548.s deleted file mode 100644 index 268a3bb3..00000000 --- a/asm/vi/i2c_80556548.s +++ /dev/null @@ -1,8 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global __i2c_ident_flag -__i2c_ident_flag: - - .4byte 0x00000001 - .4byte 0 diff --git a/asm/vi/i2c_8055c9b0.s b/asm/vi/i2c_8055c9b0.s deleted file mode 100644 index c374630a..00000000 --- a/asm/vi/i2c_8055c9b0.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 -.global __i2c_ident_first -__i2c_ident_first: - .skip 0x8 diff --git a/asm/vi/vi_8002bad0.s b/asm/vi/vi.s similarity index 93% rename from asm/vi/vi_8002bad0.s rename to asm/vi/vi.s index 5340d752..d0c251f6 100644 --- a/asm/vi/vi_8002bad0.s +++ b/asm/vi/vi.s @@ -3188,3 +3188,613 @@ __VIResetSIIdle: /* 8002E484 0002A2C4 90 0D E5 70 */ stw r0, __VIDimmingFlag_SI_IDLE@sda21(r13) /* 8002E488 0002A2C8 38 60 00 01 */ li r3, 0x1 /* 8002E48C 0002A2CC 4E 80 00 20 */ blr +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global "@1_8042FC90" +"@1_8042FC90": + + .4byte 0x3C3C2052 + .4byte 0x564C5F53 + .4byte 0x444B202D + .4byte 0x20564920 + .4byte 0x0972656C + .4byte 0x65617365 + .4byte 0x20627569 + .4byte 0x6C643A20 + .4byte 0x41756720 + .4byte 0x32332032 + .4byte 0x30313020 + .4byte 0x31373A33 + .4byte 0x333A3139 + .4byte 0x20283078 + .4byte 0x34333032 + .4byte 0x5F313435 + .4byte 0x29203E3E + .4byte 0 + +.global timing +timing: + + .4byte 0x060000F0 + .4byte 0x00180019 + .4byte 0x00030002 + .4byte 0x0C0D0C0D + .4byte 0x02080207 + .4byte 0x02080207 + .4byte 0x020D01AD + .4byte 0x404769A2 + .4byte 0x01757A00 + .4byte 0x019C0600 + .4byte 0x00F00018 + .4byte 0x00180004 + .4byte 0x00040C0C + .4byte 0x0C0C0208 + .4byte 0x02080208 + .4byte 0x0208020E + .4byte 0x01AD4047 + .4byte 0x69A20175 + .4byte 0x7A00019C + .4byte 0x0500011F + .4byte 0x00230024 + .4byte 0x00010000 + .4byte 0x0D0C0B0A + .4byte 0x026B026A + .4byte 0x0269026C + .4byte 0x027101B0 + .4byte 0x404B6AAC + .4byte 0x017C8500 + .4byte 0x01A40500 + .4byte 0x011F0021 + .4byte 0x00210002 + .4byte 0x00020D0B + .4byte 0x0D0B026B + .4byte 0x026D026B + .4byte 0x026D0270 + .4byte 0x01B0404B + .4byte 0x6AAC017C + .4byte 0x850001A4 + .4byte 0x060000F0 + .4byte 0x00180019 + .4byte 0x00030002 + .4byte 0x100F0E0D + .4byte 0x02060205 + .4byte 0x02040207 + .4byte 0x020D01AD + .4byte 0x404E70A2 + .4byte 0x01757A00 + .4byte 0x019C0600 + .4byte 0x00F00018 + .4byte 0x00180004 + .4byte 0x0004100E + .4byte 0x100E0206 + .4byte 0x02080206 + .4byte 0x0208020E + .4byte 0x01AD404E + .4byte 0x70A20175 + .4byte 0x7A00019C + .4byte 0x0C0001E0 + .4byte 0x00300030 + .4byte 0x00060006 + .4byte 0x18181818 + .4byte 0x040E040E + .4byte 0x040E040E + .4byte 0x041A01AD + .4byte 0x404769A2 + .4byte 0x01757A00 + .4byte 0x019C0C00 + .4byte 0x01E0002C + .4byte 0x002C000A + .4byte 0x000A1818 + .4byte 0x1818040E + .4byte 0x040E040E + .4byte 0x040E041A + .4byte 0x01AD4047 + .4byte 0x69A8017B + .4byte 0x7A00019C + .4byte 0x060000F1 + .4byte 0x00180019 + .4byte 0x00010000 + .4byte 0x0C0D0C0D + .4byte 0x02080207 + .4byte 0x02080207 + .4byte 0x020D01AD + .4byte 0x4047699F + .4byte 0x01727A00 + .4byte 0x019C0C00 + .4byte 0x01E00030 + .4byte 0x00300006 + .4byte 0x00061818 + .4byte 0x1818040E + .4byte 0x040E040E + .4byte 0x040E041A + .4byte 0x01AD4047 + .4byte 0x69B40187 + .4byte 0x7A00019C + .4byte 0x0A000240 + .4byte 0x003E003E + .4byte 0x00060006 + .4byte 0x14141414 + .4byte 0x04D804D8 + .4byte 0x04D804D8 + .4byte 0x04E201B0 + .4byte 0x404B6AAC + .4byte 0x017C7A00 + .4byte 0x019C0000 + +.global taps +taps: + + .4byte 0x01F001DC + .4byte 0x01AE0174 + .4byte 0x012900DB + .4byte 0x008E0046 + .4byte 0x000C00E2 + .4byte 0x00CB00C0 + .4byte 0x00C400CF + .4byte 0x00DE00EC + .4byte 0x00FC0008 + .4byte 0x000F0013 + .4byte 0x0013000F + .4byte 0x000C0008 + .4byte 0x00010000 + .4byte 0x00000006 + .4byte 0x02800210 + .4byte 0x02100028 + .4byte 0x00170280 + .4byte 0x02100000 + .4byte 0 + .4byte 0x00000606 + .4byte 0x06060606 + .4byte 0x06060606 + .4byte 0x06060606 + .4byte 0x06060606 + .4byte 0x06060606 + .4byte 0x06060000 + .4byte 0x15161500 + .4byte 0 + .4byte 0x00000006 + .4byte 0x02800210 + .4byte 0x02100028 + .4byte 0x00170280 + .4byte 0x02100000 + .4byte 0 + .4byte 0x00000606 + .4byte 0x06060606 + .4byte 0x06060606 + .4byte 0x06060606 + .4byte 0x06060606 + .4byte 0x06060606 + .4byte 0x06060808 + .4byte 0x0A0C0A08 + .4byte 0x08000000 + .4byte 0x00000006 + .4byte 0x02800108 + .4byte 0x020C0028 + .4byte 0x00170280 + .4byte 0x020C0000 + .4byte 0 + .4byte 0x00010302 + .4byte 0x0906030A + .4byte 0x03020906 + .4byte 0x030A0902 + .4byte 0x0306090A + .4byte 0x09020306 + .4byte 0x090A0408 + .4byte 0x0C100C08 + .4byte 0x04000000 + .4byte 0 + +.global ShutdownFunctionInfo_8042FF68 +ShutdownFunctionInfo_8042FF68: + + .4byte OnShutdown_8002BAD0 + .4byte 0x0000007F + .4byte 0 + .4byte 0 + +.global "@3436" +"@3436": + + .4byte lbl_8002BFC0 + .4byte lbl_8002BFC8 + .4byte lbl_8002BFD0 + .4byte lbl_8002BFC0 + .4byte lbl_8002BFC8 + .4byte lbl_8002BFD0 + .4byte lbl_8002BFC0 + .4byte lbl_8002BFC0 + .4byte lbl_8002BFC0 + +.global "@3466" +"@3466": + + .4byte lbl_8002C540 + .4byte lbl_8002C54C + .4byte lbl_8002C5B8 + .4byte lbl_8002C5C8 + .4byte lbl_8002C55C + .4byte lbl_8002C56C + .4byte lbl_8002C618 + .4byte lbl_8002C630 + .4byte lbl_8002C598 + .4byte lbl_8002C5A8 + .4byte lbl_8002C5B8 + .4byte lbl_8002C630 + .4byte lbl_8002C630 + .4byte lbl_8002C630 + .4byte lbl_8002C630 + .4byte lbl_8002C630 + .4byte lbl_8002C5D8 + .4byte lbl_8002C5E8 + .4byte lbl_8002C630 + .4byte lbl_8002C630 + .4byte lbl_8002C57C + .4byte lbl_8002C588 + .4byte lbl_8002C5B8 + .4byte lbl_8002C630 + .4byte lbl_8002C5F8 + .4byte lbl_8002C630 + +.global lbl_80430004 +lbl_80430004: + + .4byte lbl_8002C608 + +.global lbl_80430008 +lbl_80430008: + + .4byte lbl_8002C630 + .4byte lbl_8002C628 + .4byte lbl_8002C628 + .4byte lbl_8002C628 + .4byte lbl_8002C630 + .4byte lbl_8002C630 + .4byte lbl_8002C630 + .4byte lbl_8002C628 + +.global "@3633" +"@3633": + + .4byte lbl_8002CCD4 + .4byte lbl_8002CCDC + .4byte lbl_8002CCE4 + .4byte lbl_8002CCD4 + .4byte lbl_8002CCDC + .4byte lbl_8002CCE4 + .4byte lbl_8002CCD4 + .4byte lbl_8002CCD4 + .4byte lbl_8002CCD4 + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A2A + .4byte 0x2A2A2A0A + .4byte 0 + .4byte 0x20212021 + .4byte 0x20212043 + .4byte 0x20412055 + .4byte 0x20542049 + .4byte 0x204F204E + .4byte 0x20212021 + .4byte 0x20212020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x2020200A + .4byte 0 + .4byte 0x54686973 + .4byte 0x20545620 + .4byte 0x666F726D + .4byte 0x61742022 + .4byte 0x44454255 + .4byte 0x475F5041 + .4byte 0x4C222069 + .4byte 0x73206F6E + .4byte 0x6C792066 + .4byte 0x6F72200A + .4byte 0 + .4byte 0x74656D70 + .4byte 0x6F726172 + .4byte 0x7920736F + .4byte 0x6C757469 + .4byte 0x6F6E2075 + .4byte 0x6E74696C + .4byte 0x2050414C + .4byte 0x20444143 + .4byte 0x20626F61 + .4byte 0x7264200A + .4byte 0 + .4byte 0x69732061 + .4byte 0x7661696C + .4byte 0x61626C65 + .4byte 0x2E20506C + .4byte 0x65617365 + .4byte 0x20646F20 + .4byte 0x4E4F5420 + .4byte 0x75736520 + .4byte 0x74686973 + .4byte 0x2020200A + .4byte 0 + .4byte 0x6D6F6465 + .4byte 0x20696E20 + .4byte 0x7265616C + .4byte 0x2067616D + .4byte 0x65732121 + .4byte 0x21202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x20202020 + .4byte 0x2020200A + .4byte 0 + .4byte 0x5649436F + .4byte 0x6E666967 + .4byte 0x75726528 + .4byte 0x293A2054 + .4byte 0x72696564 + .4byte 0x20746F20 + .4byte 0x6368616E + .4byte 0x6765206D + .4byte 0x6F646520 + .4byte 0x66726F6D + .4byte 0x20282564 + .4byte 0x2920746F + .4byte 0x20282564 + .4byte 0x292C2077 + .4byte 0x68696368 + .4byte 0x20697320 + .4byte 0x666F7262 + .4byte 0x69646465 + .4byte 0x6E0A0000 + +.global "@4121" +"@4121": + + .4byte lbl_8002E048 + .4byte lbl_8002E050 + .4byte lbl_8002E054 + .4byte lbl_8002E048 + .4byte lbl_8002E050 + .4byte lbl_8002E054 + .4byte lbl_8002E048 + .4byte lbl_8002E048 + .4byte lbl_8002E048 + +.global "@4441" +"@4441": + + .4byte lbl_8002E394 + .4byte lbl_8002E39C + .4byte lbl_8002E3A0 + .4byte lbl_8002E394 + .4byte lbl_8002E39C + .4byte lbl_8002E3A0 + .4byte lbl_8002E394 + .4byte lbl_8002E394 + .4byte lbl_8002E394 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global shdwRegs +shdwRegs: + .skip 0x78 + +.global regs +regs: + .skip 0x78 + +.global HorVer +HorVer: + .skip 0x58 + +.global __VIDimmingFlag_DEV_IDLE +__VIDimmingFlag_DEV_IDLE: + .skip 0x28 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global __VIVersion +__VIVersion: + + .4byte "@1_8042FC90" + +.global "@LOCAL@OnShutdown__FiUl@first" +"@LOCAL@OnShutdown__FiUl@first": + + .4byte 0x00000001 + +.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@old_dtvStatus" +"@LOCAL@__VIRetraceHandler__FsP9OSContext@old_dtvStatus": + + .4byte 0x000003E7 + +.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@old_tvtype@0" +"@LOCAL@__VIRetraceHandler__FsP9OSContext@old_tvtype@0": + + .4byte 0x000003E7 + +.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@__VIDimmingFlag_Enable_old@1" +"@LOCAL@__VIRetraceHandler__FsP9OSContext@__VIDimmingFlag_Enable_old@1": + + .4byte 0x00000001 + +.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@__VIDVDStopFlag_Enable_old@2" +"@LOCAL@__VIRetraceHandler__FsP9OSContext@__VIDVDStopFlag_Enable_old@2": + + .4byte 0x00000001 + +.global "@3937" +"@3937": + + .4byte 0x76692E63 + .4byte 0 +.include "macros.inc" + +.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 +.global IsInitialized +IsInitialized: + .skip 0x4 + +.global vsync_timing_err_cnt +vsync_timing_err_cnt: + .skip 0x4 + +.global vsync_timing_test_flag +vsync_timing_test_flag: + .skip 0x4 + +.global __VIDimming_All_Clear +__VIDimming_All_Clear: + .skip 0x4 + +.global THD_TIME_TO_DIMMING +THD_TIME_TO_DIMMING: + .skip 0x4 + +.global NEW_TIME_TO_DIMMING +NEW_TIME_TO_DIMMING: + .skip 0x4 + +.global THD_TIME_TO_DVD_STOP +THD_TIME_TO_DVD_STOP: + .skip 0x4 + +.global _gIdleCount_dimming +_gIdleCount_dimming: + .skip 0x4 + +.global _gIdleCount_dvd +_gIdleCount_dvd: + .skip 0x4 + +.global __VIDimmingState +__VIDimmingState: + .skip 0x4 + +.global PositionCallback +PositionCallback: + .skip 0x4 + +.global displayOffsetH +displayOffsetH: + .skip 0x2 + +.global displayOffsetV +displayOffsetV: + .skip 0x2 + +.global changeMode +changeMode: + .skip 0x8 + +.global changed +changed: + .skip 0x4 + +.global lbl_8055C93C +lbl_8055C93C: + .skip 0x4 + +.global shdwChangeMode +shdwChangeMode: + .skip 0x8 + +.global shdwChanged +shdwChanged: + .skip 0x4 + +.global lbl_8055C94C +lbl_8055C94C: + .skip 0x4 + +.global FBSet +FBSet: + .skip 0x4 + +.global timingExtra +timingExtra: + .skip 0x4 + +.global "@LOCAL@OnShutdown__FiUl@count@0" +"@LOCAL@OnShutdown__FiUl@count@0": + .skip 0x4 + +.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@DimmingON_Pending@3" +"@LOCAL@__VIRetraceHandler__FsP9OSContext@DimmingON_Pending@3": + .skip 0x4 + +.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@DimmingOFF_Pending@4" +"@LOCAL@__VIRetraceHandler__FsP9OSContext@DimmingOFF_Pending@4": + .skip 0x4 + +.global "@LOCAL@PrintDebugPalCaution__Fv@message" +"@LOCAL@PrintDebugPalCaution__Fv@message": + .skip 0x4 + +.global CurrBufAddr +CurrBufAddr: + .skip 0x4 + +.global NextBufAddr +NextBufAddr: + .skip 0x4 + +.global CurrTvMode +CurrTvMode: + .skip 0x4 + +.global CurrTiming +CurrTiming: + .skip 0x4 + +.global encoderType +encoderType: + .skip 0x4 + +.global PostCB +PostCB: + .skip 0x4 + +.global PreCB +PreCB: + .skip 0x8 + +.global retraceQueue +retraceQueue: + .skip 0x8 + +.global __VIDimmingFlag_SI_IDLE +__VIDimmingFlag_SI_IDLE: + .skip 0x4 + +.global __VIDimmingFlag_RF_IDLE +__VIDimmingFlag_RF_IDLE: + .skip 0x4 + +.global g_current_time_to_dim +g_current_time_to_dim: + .skip 0x4 + +.global __VIDVDStopFlag_Enable +__VIDVDStopFlag_Enable: + .skip 0x4 + +.global __VIDimmingFlag_Enable +__VIDimmingFlag_Enable: + .skip 0x4 + +.global flushFlag3in1 +flushFlag3in1: + .skip 0x4 + +.global flushFlag +flushFlag: + .skip 0x4 + +.global retraceCount +retraceCount: + .skip 0x4 diff --git a/asm/vi/vi3in1_8002edb0.s b/asm/vi/vi3in1.s similarity index 90% rename from asm/vi/vi3in1_8002edb0.s rename to asm/vi/vi3in1.s index 86271293..3c7c5a1c 100644 --- a/asm/vi/vi3in1_8002edb0.s +++ b/asm/vi/vi3in1.s @@ -1589,3 +1589,498 @@ lbl_8003047C: /* 800304D4 0002C314 38 21 00 70 */ addi r1, r1, 0x70 /* 800304D8 0002C318 4E 80 00 20 */ blr /* 800304DC 0002C31C 00 00 00 00 */ .4byte 0x00000000 +.include "macros.inc" + +.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 +.global gammaSet +gammaSet: + + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0x00300397 + .4byte 0x3B49101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x10001000 + .4byte 0x10001080 + .4byte 0x1B80EB00 + .4byte 0x00000028 + .4byte 0x005A02DB + .4byte 0x0D8D3049 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10001000 + .4byte 0x10401100 + .4byte 0x18804200 + .4byte 0xEB000000 + .4byte 0x007A023C + .4byte 0x076D129C + .4byte 0x2724101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x100010C0 + .4byte 0x15802900 + .4byte 0x6200EB00 + .4byte 0x004E0199 + .4byte 0x052D0B24 + .4byte 0x142920A4 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10001040 + .4byte 0x12C01DC0 + .4byte 0x3B0078C0 + .4byte 0xEB0000EC + .4byte 0x03D70800 + .4byte 0x0D9E143E + .4byte 0x1BDB101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x10C016C0 + .4byte 0x27C04B80 + .4byte 0x8980EB00 + .4byte 0x02760666 + .4byte 0x0A960EF3 + .4byte 0x13AC1849 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10001200 + .4byte 0x1C003280 + .4byte 0x59C09600 + .4byte 0xEB0004EC + .4byte 0x08F50C96 + .4byte 0x0FCF12C6 + .4byte 0x1580101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x14002200 + .4byte 0x3CC06640 + .4byte 0x9FC0EB00 + .4byte 0x08000BAE + .4byte 0x0E001030 + .4byte 0x11CB1349 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10001680 + .4byte 0x28C04680 + .4byte 0x7100A780 + .4byte 0xEB000BB1 + .4byte 0x0E140F2D + .4byte 0x101810E5 + .4byte 0x1180101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x19802F80 + .4byte 0x4FC07A00 + .4byte 0xADC0EB00 + .4byte 0x10001000 + .4byte 0x10001000 + .4byte 0x10001000 + .4byte 0x10204060 + .4byte 0x80A0EB00 + .4byte 0x10002000 + .4byte 0x40006000 + .4byte lbl_8000A000 + .4byte 0xEB0014EC + .4byte 0x11C21078 + .4byte 0x0FB60F2F + .4byte 0x0EB6101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x21003CC0 + .4byte 0x5FC08900 + .4byte 0xB780EB00 + .4byte 0x19D81333 + .4byte 0x10D20F6D + .4byte 0x0E5E0DA4 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10002500 + .4byte 0x430066C0 + .4byte 0x8F40BB40 + .4byte 0xEB001EC4 + .4byte 0x147A110F + .4byte 0x0F0C0DA1 + .4byte 0x0CB6101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x29004900 + .4byte 0x6D4094C0 + .4byte 0xBE80EB00 + .4byte 0x24001570 + .4byte 0x110F0EAA + .4byte 0x0D0F0BDB + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10002D40 + .4byte 0x4EC07300 + .4byte 0x9980C180 + .4byte 0xEB00293B + .4byte 0x163D110F + .4byte 0x0E300C7D + .4byte 0x0B24101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x31805440 + .4byte 0x78809DC0 + .4byte 0xC400EB00 + .4byte 0x2E27170A + .4byte 0x10D20DE7 + .4byte 0x0BEB0A80 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10003580 + .4byte 0x59807D40 + .4byte 0xA1C0C640 + .4byte 0xEB003362 + .4byte 0x175C10D2 + .4byte 0x0D6D0B6D + .4byte 0x09ED101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x39C05E40 + .4byte 0x8200A540 + .4byte 0xC840EB00 + .4byte 0x384E17AE + .4byte 0x10B40D0C + .4byte 0x0AF0096D + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10003DC0 + .4byte 0x62C08640 + .4byte 0xA880CA00 + .4byte 0xEB003D3B + .4byte 0x1800105A + .4byte 0x0CC30A72 + .4byte 0x0900101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x41C06740 + .4byte 0x8A00AB80 + .4byte 0xCB80EB00 + .4byte 0x41D81828 + .4byte 0x103C0C49 + .4byte 0x0A1F0892 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10004580 + .4byte 0x6B408DC0 + .4byte 0xAE00CD00 + .4byte 0xEB004676 + .4byte 0x18510FE1 + .4byte 0x0C0009B6 + .4byte 0x0836101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x49406F40 + .4byte 0x9100B080 + .4byte 0xCE40EB00 + .4byte 0x4AC4187A + .4byte 0x0FA50B9E + .4byte 0x096307DB + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10004CC0 + .4byte 0x73009440 + .4byte 0xB2C0CF80 + .4byte 0xEB004F13 + .4byte 0x18510F69 + .4byte 0x0B6D090F + .4byte 0x0780101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x50407640 + .4byte 0x9700B500 + .4byte 0xD0C0EB00 + .4byte 0x5313187A + .4byte 0x0F0F0B24 + .4byte 0x08BC0736 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10005380 + .4byte 0x79C099C0 + .4byte 0xB700D1C0 + .4byte 0xEB005713 + .4byte 0x18510EF0 + .4byte 0x0AC3087D + .4byte 0x06ED101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x56C07CC0 + .4byte 0x9C80B8C0 + .4byte 0xD2C0EB00 + .4byte 0x5B131828 + .4byte 0x0E960A92 + .4byte 0x082906B6 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10005A00 + .4byte 0x7FC09EC0 + .4byte 0xBA80D380 + .4byte 0xEB005EC4 + .4byte 0x18000E78 + .4byte 0x0A300800 + .4byte 0x066D101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x5D008280 + .4byte 0xA140BC00 + .4byte 0xD480EB00 + .4byte 0x627617D7 + .4byte 0x0E1E0A00 + .4byte 0x07C10636 + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10006000 + .4byte 0x8540A340 + .4byte 0xBD80D540 + .4byte 0xEB0065D8 + .4byte 0x17AE0DE1 + .4byte 0x09CF0782 + .4byte 0x0600101D + .4byte 0x365882B3 + .4byte 0xEB001000 + .4byte 0x62C087C0 + .4byte 0xA540BF00 + .4byte 0xD600EB00 + .4byte 0x693B1785 + .4byte 0x0DA50986 + .4byte 0x074305DB + .4byte 0x101D3658 + .4byte 0x82B3EB00 + .4byte 0x10006580 + .4byte 0x8A40A740 + .4byte 0xC040D680 + .4byte 0xEB000000 + .4byte 0x36000000 + .4byte 0 + .4byte 0x1B1B2407 + .4byte 0xF800000F + .4byte 0x0F600000 + .4byte 0 + .4byte 0 + .4byte 0x3E1D1125 + .4byte 0x11010700 + .4byte 0x1B1B2407 + .4byte 0xF800000F + .4byte 0x0F60010A + .4byte 0x00050403 + .4byte 0xFF000000 + .4byte 0x3E171521 + .4byte 0x15050502 + .4byte 0x1B1B2407 + .4byte 0xF800000F + .4byte 0x0F60010A + .4byte 0x00050403 + .4byte 0xFF000000 + .4byte 0x361A222A + .4byte 0x22050200 + .4byte 0x1C3D1403 + .4byte 0xFE0154FE + .4byte 0x7E600008 + .4byte 0x00040701 + .4byte 0x55010000 + .4byte 0x361A222A + .4byte 0x22050200 + .4byte 0x1C3D1403 + .4byte 0xFE0154FE + .4byte 0x7E600008 + .4byte 0x00040701 + .4byte 0x55010000 + .4byte 0x361A222A + .4byte 0x22050200 + .4byte 0x1C3D1403 + .4byte 0xFE0154FE + .4byte 0x7E600008 + .4byte 0x00040701 + .4byte 0x55010000 + .4byte 0x36000000 + .4byte 0 + .4byte 0x1B1B2407 + .4byte 0xF800001E + .4byte 0x1E600000 + .4byte 0 + .4byte 0x00010000 + .4byte 0x361D1125 + .4byte 0x11010700 + .4byte 0x1B1B2407 + .4byte 0xF800001E + .4byte 0x1E60010A + .4byte 0x00050403 + .4byte 0xFF010000 + .4byte 0x36171521 + .4byte 0x15050502 + .4byte 0x1B1B2407 + .4byte 0xF800001E + .4byte 0x1E60010A + .4byte 0x00050403 + .4byte 0xFF010000 + .4byte 0x36000000 + .4byte 0 + .4byte 0x1B1B2407 + .4byte 0xF800000F + .4byte 0x0F600000 + .4byte 0 + .4byte 0 + .4byte 0x361D1125 + .4byte 0x11010700 + .4byte 0x1B1B2407 + .4byte 0xF800000F + .4byte 0x0F60010A + .4byte 0x00050403 + .4byte 0xFF000000 + .4byte 0x36171521 + .4byte 0x15050502 + .4byte 0x1B1B2407 + .4byte 0xF800000F + .4byte 0x0F60010A + .4byte 0x00050403 + .4byte 0xFF000000 + .4byte 0x01000000 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0x76693369 + .4byte 0x6E312E63 + .4byte 0 + .4byte 0x56495365 + .4byte 0x7443474D + .4byte 0x5328293A + .4byte 0x20547269 + .4byte 0x65642074 + .4byte 0x6F207365 + .4byte 0x74204150 + .4byte 0x53205472 + .4byte 0x69676765 + .4byte 0x72206269 + .4byte 0x7428574F + .4byte 0x5244325B + .4byte 0x333A325D + .4byte 0x29200A77 + .4byte 0x68656E20 + .4byte 0x74686520 + .4byte 0x7363616E + .4byte 0x20697320 + .4byte 0x70726F67 + .4byte 0x72657373 + .4byte 0x69766520 + .4byte 0x696E2044 + .4byte 0x5456206D + .4byte 0x6F64652C + .4byte 0x20776869 + .4byte 0x63682069 + .4byte 0x7320666F + .4byte 0x72626964 + .4byte 0x64656E0A + .4byte 0 + .4byte 0 + .4byte 0 +.include "macros.inc" + +.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 +.global VIZeroACPType +VIZeroACPType: + .skip 0x20 +.include "macros.inc" + +.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 +.global __tvType +__tvType: + + .4byte 0x000000FF + +.global __wd0 +__wd0: + + .byte 0xFF + +.global __wd1 +__wd1: + + .byte 0xFF + +.global __wd2 +__wd2: + + .byte 0xFF + +.global __gp1 +__gp1: + + .byte 0xFF + +.global __gp2 +__gp2: + + .byte 0xFF + +.global __gp3 +__gp3: + + .byte 0xFF + +.global __gp4 +__gp4: + + .byte 0xFF + +.global __cc1 +__cc1: + + .byte 0xFF + +.global __cc2 +__cc2: + + .byte 0xFF + +.global __cc3 +__cc3: + + .byte 0xFF + +.global __cc4 +__cc4: + + .byte 0xFF + +.global __filter +__filter: + + .byte 0xFF +.include "macros.inc" + +.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 +.global Vdac_Flag_Changed +Vdac_Flag_Changed: + .skip 0x4 + +.global __current_3in1_video_mode +__current_3in1_video_mode: + .skip 0x4 + +.global __level +__level: + .skip 0x4 + +.global __gamma +__gamma: + .skip 0x4 + +.global __type +__type: + .skip 0x4 + +.global Vdac_Flag_Region +Vdac_Flag_Region: + .skip 0x4 diff --git a/asm/vi/vi3in1_804301e8.s b/asm/vi/vi3in1_804301e8.s deleted file mode 100644 index ebc930c4..00000000 --- a/asm/vi/vi3in1_804301e8.s +++ /dev/null @@ -1,396 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global gammaSet -gammaSet: - - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0x00300397 - .4byte 0x3B49101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x10001000 - .4byte 0x10001080 - .4byte 0x1B80EB00 - .4byte 0x00000028 - .4byte 0x005A02DB - .4byte 0x0D8D3049 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10001000 - .4byte 0x10401100 - .4byte 0x18804200 - .4byte 0xEB000000 - .4byte 0x007A023C - .4byte 0x076D129C - .4byte 0x2724101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x100010C0 - .4byte 0x15802900 - .4byte 0x6200EB00 - .4byte 0x004E0199 - .4byte 0x052D0B24 - .4byte 0x142920A4 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10001040 - .4byte 0x12C01DC0 - .4byte 0x3B0078C0 - .4byte 0xEB0000EC - .4byte 0x03D70800 - .4byte 0x0D9E143E - .4byte 0x1BDB101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x10C016C0 - .4byte 0x27C04B80 - .4byte 0x8980EB00 - .4byte 0x02760666 - .4byte 0x0A960EF3 - .4byte 0x13AC1849 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10001200 - .4byte 0x1C003280 - .4byte 0x59C09600 - .4byte 0xEB0004EC - .4byte 0x08F50C96 - .4byte 0x0FCF12C6 - .4byte 0x1580101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x14002200 - .4byte 0x3CC06640 - .4byte 0x9FC0EB00 - .4byte 0x08000BAE - .4byte 0x0E001030 - .4byte 0x11CB1349 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10001680 - .4byte 0x28C04680 - .4byte 0x7100A780 - .4byte 0xEB000BB1 - .4byte 0x0E140F2D - .4byte 0x101810E5 - .4byte 0x1180101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x19802F80 - .4byte 0x4FC07A00 - .4byte 0xADC0EB00 - .4byte 0x10001000 - .4byte 0x10001000 - .4byte 0x10001000 - .4byte 0x10204060 - .4byte 0x80A0EB00 - .4byte 0x10002000 - .4byte 0x40006000 - .4byte lbl_8000A000 - .4byte 0xEB0014EC - .4byte 0x11C21078 - .4byte 0x0FB60F2F - .4byte 0x0EB6101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x21003CC0 - .4byte 0x5FC08900 - .4byte 0xB780EB00 - .4byte 0x19D81333 - .4byte 0x10D20F6D - .4byte 0x0E5E0DA4 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10002500 - .4byte 0x430066C0 - .4byte 0x8F40BB40 - .4byte 0xEB001EC4 - .4byte 0x147A110F - .4byte 0x0F0C0DA1 - .4byte 0x0CB6101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x29004900 - .4byte 0x6D4094C0 - .4byte 0xBE80EB00 - .4byte 0x24001570 - .4byte 0x110F0EAA - .4byte 0x0D0F0BDB - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10002D40 - .4byte 0x4EC07300 - .4byte 0x9980C180 - .4byte 0xEB00293B - .4byte 0x163D110F - .4byte 0x0E300C7D - .4byte 0x0B24101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x31805440 - .4byte 0x78809DC0 - .4byte 0xC400EB00 - .4byte 0x2E27170A - .4byte 0x10D20DE7 - .4byte 0x0BEB0A80 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10003580 - .4byte 0x59807D40 - .4byte 0xA1C0C640 - .4byte 0xEB003362 - .4byte 0x175C10D2 - .4byte 0x0D6D0B6D - .4byte 0x09ED101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x39C05E40 - .4byte 0x8200A540 - .4byte 0xC840EB00 - .4byte 0x384E17AE - .4byte 0x10B40D0C - .4byte 0x0AF0096D - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10003DC0 - .4byte 0x62C08640 - .4byte 0xA880CA00 - .4byte 0xEB003D3B - .4byte 0x1800105A - .4byte 0x0CC30A72 - .4byte 0x0900101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x41C06740 - .4byte 0x8A00AB80 - .4byte 0xCB80EB00 - .4byte 0x41D81828 - .4byte 0x103C0C49 - .4byte 0x0A1F0892 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10004580 - .4byte 0x6B408DC0 - .4byte 0xAE00CD00 - .4byte 0xEB004676 - .4byte 0x18510FE1 - .4byte 0x0C0009B6 - .4byte 0x0836101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x49406F40 - .4byte 0x9100B080 - .4byte 0xCE40EB00 - .4byte 0x4AC4187A - .4byte 0x0FA50B9E - .4byte 0x096307DB - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10004CC0 - .4byte 0x73009440 - .4byte 0xB2C0CF80 - .4byte 0xEB004F13 - .4byte 0x18510F69 - .4byte 0x0B6D090F - .4byte 0x0780101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x50407640 - .4byte 0x9700B500 - .4byte 0xD0C0EB00 - .4byte 0x5313187A - .4byte 0x0F0F0B24 - .4byte 0x08BC0736 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10005380 - .4byte 0x79C099C0 - .4byte 0xB700D1C0 - .4byte 0xEB005713 - .4byte 0x18510EF0 - .4byte 0x0AC3087D - .4byte 0x06ED101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x56C07CC0 - .4byte 0x9C80B8C0 - .4byte 0xD2C0EB00 - .4byte 0x5B131828 - .4byte 0x0E960A92 - .4byte 0x082906B6 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10005A00 - .4byte 0x7FC09EC0 - .4byte 0xBA80D380 - .4byte 0xEB005EC4 - .4byte 0x18000E78 - .4byte 0x0A300800 - .4byte 0x066D101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x5D008280 - .4byte 0xA140BC00 - .4byte 0xD480EB00 - .4byte 0x627617D7 - .4byte 0x0E1E0A00 - .4byte 0x07C10636 - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10006000 - .4byte 0x8540A340 - .4byte 0xBD80D540 - .4byte 0xEB0065D8 - .4byte 0x17AE0DE1 - .4byte 0x09CF0782 - .4byte 0x0600101D - .4byte 0x365882B3 - .4byte 0xEB001000 - .4byte 0x62C087C0 - .4byte 0xA540BF00 - .4byte 0xD600EB00 - .4byte 0x693B1785 - .4byte 0x0DA50986 - .4byte 0x074305DB - .4byte 0x101D3658 - .4byte 0x82B3EB00 - .4byte 0x10006580 - .4byte 0x8A40A740 - .4byte 0xC040D680 - .4byte 0xEB000000 - .4byte 0x36000000 - .4byte 0 - .4byte 0x1B1B2407 - .4byte 0xF800000F - .4byte 0x0F600000 - .4byte 0 - .4byte 0 - .4byte 0x3E1D1125 - .4byte 0x11010700 - .4byte 0x1B1B2407 - .4byte 0xF800000F - .4byte 0x0F60010A - .4byte 0x00050403 - .4byte 0xFF000000 - .4byte 0x3E171521 - .4byte 0x15050502 - .4byte 0x1B1B2407 - .4byte 0xF800000F - .4byte 0x0F60010A - .4byte 0x00050403 - .4byte 0xFF000000 - .4byte 0x361A222A - .4byte 0x22050200 - .4byte 0x1C3D1403 - .4byte 0xFE0154FE - .4byte 0x7E600008 - .4byte 0x00040701 - .4byte 0x55010000 - .4byte 0x361A222A - .4byte 0x22050200 - .4byte 0x1C3D1403 - .4byte 0xFE0154FE - .4byte 0x7E600008 - .4byte 0x00040701 - .4byte 0x55010000 - .4byte 0x361A222A - .4byte 0x22050200 - .4byte 0x1C3D1403 - .4byte 0xFE0154FE - .4byte 0x7E600008 - .4byte 0x00040701 - .4byte 0x55010000 - .4byte 0x36000000 - .4byte 0 - .4byte 0x1B1B2407 - .4byte 0xF800001E - .4byte 0x1E600000 - .4byte 0 - .4byte 0x00010000 - .4byte 0x361D1125 - .4byte 0x11010700 - .4byte 0x1B1B2407 - .4byte 0xF800001E - .4byte 0x1E60010A - .4byte 0x00050403 - .4byte 0xFF010000 - .4byte 0x36171521 - .4byte 0x15050502 - .4byte 0x1B1B2407 - .4byte 0xF800001E - .4byte 0x1E60010A - .4byte 0x00050403 - .4byte 0xFF010000 - .4byte 0x36000000 - .4byte 0 - .4byte 0x1B1B2407 - .4byte 0xF800000F - .4byte 0x0F600000 - .4byte 0 - .4byte 0 - .4byte 0x361D1125 - .4byte 0x11010700 - .4byte 0x1B1B2407 - .4byte 0xF800000F - .4byte 0x0F60010A - .4byte 0x00050403 - .4byte 0xFF000000 - .4byte 0x36171521 - .4byte 0x15050502 - .4byte 0x1B1B2407 - .4byte 0xF800000F - .4byte 0x0F60010A - .4byte 0x00050403 - .4byte 0xFF000000 - .4byte 0x01000000 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0 - .4byte 0x76693369 - .4byte 0x6E312E63 - .4byte 0 - .4byte 0x56495365 - .4byte 0x7443474D - .4byte 0x5328293A - .4byte 0x20547269 - .4byte 0x65642074 - .4byte 0x6F207365 - .4byte 0x74204150 - .4byte 0x53205472 - .4byte 0x69676765 - .4byte 0x72206269 - .4byte 0x7428574F - .4byte 0x5244325B - .4byte 0x333A325D - .4byte 0x29200A77 - .4byte 0x68656E20 - .4byte 0x74686520 - .4byte 0x7363616E - .4byte 0x20697320 - .4byte 0x70726F67 - .4byte 0x72657373 - .4byte 0x69766520 - .4byte 0x696E2044 - .4byte 0x5456206D - .4byte 0x6F64652C - .4byte 0x20776869 - .4byte 0x63682069 - .4byte 0x7320666F - .4byte 0x72626964 - .4byte 0x64656E0A - .4byte 0 - .4byte 0 - .4byte 0 diff --git a/asm/vi/vi3in1_8049a6e0.s b/asm/vi/vi3in1_8049a6e0.s deleted file mode 100644 index 5cb22856..00000000 --- a/asm/vi/vi3in1_8049a6e0.s +++ /dev/null @@ -1,6 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global VIZeroACPType -VIZeroACPType: - .skip 0x20 diff --git a/asm/vi/vi3in1_80556550.s b/asm/vi/vi3in1_80556550.s deleted file mode 100644 index e35b9bd1..00000000 --- a/asm/vi/vi3in1_80556550.s +++ /dev/null @@ -1,67 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global __tvType -__tvType: - - .4byte 0x000000FF - -.global __wd0 -__wd0: - - .byte 0xFF - -.global __wd1 -__wd1: - - .byte 0xFF - -.global __wd2 -__wd2: - - .byte 0xFF - -.global __gp1 -__gp1: - - .byte 0xFF - -.global __gp2 -__gp2: - - .byte 0xFF - -.global __gp3 -__gp3: - - .byte 0xFF - -.global __gp4 -__gp4: - - .byte 0xFF - -.global __cc1 -__cc1: - - .byte 0xFF - -.global __cc2 -__cc2: - - .byte 0xFF - -.global __cc3 -__cc3: - - .byte 0xFF - -.global __cc4 -__cc4: - - .byte 0xFF - -.global __filter -__filter: - - .byte 0xFF diff --git a/asm/vi/vi3in1_8055c9b8.s b/asm/vi/vi3in1_8055c9b8.s deleted file mode 100644 index dc0ddb96..00000000 --- a/asm/vi/vi3in1_8055c9b8.s +++ /dev/null @@ -1,26 +0,0 @@ -.include "macros.inc" - -.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 -.global Vdac_Flag_Changed -Vdac_Flag_Changed: - .skip 0x4 - -.global __current_3in1_video_mode -__current_3in1_video_mode: - .skip 0x4 - -.global __level -__level: - .skip 0x4 - -.global __gamma -__gamma: - .skip 0x4 - -.global __type -__type: - .skip 0x4 - -.global Vdac_Flag_Region -Vdac_Flag_Region: - .skip 0x4 diff --git a/asm/vi/vi_8042fc90.s b/asm/vi/vi_8042fc90.s deleted file mode 100644 index 7a8a93f7..00000000 --- a/asm/vi/vi_8042fc90.s +++ /dev/null @@ -1,388 +0,0 @@ -.include "macros.inc" - -.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 -.global "@1_8042FC90" -"@1_8042FC90": - - .4byte 0x3C3C2052 - .4byte 0x564C5F53 - .4byte 0x444B202D - .4byte 0x20564920 - .4byte 0x0972656C - .4byte 0x65617365 - .4byte 0x20627569 - .4byte 0x6C643A20 - .4byte 0x41756720 - .4byte 0x32332032 - .4byte 0x30313020 - .4byte 0x31373A33 - .4byte 0x333A3139 - .4byte 0x20283078 - .4byte 0x34333032 - .4byte 0x5F313435 - .4byte 0x29203E3E - .4byte 0 - -.global timing -timing: - - .4byte 0x060000F0 - .4byte 0x00180019 - .4byte 0x00030002 - .4byte 0x0C0D0C0D - .4byte 0x02080207 - .4byte 0x02080207 - .4byte 0x020D01AD - .4byte 0x404769A2 - .4byte 0x01757A00 - .4byte 0x019C0600 - .4byte 0x00F00018 - .4byte 0x00180004 - .4byte 0x00040C0C - .4byte 0x0C0C0208 - .4byte 0x02080208 - .4byte 0x0208020E - .4byte 0x01AD4047 - .4byte 0x69A20175 - .4byte 0x7A00019C - .4byte 0x0500011F - .4byte 0x00230024 - .4byte 0x00010000 - .4byte 0x0D0C0B0A - .4byte 0x026B026A - .4byte 0x0269026C - .4byte 0x027101B0 - .4byte 0x404B6AAC - .4byte 0x017C8500 - .4byte 0x01A40500 - .4byte 0x011F0021 - .4byte 0x00210002 - .4byte 0x00020D0B - .4byte 0x0D0B026B - .4byte 0x026D026B - .4byte 0x026D0270 - .4byte 0x01B0404B - .4byte 0x6AAC017C - .4byte 0x850001A4 - .4byte 0x060000F0 - .4byte 0x00180019 - .4byte 0x00030002 - .4byte 0x100F0E0D - .4byte 0x02060205 - .4byte 0x02040207 - .4byte 0x020D01AD - .4byte 0x404E70A2 - .4byte 0x01757A00 - .4byte 0x019C0600 - .4byte 0x00F00018 - .4byte 0x00180004 - .4byte 0x0004100E - .4byte 0x100E0206 - .4byte 0x02080206 - .4byte 0x0208020E - .4byte 0x01AD404E - .4byte 0x70A20175 - .4byte 0x7A00019C - .4byte 0x0C0001E0 - .4byte 0x00300030 - .4byte 0x00060006 - .4byte 0x18181818 - .4byte 0x040E040E - .4byte 0x040E040E - .4byte 0x041A01AD - .4byte 0x404769A2 - .4byte 0x01757A00 - .4byte 0x019C0C00 - .4byte 0x01E0002C - .4byte 0x002C000A - .4byte 0x000A1818 - .4byte 0x1818040E - .4byte 0x040E040E - .4byte 0x040E041A - .4byte 0x01AD4047 - .4byte 0x69A8017B - .4byte 0x7A00019C - .4byte 0x060000F1 - .4byte 0x00180019 - .4byte 0x00010000 - .4byte 0x0C0D0C0D - .4byte 0x02080207 - .4byte 0x02080207 - .4byte 0x020D01AD - .4byte 0x4047699F - .4byte 0x01727A00 - .4byte 0x019C0C00 - .4byte 0x01E00030 - .4byte 0x00300006 - .4byte 0x00061818 - .4byte 0x1818040E - .4byte 0x040E040E - .4byte 0x040E041A - .4byte 0x01AD4047 - .4byte 0x69B40187 - .4byte 0x7A00019C - .4byte 0x0A000240 - .4byte 0x003E003E - .4byte 0x00060006 - .4byte 0x14141414 - .4byte 0x04D804D8 - .4byte 0x04D804D8 - .4byte 0x04E201B0 - .4byte 0x404B6AAC - .4byte 0x017C7A00 - .4byte 0x019C0000 - -.global taps -taps: - - .4byte 0x01F001DC - .4byte 0x01AE0174 - .4byte 0x012900DB - .4byte 0x008E0046 - .4byte 0x000C00E2 - .4byte 0x00CB00C0 - .4byte 0x00C400CF - .4byte 0x00DE00EC - .4byte 0x00FC0008 - .4byte 0x000F0013 - .4byte 0x0013000F - .4byte 0x000C0008 - .4byte 0x00010000 - .4byte 0x00000006 - .4byte 0x02800210 - .4byte 0x02100028 - .4byte 0x00170280 - .4byte 0x02100000 - .4byte 0 - .4byte 0x00000606 - .4byte 0x06060606 - .4byte 0x06060606 - .4byte 0x06060606 - .4byte 0x06060606 - .4byte 0x06060606 - .4byte 0x06060000 - .4byte 0x15161500 - .4byte 0 - .4byte 0x00000006 - .4byte 0x02800210 - .4byte 0x02100028 - .4byte 0x00170280 - .4byte 0x02100000 - .4byte 0 - .4byte 0x00000606 - .4byte 0x06060606 - .4byte 0x06060606 - .4byte 0x06060606 - .4byte 0x06060606 - .4byte 0x06060606 - .4byte 0x06060808 - .4byte 0x0A0C0A08 - .4byte 0x08000000 - .4byte 0x00000006 - .4byte 0x02800108 - .4byte 0x020C0028 - .4byte 0x00170280 - .4byte 0x020C0000 - .4byte 0 - .4byte 0x00010302 - .4byte 0x0906030A - .4byte 0x03020906 - .4byte 0x030A0902 - .4byte 0x0306090A - .4byte 0x09020306 - .4byte 0x090A0408 - .4byte 0x0C100C08 - .4byte 0x04000000 - .4byte 0 - -.global ShutdownFunctionInfo_8042FF68 -ShutdownFunctionInfo_8042FF68: - - .4byte OnShutdown_8002BAD0 - .4byte 0x0000007F - .4byte 0 - .4byte 0 - -.global "@3436" -"@3436": - - .4byte lbl_8002BFC0 - .4byte lbl_8002BFC8 - .4byte lbl_8002BFD0 - .4byte lbl_8002BFC0 - .4byte lbl_8002BFC8 - .4byte lbl_8002BFD0 - .4byte lbl_8002BFC0 - .4byte lbl_8002BFC0 - .4byte lbl_8002BFC0 - -.global "@3466" -"@3466": - - .4byte lbl_8002C540 - .4byte lbl_8002C54C - .4byte lbl_8002C5B8 - .4byte lbl_8002C5C8 - .4byte lbl_8002C55C - .4byte lbl_8002C56C - .4byte lbl_8002C618 - .4byte lbl_8002C630 - .4byte lbl_8002C598 - .4byte lbl_8002C5A8 - .4byte lbl_8002C5B8 - .4byte lbl_8002C630 - .4byte lbl_8002C630 - .4byte lbl_8002C630 - .4byte lbl_8002C630 - .4byte lbl_8002C630 - .4byte lbl_8002C5D8 - .4byte lbl_8002C5E8 - .4byte lbl_8002C630 - .4byte lbl_8002C630 - .4byte lbl_8002C57C - .4byte lbl_8002C588 - .4byte lbl_8002C5B8 - .4byte lbl_8002C630 - .4byte lbl_8002C5F8 - .4byte lbl_8002C630 - -.global lbl_80430004 -lbl_80430004: - - .4byte lbl_8002C608 - -.global lbl_80430008 -lbl_80430008: - - .4byte lbl_8002C630 - .4byte lbl_8002C628 - .4byte lbl_8002C628 - .4byte lbl_8002C628 - .4byte lbl_8002C630 - .4byte lbl_8002C630 - .4byte lbl_8002C630 - .4byte lbl_8002C628 - -.global "@3633" -"@3633": - - .4byte lbl_8002CCD4 - .4byte lbl_8002CCDC - .4byte lbl_8002CCE4 - .4byte lbl_8002CCD4 - .4byte lbl_8002CCDC - .4byte lbl_8002CCE4 - .4byte lbl_8002CCD4 - .4byte lbl_8002CCD4 - .4byte lbl_8002CCD4 - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A2A - .4byte 0x2A2A2A0A - .4byte 0 - .4byte 0x20212021 - .4byte 0x20212043 - .4byte 0x20412055 - .4byte 0x20542049 - .4byte 0x204F204E - .4byte 0x20212021 - .4byte 0x20212020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x2020200A - .4byte 0 - .4byte 0x54686973 - .4byte 0x20545620 - .4byte 0x666F726D - .4byte 0x61742022 - .4byte 0x44454255 - .4byte 0x475F5041 - .4byte 0x4C222069 - .4byte 0x73206F6E - .4byte 0x6C792066 - .4byte 0x6F72200A - .4byte 0 - .4byte 0x74656D70 - .4byte 0x6F726172 - .4byte 0x7920736F - .4byte 0x6C757469 - .4byte 0x6F6E2075 - .4byte 0x6E74696C - .4byte 0x2050414C - .4byte 0x20444143 - .4byte 0x20626F61 - .4byte 0x7264200A - .4byte 0 - .4byte 0x69732061 - .4byte 0x7661696C - .4byte 0x61626C65 - .4byte 0x2E20506C - .4byte 0x65617365 - .4byte 0x20646F20 - .4byte 0x4E4F5420 - .4byte 0x75736520 - .4byte 0x74686973 - .4byte 0x2020200A - .4byte 0 - .4byte 0x6D6F6465 - .4byte 0x20696E20 - .4byte 0x7265616C - .4byte 0x2067616D - .4byte 0x65732121 - .4byte 0x21202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x20202020 - .4byte 0x2020200A - .4byte 0 - .4byte 0x5649436F - .4byte 0x6E666967 - .4byte 0x75726528 - .4byte 0x293A2054 - .4byte 0x72696564 - .4byte 0x20746F20 - .4byte 0x6368616E - .4byte 0x6765206D - .4byte 0x6F646520 - .4byte 0x66726F6D - .4byte 0x20282564 - .4byte 0x2920746F - .4byte 0x20282564 - .4byte 0x292C2077 - .4byte 0x68696368 - .4byte 0x20697320 - .4byte 0x666F7262 - .4byte 0x69646465 - .4byte 0x6E0A0000 - -.global "@4121" -"@4121": - - .4byte lbl_8002E048 - .4byte lbl_8002E050 - .4byte lbl_8002E054 - .4byte lbl_8002E048 - .4byte lbl_8002E050 - .4byte lbl_8002E054 - .4byte lbl_8002E048 - .4byte lbl_8002E048 - .4byte lbl_8002E048 - -.global "@4441" -"@4441": - - .4byte lbl_8002E394 - .4byte lbl_8002E39C - .4byte lbl_8002E3A0 - .4byte lbl_8002E394 - .4byte lbl_8002E39C - .4byte lbl_8002E3A0 - .4byte lbl_8002E394 - .4byte lbl_8002E394 - .4byte lbl_8002E394 diff --git a/asm/vi/vi_8049a570.s b/asm/vi/vi_8049a570.s deleted file mode 100644 index 59588b5d..00000000 --- a/asm/vi/vi_8049a570.s +++ /dev/null @@ -1,18 +0,0 @@ -.include "macros.inc" - -.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20 -.global shdwRegs -shdwRegs: - .skip 0x78 - -.global regs -regs: - .skip 0x78 - -.global HorVer -HorVer: - .skip 0x58 - -.global __VIDimmingFlag_DEV_IDLE -__VIDimmingFlag_DEV_IDLE: - .skip 0x28 diff --git a/asm/vi/vi_80556528.s b/asm/vi/vi_80556528.s deleted file mode 100644 index 4aa4ba2b..00000000 --- a/asm/vi/vi_80556528.s +++ /dev/null @@ -1,38 +0,0 @@ -.include "macros.inc" - -.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 -.global __VIVersion -__VIVersion: - - .4byte "@1_8042FC90" - -.global "@LOCAL@OnShutdown__FiUl@first" -"@LOCAL@OnShutdown__FiUl@first": - - .4byte 0x00000001 - -.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@old_dtvStatus" -"@LOCAL@__VIRetraceHandler__FsP9OSContext@old_dtvStatus": - - .4byte 0x000003E7 - -.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@old_tvtype@0" -"@LOCAL@__VIRetraceHandler__FsP9OSContext@old_tvtype@0": - - .4byte 0x000003E7 - -.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@__VIDimmingFlag_Enable_old@1" -"@LOCAL@__VIRetraceHandler__FsP9OSContext@__VIDimmingFlag_Enable_old@1": - - .4byte 0x00000001 - -.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@__VIDVDStopFlag_Enable_old@2" -"@LOCAL@__VIRetraceHandler__FsP9OSContext@__VIDVDStopFlag_Enable_old@2": - - .4byte 0x00000001 - -.global "@3937" -"@3937": - - .4byte 0x76692E63 - .4byte 0 diff --git a/asm/vi/vi_8055c900.s b/asm/vi/vi_8055c900.s deleted file mode 100644 index b7922d69..00000000 --- a/asm/vi/vi_8055c900.s +++ /dev/null @@ -1,166 +0,0 @@ -.include "macros.inc" - -.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 -.global IsInitialized -IsInitialized: - .skip 0x4 - -.global vsync_timing_err_cnt -vsync_timing_err_cnt: - .skip 0x4 - -.global vsync_timing_test_flag -vsync_timing_test_flag: - .skip 0x4 - -.global __VIDimming_All_Clear -__VIDimming_All_Clear: - .skip 0x4 - -.global THD_TIME_TO_DIMMING -THD_TIME_TO_DIMMING: - .skip 0x4 - -.global NEW_TIME_TO_DIMMING -NEW_TIME_TO_DIMMING: - .skip 0x4 - -.global THD_TIME_TO_DVD_STOP -THD_TIME_TO_DVD_STOP: - .skip 0x4 - -.global _gIdleCount_dimming -_gIdleCount_dimming: - .skip 0x4 - -.global _gIdleCount_dvd -_gIdleCount_dvd: - .skip 0x4 - -.global __VIDimmingState -__VIDimmingState: - .skip 0x4 - -.global PositionCallback -PositionCallback: - .skip 0x4 - -.global displayOffsetH -displayOffsetH: - .skip 0x2 - -.global displayOffsetV -displayOffsetV: - .skip 0x2 - -.global changeMode -changeMode: - .skip 0x8 - -.global changed -changed: - .skip 0x4 - -.global lbl_8055C93C -lbl_8055C93C: - .skip 0x4 - -.global shdwChangeMode -shdwChangeMode: - .skip 0x8 - -.global shdwChanged -shdwChanged: - .skip 0x4 - -.global lbl_8055C94C -lbl_8055C94C: - .skip 0x4 - -.global FBSet -FBSet: - .skip 0x4 - -.global timingExtra -timingExtra: - .skip 0x4 - -.global "@LOCAL@OnShutdown__FiUl@count@0" -"@LOCAL@OnShutdown__FiUl@count@0": - .skip 0x4 - -.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@DimmingON_Pending@3" -"@LOCAL@__VIRetraceHandler__FsP9OSContext@DimmingON_Pending@3": - .skip 0x4 - -.global "@LOCAL@__VIRetraceHandler__FsP9OSContext@DimmingOFF_Pending@4" -"@LOCAL@__VIRetraceHandler__FsP9OSContext@DimmingOFF_Pending@4": - .skip 0x4 - -.global "@LOCAL@PrintDebugPalCaution__Fv@message" -"@LOCAL@PrintDebugPalCaution__Fv@message": - .skip 0x4 - -.global CurrBufAddr -CurrBufAddr: - .skip 0x4 - -.global NextBufAddr -NextBufAddr: - .skip 0x4 - -.global CurrTvMode -CurrTvMode: - .skip 0x4 - -.global CurrTiming -CurrTiming: - .skip 0x4 - -.global encoderType -encoderType: - .skip 0x4 - -.global PostCB -PostCB: - .skip 0x4 - -.global PreCB -PreCB: - .skip 0x8 - -.global retraceQueue -retraceQueue: - .skip 0x8 - -.global __VIDimmingFlag_SI_IDLE -__VIDimmingFlag_SI_IDLE: - .skip 0x4 - -.global __VIDimmingFlag_RF_IDLE -__VIDimmingFlag_RF_IDLE: - .skip 0x4 - -.global g_current_time_to_dim -g_current_time_to_dim: - .skip 0x4 - -.global __VIDVDStopFlag_Enable -__VIDVDStopFlag_Enable: - .skip 0x4 - -.global __VIDimmingFlag_Enable -__VIDimmingFlag_Enable: - .skip 0x4 - -.global flushFlag3in1 -flushFlag3in1: - .skip 0x4 - -.global flushFlag -flushFlag: - .skip 0x4 - -.global retraceCount -retraceCount: - .skip 0x4 diff --git a/obj_files.mk b/obj_files.mk index 8ea1be45..dd573b89 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -154,11 +154,12 @@ $(BUILD_DIR)/asm/si/SISamplingRate.o \ \ $(BUILD_DIR)/asm/db/db.o \ \ +$(BUILD_DIR)/asm/vi/vi.o \ +$(BUILD_DIR)/asm/vi/i2c.o \ +$(BUILD_DIR)/asm/vi/vi3in1.o \ +\ $(BUILD_DIR)/asm/Linker/Generated/Symbol/File_80006684.o \ $(BUILD_DIR)/asm/Linker/Generated/Symbol/File_800069c4.o \ -$(BUILD_DIR)/asm/vi/vi_8002bad0.o \ -$(BUILD_DIR)/asm/vi/i2c_8002e490.o \ -$(BUILD_DIR)/asm/vi/vi3in1_8002edb0.o \ $(BUILD_DIR)/asm/mtx/mtx_800304e0.o \ $(BUILD_DIR)/asm/mtx/mtxvec_800310f0.o \ $(BUILD_DIR)/asm/mtx/mtx44_800311b0.o \ @@ -3221,8 +3222,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/vi/vi_8042fc90.o \ -$(BUILD_DIR)/asm/vi/vi3in1_804301e8.o \ $(BUILD_DIR)/asm/gx/GXInit_80430800.o \ $(BUILD_DIR)/asm/gx/GXFifo_80430a40.o \ $(BUILD_DIR)/asm/gx/GXAttr_80430a70.o \ @@ -5038,8 +5037,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/vi/vi_8049a570.o \ -$(BUILD_DIR)/asm/vi/vi3in1_8049a6e0.o \ $(BUILD_DIR)/asm/gx/GXInit_8049a700.o \ $(BUILD_DIR)/asm/gx/GXFifo_8049ad80.o \ $(BUILD_DIR)/asm/dvd/dvd_8049ae00.o \ @@ -5184,9 +5181,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/vi/vi_80556528.o \ -$(BUILD_DIR)/asm/vi/i2c_80556548.o \ -$(BUILD_DIR)/asm/vi/vi3in1_80556550.o \ $(BUILD_DIR)/asm/mtx/mtx_80556560.o \ $(BUILD_DIR)/asm/gx/GXInit_80556568.o \ $(BUILD_DIR)/asm/gx/GXAttr_80556570.o \ @@ -5637,9 +5631,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/vi/vi_8055c900.o \ -$(BUILD_DIR)/asm/vi/i2c_8055c9b0.o \ -$(BUILD_DIR)/asm/vi/vi3in1_8055c9b8.o \ $(BUILD_DIR)/asm/gx/GXInit_8055c9d0.o \ $(BUILD_DIR)/asm/gx/GXFifo_8055c9f8.o \ $(BUILD_DIR)/asm/gx/GXMisc_8055ca18.o \