mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-02-16 17:35:39 +00:00
Debugger compilation fixed: CBus -> IBus
This commit is contained in:
parent
2524f2e837
commit
ef87093824
|
@ -158,7 +158,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
// CBus methods
|
||||
// IBus methods
|
||||
|
||||
UINT8 CMusashi68KDebug::Read8(UINT32 addr)
|
||||
{
|
||||
|
|
|
@ -39,7 +39,7 @@ using namespace Debugger;
|
|||
/*
|
||||
* CCPUDebug implementation for the Musashi Motorola 68000 emulator.
|
||||
*/
|
||||
class CMusashi68KDebug : public C68KDebug, public ::CBus
|
||||
class CMusashi68KDebug : public C68KDebug, public ::IBus
|
||||
{
|
||||
private:
|
||||
static UINT32 GetReg(CCPUDebug *cpu, unsigned id);
|
||||
|
@ -51,7 +51,7 @@ using namespace Debugger;
|
|||
|
||||
M68KCtx m_savedCtx;
|
||||
|
||||
::CBus *m_bus;
|
||||
::IBus *m_bus;
|
||||
|
||||
void SetM68KContext();
|
||||
|
||||
|
@ -85,7 +85,7 @@ using namespace Debugger;
|
|||
|
||||
bool WriteMem(UINT32 addr, unsigned dataSize, UINT64 data);
|
||||
|
||||
// CBus methods
|
||||
// IBus methods
|
||||
|
||||
UINT8 Read8(UINT32 addr);
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ namespace Debugger
|
|||
::ppc_attach_debugger(this);
|
||||
}
|
||||
|
||||
::CBus *CPPCDebug::AttachBus(::CBus *bus)
|
||||
::IBus *CPPCDebug::AttachBus(::IBus *bus)
|
||||
{
|
||||
m_bus = bus;
|
||||
return this;
|
||||
|
@ -186,9 +186,9 @@ namespace Debugger
|
|||
::ppc_detach_debugger();
|
||||
}
|
||||
|
||||
::CBus *CPPCDebug::DetachBus()
|
||||
::IBus *CPPCDebug::DetachBus()
|
||||
{
|
||||
::CBus *bus = m_bus;
|
||||
::IBus *bus = m_bus;
|
||||
m_bus = NULL;
|
||||
return bus;
|
||||
}
|
||||
|
@ -496,7 +496,7 @@ namespace Debugger
|
|||
return true;
|
||||
}
|
||||
|
||||
// CBus methods
|
||||
// IBus methods
|
||||
|
||||
UINT8 CPPCDebug::Read8(UINT32 addr)
|
||||
{
|
||||
|
|
|
@ -40,14 +40,14 @@ namespace Debugger
|
|||
/*
|
||||
* CCPUDebug implementation for the PowerPC PPC603 emulator.
|
||||
*/
|
||||
class CPPCDebug : public CCPUDebug, public ::CBus
|
||||
class CPPCDebug : public CCPUDebug, public ::IBus
|
||||
{
|
||||
private:
|
||||
char m_crNames[32][5];
|
||||
char m_gprNames[32][4];
|
||||
char m_fprNames[32][4];
|
||||
|
||||
::CBus *m_bus;
|
||||
::IBus *m_bus;
|
||||
|
||||
UINT8 m_irqState;
|
||||
|
||||
|
@ -60,11 +60,11 @@ namespace Debugger
|
|||
|
||||
void AttachToCPU();
|
||||
|
||||
::CBus *AttachBus(::CBus *bus);
|
||||
::IBus *AttachBus(::IBus *bus);
|
||||
|
||||
void DetachFromCPU();
|
||||
|
||||
::CBus *DetachBus();
|
||||
::IBus *DetachBus();
|
||||
|
||||
void CheckException(UINT16 exCode);
|
||||
|
||||
|
@ -94,7 +94,7 @@ namespace Debugger
|
|||
|
||||
bool GetHandlerAddr(CInterrupt *in, UINT32 &handlerAddr);
|
||||
|
||||
// CBus methods
|
||||
// IBus methods
|
||||
|
||||
UINT8 Read8(UINT32 addr);
|
||||
|
||||
|
|
|
@ -301,7 +301,7 @@ namespace Debugger
|
|||
m_z80->AttachDebugger(this);
|
||||
}
|
||||
|
||||
::CBus *CZ80Debug::AttachBus(::CBus *bus)
|
||||
::IBus *CZ80Debug::AttachBus(::IBus *bus)
|
||||
{
|
||||
m_bus = bus;
|
||||
return this;
|
||||
|
@ -312,9 +312,9 @@ namespace Debugger
|
|||
m_z80->DetachDebugger();
|
||||
}
|
||||
|
||||
::CBus *CZ80Debug::DetachBus()
|
||||
::IBus *CZ80Debug::DetachBus()
|
||||
{
|
||||
::CBus *bus = m_bus;
|
||||
::IBus *bus = m_bus;
|
||||
m_bus = NULL;
|
||||
return bus;
|
||||
}
|
||||
|
@ -695,7 +695,7 @@ namespace Debugger
|
|||
return true;
|
||||
}
|
||||
|
||||
// CBus methods
|
||||
// IBus methods
|
||||
|
||||
UINT8 CZ80Debug::Read8(UINT32 addr)
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace Debugger
|
|||
/*
|
||||
* CCPUDebug implementation for the Zilog Z80 emulator.
|
||||
*/
|
||||
class CZ80Debug : public CCPUDebug, public ::CBus
|
||||
class CZ80Debug : public CCPUDebug, public ::IBus
|
||||
{
|
||||
private:
|
||||
static UINT8 ReadReg8(CCPUDebug *cpu, unsigned reg8);
|
||||
|
@ -50,7 +50,7 @@ namespace Debugger
|
|||
static bool WriteReg16(CCPUDebug *cpu, unsigned reg16, UINT16 value);
|
||||
|
||||
CZ80 *m_z80;
|
||||
::CBus *m_bus;
|
||||
::IBus *m_bus;
|
||||
|
||||
char m_vecIds[256][5];
|
||||
char m_vecNames[256][22];
|
||||
|
@ -65,11 +65,11 @@ namespace Debugger
|
|||
|
||||
void AttachToCPU();
|
||||
|
||||
::CBus *AttachBus(::CBus *bus);
|
||||
::IBus *AttachBus(::IBus *bus);
|
||||
|
||||
void DetachFromCPU();
|
||||
|
||||
::CBus *DetachBus();
|
||||
::IBus *DetachBus();
|
||||
|
||||
UINT32 GetResetAddr();
|
||||
|
||||
|
@ -103,7 +103,7 @@ namespace Debugger
|
|||
|
||||
bool GetHandlerAddr(CInterrupt *in, UINT32 &handlerAddr);
|
||||
|
||||
// CBus methods
|
||||
// IBus methods
|
||||
|
||||
UINT8 Read8(UINT32 addr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue