mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-04 18:46:11 +00:00
Cleaning up all debuggers
This commit is contained in:
@@ -18,6 +18,11 @@ namespace ComSquare::CPU
|
||||
this->RESB();
|
||||
}
|
||||
|
||||
bool CPU::isDebugger()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void CPU::setMemoryBus(std::shared_ptr<Memory::MemoryBus> bus)
|
||||
{
|
||||
this->_bus = std::move(bus);
|
||||
|
||||
@@ -573,6 +573,9 @@ namespace ComSquare::CPU
|
||||
//! @brief Reset interrupt - Called on boot and when the reset button is pressed.
|
||||
virtual void RESB();
|
||||
|
||||
//! @brief Return true if the CPU is overloaded with debugging features.
|
||||
virtual bool isDebugger();
|
||||
|
||||
//! @brief Change the memory bus used by the CPU.
|
||||
void setMemoryBus(std::shared_ptr<Memory::MemoryBus> bus);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user