mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
clean up dolphin files / work on some rels (#212)
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop * dolphin OS work / cleanup * dolphin GX work / cleanup * finish changing dolphin files to C * more files into C * match rest of MSL_C math functions * more dolphin files converted to C * remove asm * d_bg_w work * remove asm * d_a_alink work / kytag14
This commit is contained in:
@@ -3,4 +3,19 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#define TRK_DISPATCH_CMD_CONNECT 1 /* Connect to the console */
|
||||
#define TRK_DISPATCH_CMD_DISCONNECT 2 /* Disconnect from the console */
|
||||
#define TRK_DISPATCH_CMD_RESET 3 /* Reset the debugger */
|
||||
#define TRK_DISPATCH_CMD_GETVERSION 4 /* Get debugger version */
|
||||
#define TRK_DISPATCH_CMD_GETSUPPORTMASK 5 /* Get Support Mask */
|
||||
#define TRK_DISPATCH_CMD_OVERRIDE 7 /* Override? */
|
||||
#define TRK_DISPATCH_CMD_READMEM 16 /* Reading from memory */
|
||||
#define TRK_DISPATCH_CMD_WRITEMEM 17 /* Writing to memory */
|
||||
#define TRK_DISPATCH_CMD_READREGS 18 /* Read a register value */
|
||||
#define TRK_DISPATCH_CMD_WRITEREGS 19 /* Set a register */
|
||||
#define TRK_DISPATCH_CMD_SETOPTION 23 /* Set an option? */
|
||||
#define TRK_DISPATCH_CMD_CONTINUE 24 /* Continue debugging */
|
||||
#define TRK_DISPATCH_CMD_STEP 25 /* Step through an instruction */
|
||||
#define TRK_DISPATCH_CMD_STOP 26 /* Stop the debugger */
|
||||
|
||||
#endif /* METROTRK_PORTABLE_DISPATCH_H */
|
||||
|
||||
@@ -3,4 +3,6 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
void TRKNubMainLoop(void);
|
||||
|
||||
#endif /* METROTRK_PORTABLE_MAINLOOP_H */
|
||||
|
||||
@@ -3,4 +3,11 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
typedef struct _TRK_Msg {
|
||||
u8 _00[8];
|
||||
u32 m_msgLength;
|
||||
u32 _0C;
|
||||
u32 m_msg;
|
||||
} TRK_Msg;
|
||||
|
||||
#endif /* METROTRK_PORTABLE_MSG_H */
|
||||
|
||||
@@ -3,4 +3,15 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
typedef struct TRKBuffer {
|
||||
u8 _00[4];
|
||||
u32 _04;
|
||||
s32 _08;
|
||||
u32 _0C;
|
||||
u32 _10;
|
||||
u8 m_buffer[0x87C];
|
||||
} TRKBuffer;
|
||||
|
||||
s32 TRKSetBufferPosition(TRKBuffer*, u32);
|
||||
|
||||
#endif /* METROTRK_PORTABLE_MSGBUF_H */
|
||||
|
||||
@@ -2,5 +2,23 @@
|
||||
#define METROTRK_PORTABLE_MSGHNDLR_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "TRK_MINNOW_DOLPHIN/MetroTRK/Portable/msgbuf.h"
|
||||
|
||||
void SetTRKConnected(BOOL);
|
||||
BOOL GetTRKConnected(void);
|
||||
s32 TRKDoSetOption(TRKBuffer*);
|
||||
s32 TRKDoStop(TRKBuffer*);
|
||||
s32 TRKDoStep(TRKBuffer*);
|
||||
s32 TRKDoContinue(TRKBuffer*);
|
||||
s32 TRKDoWriteRegisters(TRKBuffer*);
|
||||
s32 TRKDoReadRegisters(TRKBuffer*);
|
||||
s32 TRKDoWriteMemory(TRKBuffer*);
|
||||
s32 TRKDoReadMemory(TRKBuffer*);
|
||||
s32 TRKDoSupportMask(TRKBuffer*);
|
||||
s32 TRKDoVersions(TRKBuffer*);
|
||||
s32 TRKDoOverride(TRKBuffer*);
|
||||
s32 TRKDoReset(TRKBuffer*);
|
||||
s32 TRKDoDisconnect(TRKBuffer*);
|
||||
s32 TRKDoConnect(TRKBuffer*);
|
||||
|
||||
#endif /* METROTRK_PORTABLE_MSGHNDLR_H */
|
||||
|
||||
@@ -3,4 +3,8 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
void TRKNubWelcome(void);
|
||||
s32 TRKTerminateNub(void);
|
||||
s32 TRKInitializeNub(void);
|
||||
|
||||
#endif /* METROTRK_PORTABLE_NUBINIT_H */
|
||||
|
||||
@@ -3,4 +3,8 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
void UnreserveEXI2Port();
|
||||
void ReserveEXI2Port();
|
||||
s32 TRKWriteUARTN(const void*, u32);
|
||||
|
||||
#endif /* OS_DOLPHIN_DOLPHIN_TRK_GLUE_H */
|
||||
|
||||
@@ -3,4 +3,7 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
void TRKSwapAndGo();
|
||||
void TRKTargetSetStopped(s32);
|
||||
|
||||
#endif /* PPC_GENERIC_TARGIMPL_H */
|
||||
|
||||
@@ -3,4 +3,6 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
void MWTRACE(u8, char*, ...);
|
||||
|
||||
#endif /* UTILS_COMMON_MWTRACE_H */
|
||||
|
||||
Reference in New Issue
Block a user