mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-28 01:29:18 +00:00
26 lines
589 B
C++
26 lines
589 B
C++
#include "stdafx.h"
|
|
#include "TestRunner.h"
|
|
|
|
TestRunner::TestRunner() {}
|
|
|
|
EightBit::MemoryMapping TestRunner::mapping(const uint16_t address) noexcept {
|
|
return { RAM(), 0x0000, 0xffff, EightBit::MemoryMapping::AccessLevel::ReadWrite };
|
|
}
|
|
|
|
void TestRunner::raisePOWER() noexcept {
|
|
EightBit::Bus::raisePOWER();
|
|
CPU().raisePOWER();
|
|
CPU().raiseRESET();
|
|
CPU().raiseINT();
|
|
CPU().raiseNMI();
|
|
CPU().raiseSO();
|
|
CPU().raiseRDY();
|
|
}
|
|
|
|
void TestRunner::lowerPOWER() noexcept {
|
|
CPU().lowerPOWER();
|
|
EightBit::Bus::lowerPOWER();
|
|
}
|
|
|
|
void TestRunner::initialise() {}
|