// // Generated By: dol2asm // Translation Unit: GXMisc // #include "dolphin/gx/GXMisc.h" #include "dol2asm.h" #include "dolphin/types.h" // // Forward References: // void GXSetMisc(); void GXFlush(); void __GXAbort(); void GXAbortFrame(); void GXSetDrawDone(); void GXDrawDone(); void GXPixModeSync(); void GXPokeAlphaRead(); void GXPokeBlendMode(); void GXSetDrawSyncCallback(); static void GXTokenInterruptHandler(); void GXSetDrawDoneCallback(); static void GXFinishInterruptHandler(); void __GXPEInit(); // // External References: // void PPCSync(); void OSSetCurrentContext(); void OSClearContext(); void OSDisableInterrupts(); void OSRestoreInterrupts(); void __OSSetInterruptHandler(); void __OSUnmaskInterrupts(); void OSInitThreadQueue(); void OSSleepThread(); void OSWakeupThread(); void OSGetTime(); void __GXInitRevisionBits(); void __GXCleanGPFifo(); void GXGetGPFifo(); void __GXSetDirtyState(); extern u8 __peReg[4]; extern u8 __memReg[4]; extern void* __GXData; // // Declarations: // /* 8035BE38-8035BECC 356778 0094+00 0/0 9/9 0/0 .text GXSetMisc */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXSetMisc(u32 id, u32 value) { nofralloc #include "asm/dolphin/gx/GXMisc/GXSetMisc.s" } #pragma pop /* 8035BECC-8035BF28 35680C 005C+00 1/1 10/10 0/0 .text GXFlush */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXFlush(void) { nofralloc #include "asm/dolphin/gx/GXMisc/GXFlush.s" } #pragma pop /* 8035BF28-8035C094 356868 016C+00 0/0 1/1 0/0 .text __GXAbort */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void __GXAbort(void) { nofralloc #include "asm/dolphin/gx/GXMisc/__GXAbort.s" } #pragma pop /* 8035C094-8035C25C 3569D4 01C8+00 0/0 2/2 0/0 .text GXAbortFrame */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXAbortFrame(void) { nofralloc #include "asm/dolphin/gx/GXMisc/GXAbortFrame.s" } #pragma pop /* ############################################################################################## */ /* 80451968-8045196C 000E68 0004+00 2/2 0/0 0/0 .sbss TokenCB */ static u8 TokenCB[4]; /* 8045196C-80451970 000E6C 0004+00 2/2 0/0 0/0 .sbss DrawDoneCB */ static u8 DrawDoneCB[4]; /* 80451970-80451974 000E70 0004+00 3/3 0/0 0/0 .sbss None */ static u8 data_80451970[4]; /* 8035C25C-8035C2F4 356B9C 0098+00 0/0 2/2 0/0 .text GXSetDrawDone */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXSetDrawDone(void) { nofralloc #include "asm/dolphin/gx/GXMisc/GXSetDrawDone.s" } #pragma pop /* ############################################################################################## */ /* 80451974-8045197C 000E74 0008+00 3/3 0/0 0/0 .sbss FinishQueue */ static u8 FinishQueue[8]; /* 8035C2F4-8035C374 356C34 0080+00 0/0 3/3 1/1 .text GXDrawDone */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXDrawDone(void) { nofralloc #include "asm/dolphin/gx/GXMisc/GXDrawDone.s" } #pragma pop /* 8035C374-8035C398 356CB4 0024+00 0/0 9/9 0/0 .text GXPixModeSync */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPixModeSync(void) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPixModeSync.s" } #pragma pop /* 8035C398-8035C3AC 356CD8 0014+00 0/0 1/1 0/0 .text GXPokeAlphaMode */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPokeAlphaMode(GXCompare comp, u8 threshold) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPokeAlphaMode.s" } #pragma pop /* 8035C3AC-8035C3CC 356CEC 0020+00 0/0 1/1 0/0 .text GXPokeAlphaRead */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPokeAlphaRead(GXAlphaReadMode mode) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPokeAlphaRead.s" } #pragma pop /* 8035C3CC-8035C3E4 356D0C 0018+00 0/0 1/1 0/0 .text GXPokeAlphaUpdate */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPokeAlphaUpdate(GXBool enable_update) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPokeAlphaUpdate.s" } #pragma pop /* 8035C3E4-8035C448 356D24 0064+00 0/0 1/1 0/0 .text GXPokeBlendMode */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPokeBlendMode(GXBlendMode mode, GXBlendFactor src_factor, GXBlendFactor dst_factor, GXLogicOp op) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPokeBlendMode.s" } #pragma pop /* 8035C448-8035C460 356D88 0018+00 0/0 1/1 0/0 .text GXPokeColorUpdate */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPokeColorUpdate(GXBool enable_update) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPokeColorUpdate.s" } #pragma pop /* 8035C460-8035C484 356DA0 0024+00 0/0 1/1 0/0 .text GXPokeDstAlpha */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPokeDstAlpha(GXBool enable, u8 alpha) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPokeDstAlpha.s" } #pragma pop /* 8035C484-8035C49C 356DC4 0018+00 0/0 1/1 0/0 .text GXPokeDither */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPokeDither(GXBool enable) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPokeDither.s" } #pragma pop /* 8035C49C-8035C4BC 356DDC 0020+00 0/0 1/1 0/0 .text GXPokeZMode */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPokeZMode(GXBool enable_compare, GXCompare comp) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPokeZMode.s" } #pragma pop /* 8035C4BC-8035C4E0 356DFC 0024+00 0/0 1/1 0/0 .text GXPeekZ */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXPeekZ(u16 x, u16 y, u32* z) { nofralloc #include "asm/dolphin/gx/GXMisc/GXPeekZ.s" } #pragma pop /* 8035C4E0-8035C524 356E20 0044+00 0/0 1/1 0/0 .text GXSetDrawSyncCallback */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXSetDrawSyncCallback(GXDrawSyncCallback callback) { nofralloc #include "asm/dolphin/gx/GXMisc/GXSetDrawSyncCallback.s" } #pragma pop /* 8035C524-8035C5AC 356E64 0088+00 1/1 0/0 0/0 .text GXTokenInterruptHandler */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off static asm void GXTokenInterruptHandler() { nofralloc #include "asm/dolphin/gx/GXMisc/GXTokenInterruptHandler.s" } #pragma pop /* 8035C5AC-8035C5F0 356EEC 0044+00 0/0 4/4 0/0 .text GXSetDrawDoneCallback */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void GXSetDrawDoneCallback(GXDrawDoneCallback callback) { nofralloc #include "asm/dolphin/gx/GXMisc/GXSetDrawDoneCallback.s" } #pragma pop /* 8035C5F0-8035C670 356F30 0080+00 1/1 0/0 0/0 .text GXFinishInterruptHandler */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off static asm void GXFinishInterruptHandler() { nofralloc #include "asm/dolphin/gx/GXMisc/GXFinishInterruptHandler.s" } #pragma pop /* 8035C670-8035C6E4 356FB0 0074+00 0/0 1/1 0/0 .text __GXPEInit */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void __GXPEInit(void) { nofralloc #include "asm/dolphin/gx/GXMisc/__GXPEInit.s" } #pragma pop /* ############################################################################################## */ /* 8045197C-80451980 -00001 0004+00 0/0 0/0 0/0 .sbss None */ #pragma push #pragma force_active on static u8 pad_8045197C[4]; #pragma pop