2024-08-01 23:30:38 +00:00
|
|
|
#pragma once
|
|
|
|
#include <Project64-rsp-core/cpu/RSPInterpreterOps.h>
|
|
|
|
#include <Project64-rsp-core/cpu/RspTypes.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
class CRSPSystem
|
|
|
|
{
|
2024-08-07 21:56:15 +00:00
|
|
|
friend class RSPOp;
|
|
|
|
friend class CRSPRecompilerOps;
|
|
|
|
friend void UpdateRSPRegistersScreen(void);
|
|
|
|
|
2024-08-01 23:30:38 +00:00
|
|
|
public:
|
|
|
|
CRSPSystem();
|
|
|
|
|
2024-08-07 21:56:15 +00:00
|
|
|
void Reset();
|
|
|
|
|
2024-08-01 23:30:38 +00:00
|
|
|
uint32_t RunInterpreterCPU(uint32_t Cycles);
|
|
|
|
|
|
|
|
private:
|
2024-08-07 21:56:15 +00:00
|
|
|
CRSPRegisters m_Reg;
|
2024-08-01 23:30:38 +00:00
|
|
|
RSPOp m_OpCodes;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern CRSPSystem RSPSystem;
|