1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 18:55:48 +00:00

Shush logging, momentarily.

This commit is contained in:
Thomas Harte 2024-03-14 10:53:38 -04:00
parent 4987bdfec9
commit 19fa0b8945

View File

@ -526,7 +526,8 @@ struct Memory {
} break; } break;
case Zone::IOControllers: case Zone::IOControllers:
ioc_.write(address, source); // TODO: have I overrestricted the value type for the IOC area?
ioc_.write(address, uint8_t(source));
ioc_write_delegate_.did_write_ioc(); ioc_write_delegate_.did_write_ioc();
return true; return true;
@ -540,7 +541,7 @@ struct Memory {
return true; return true;
case Zone::AddressTranslator: case Zone::AddressTranslator:
printf("Translator write at %08x; replaces %08x\n", address, pages_[address & 0x7f]); // printf("Translator write at %08x; replaces %08x\n", address, pages_[address & 0x7f]);
pages_[address & 0x7f] = address; pages_[address & 0x7f] = address;
map_dirty_ = true; map_dirty_ = true;
break; break;
@ -824,7 +825,7 @@ struct Memory {
break; break;
} }
printf("%08x => physical %d -> logical %d\n", page, (physical >> 15), logical); // printf("%08x => physical %d -> logical %d\n", page, (physical >> 15), logical);
// TODO: consider clashes. // TODO: consider clashes.
// TODO: what if there's less than 4mb present? // TODO: what if there's less than 4mb present?
@ -904,9 +905,9 @@ class ConcreteMachine:
static bool log = false; static bool log = false;
if(executor_.pc() == 0x0380214c) { // if(executor_.pc() == 0x0380214c) {
printf(""); // printf("");
} // }
// log |= (executor_.pc() > 0x02000000 && executor_.pc() < 0x02000078); // log |= (executor_.pc() > 0x02000000 && executor_.pc() < 0x02000078);
// log |= executor_.pc() == 0x03811eb4; // log |= executor_.pc() == 0x03811eb4;
// log |= (executor_.pc() > 0x03801000); // log |= (executor_.pc() > 0x03801000);