project64/Source/Project64-rsp-core/cpu/RSPCpu.h

29 lines
604 B
C
Raw Normal View History

#include "RSPOpcode.h"
#include "RspTypes.h"
enum RSPCpuType
{
InterpreterCPU = 0,
RecompilerCPU = 1,
};
2016-01-27 09:11:59 +00:00
extern UDWORD EleSpec[16], Indx[16];
2016-01-27 09:11:59 +00:00
typedef void (*p_func)(void);
2016-01-27 09:11:59 +00:00
extern p_func RSP_Opcode[64];
extern p_func RSP_RegImm[32];
extern p_func RSP_Special[64];
extern p_func RSP_Cop0[32];
extern p_func RSP_Cop2[32];
extern p_func RSP_Vector[64];
extern p_func RSP_Lc2[32];
extern p_func RSP_Sc2[32];
extern uint32_t *PrgCount, RSP_Running;
extern RSPOpcode RSPOpC;
2016-01-27 09:11:59 +00:00
void SetCPU(RSPCpuType core);
void Build_RSP(void);
extern uint32_t Mfc0Count, SemaphoreExit;
extern RSPCpuType g_CPUCore;