mirror of
https://github.com/zeldaret/tp
synced 2026-06-08 04:17:17 -04:00
f8979749e3
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
77 lines
2.1 KiB
C++
77 lines
2.1 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: OSResetSW
|
|
//
|
|
|
|
#include "dolphin/os/OSResetSW.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
extern "C" void OSDisableInterrupts();
|
|
extern "C" void OSRestoreInterrupts();
|
|
extern "C" void __OSMaskInterrupts();
|
|
extern "C" void __OSGetSystemTime();
|
|
extern "C" void __div2i();
|
|
extern "C" extern u8 __OSStartTime[4];
|
|
extern "C" extern u8 data_80451634[4];
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* ############################################################################################## */
|
|
/* 804516A0-804516A4 000BA0 0004+00 1/1 0/0 0/0 .sbss ResetCallback */
|
|
static u8 ResetCallback[4];
|
|
|
|
/* 804516A4-804516A8 000BA4 0004+00 2/2 0/0 0/0 .sbss Down */
|
|
static u8 Down[4];
|
|
|
|
/* 804516A8-804516B0 000BA8 0004+04 2/2 0/0 0/0 .sbss LastState */
|
|
static u8 LastState[4 + 4 /* padding */];
|
|
|
|
/* 804516B0-804516B4 000BB0 0004+00 1/1 0/0 0/0 .sbss HoldUp */
|
|
static u8 HoldUp[4];
|
|
|
|
/* 804516B4-804516B8 000BB4 0004+00 1/1 0/0 0/0 .sbss None */
|
|
static u8 data_804516B4[4];
|
|
|
|
/* 804516B8-804516BC 000BB8 0004+00 2/2 0/0 0/0 .sbss HoldDown */
|
|
static u8 HoldDown[4];
|
|
|
|
/* 804516BC-804516C0 000BBC 0004+00 2/2 0/0 0/0 .sbss None */
|
|
static u8 data_804516BC[4];
|
|
|
|
/* 8033FAE4-8033FBD8 33A424 00F4+00 0/0 1/1 0/0 .text __OSResetSWInterruptHandler */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void __OSResetSWInterruptHandler(void) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSResetSW/__OSResetSWInterruptHandler.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033FBD8-8033FE70 33A518 0298+00 1/1 0/0 0/0 .text OSGetResetButtonState */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
static asm BOOL OSGetResetButtonState(void) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSResetSW/OSGetResetButtonState.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 8033FE70-8033FE90 33A7B0 0020+00 0/0 1/1 0/0 .text OSGetResetSwitchState */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm BOOL OSGetResetSwitchState(void) {
|
|
nofralloc
|
|
#include "asm/dolphin/os/OSResetSW/OSGetResetSwitchState.s"
|
|
}
|
|
#pragma pop
|