mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-04-26 21:18:36 +00:00
use available helpers
This commit is contained in:
1 parent
3fc3b95bbd
commit
199232dd53
1 file changed
+4
-4
@@ -169,10 +169,10 @@ void checker_t::initialise() {
|
||||
auto& bus = runner();
|
||||
auto& cpu = bus.CPU();
|
||||
|
||||
const std::string read = EightBit::Device::lowered(cpu.RD()) ? "r" : "-";
|
||||
const std::string write = EightBit::Device::lowered(cpu.WR()) ? "w" : "-";
|
||||
const std::string memory = EightBit::Device::lowered(cpu.MREQ()) ? "m" : "-";
|
||||
const std::string io = EightBit::Device::lowered(cpu.IORQ()) ? "i" : "-";
|
||||
const std::string read = cpu.requestingRead() ? "r" : "-";
|
||||
const std::string write = cpu.requestingWrite() ? "w" : "-";
|
||||
const std::string memory = cpu.requestingMemory() ? "m" : "-";
|
||||
const std::string io = cpu.requestingIO() ? "i" : "-";
|
||||
|
||||
addActualCycle(bus.ADDRESS(), bus.DATA(), read + write + memory + io);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user