From 1cf73a8aa472dd8c46e09379d942eeba0aa6366b Mon Sep 17 00:00:00 2001 From: "Adrian.Conlon" Date: Sun, 20 Aug 2017 23:01:49 +0100 Subject: [PATCH] Correct test runner, to ensure LR35902 tests work correctly. Signed-off-by: Adrian.Conlon --- LR35902/fusetest_LR35902/FuseTestRunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LR35902/fusetest_LR35902/FuseTestRunner.cpp b/LR35902/fusetest_LR35902/FuseTestRunner.cpp index c338452..1dbed2a 100644 --- a/LR35902/fusetest_LR35902/FuseTestRunner.cpp +++ b/LR35902/fusetest_LR35902/FuseTestRunner.cpp @@ -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(); }