1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-21 18:37:11 +00:00

Add various caveman debugging comments.

This commit is contained in:
Thomas Harte 2025-04-02 23:28:20 -04:00
parent 88d34012c4
commit 0c88e62815
3 changed files with 6 additions and 0 deletions

View File

@ -250,6 +250,10 @@ public:
pages_[page_for_index(index)] = value;
if(index == 0x00) {
log_.info().append("%02x", value);
if(value == 0x1b) {
printf("");
}
}
}

View File

@ -118,6 +118,7 @@ private:
default:
if(ram_selected()) {
ram_[ram_address()] = value;
printf("RTC: %02x -> %zu\n", value, ram_address());
}
break;
case 0x0a: statusA_ = value; break;

View File

@ -69,6 +69,7 @@ public:
memory_.template access<uint16_t, AccessType::Read>(table_address + 6, table_end)
};
printf("%s [%04x -> %08x]: ", InstructionSet::x86::to_string(segment, InstructionSet::x86::DataSize::Word).c_str(), value, table_address);
const Descriptor incoming(entry);
// switch(segment) {