mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-23 00:29:47 +00:00
Correct test runner, to ensure LR35902 tests work correctly.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
8716035396
commit
1cf73a8aa4
@ -8,7 +8,6 @@ Fuse::TestRunner::TestRunner(const Test& test, const ExpectedTestResult& expecte
|
||||
m_cpu(m_bus),
|
||||
m_failed(false),
|
||||
m_unimplemented(false) {
|
||||
m_bus.disableBootRom();
|
||||
m_bus.clear();
|
||||
m_cpu.initialise();
|
||||
}
|
||||
@ -16,6 +15,7 @@ Fuse::TestRunner::TestRunner(const Test& test, const ExpectedTestResult& expecte
|
||||
//
|
||||
|
||||
void Fuse::TestRunner::initialise() {
|
||||
m_bus.writeRegister(EightBit::Bus::BOOT_DISABLE, 1);
|
||||
initialiseRegisters();
|
||||
initialiseMemory();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user