1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Slightly reduces logging.

Hopefully soon I can tear the whole lot out.
This commit is contained in:
Thomas Harte 2020-11-16 21:46:19 -05:00
parent e4c5bfdd5c
commit 6dfad6a44b

View File

@ -631,7 +631,7 @@ class ConcreteMachine:
// log |= (address == 0x48) && (*value == 0x02);
// log |= (operation == CPU::WDC65816::BusOperation::ReadOpcode) && (address >= 0x800) && (address < 0x900);
// log &= !((operation == CPU::WDC65816::BusOperation::ReadOpcode) && (address == 0x0002));
if(log || address == 0x48 || address == 0x49) {
if(log) {
printf("%06x %s %02x", address, isReadOperation(operation) ? "->" : "<-", *value);
if(operation == CPU::WDC65816::BusOperation::ReadOpcode) {
printf(" a:%04x x:%04x y:%04x s:%04x e:%d p:%02x db:%02x pb:%02x d:%04x [tot:%llu]\n",