Finishing to clean tests and adding the start of the bus logger

This commit is contained in:
Anonymus Raccoon
2020-03-24 01:53:45 +01:00
parent 09cd825bed
commit 95f17c06a8
47 changed files with 2421 additions and 2176 deletions

View File

@@ -9,7 +9,7 @@
namespace ComSquare::Memory
{
RectangleShadow::RectangleShadow(std::shared_ptr<IRectangleMemory> initial, uint8_t startBank, uint8_t endBank, uint16_t startPage, uint16_t endPage)
RectangleShadow::RectangleShadow(std::shared_ptr<ARectangleMemory> initial, uint8_t startBank, uint8_t endBank, uint16_t startPage, uint16_t endPage)
: _initial(std::move(initial))
{
this->setMemoryRegion(startBank, endBank, startPage, endPage);
@@ -38,8 +38,13 @@ namespace ComSquare::Memory
return true;
}
std::shared_ptr<IMemory> RectangleShadow::getMirrored()
std::shared_ptr<AMemory> RectangleShadow::getMirrored()
{
return this->_initial;
}
std::string RectangleShadow::getName()
{
return this->_initial->getName();
}
}