wip! catch writes to >16M memory which is not a part of standard cr16c but is present on some implementations

This commit is contained in:
fridtjof 2025-08-20 01:31:11 +02:00
parent 83b9b646e8
commit 848cef2def

View file

@ -37,6 +37,9 @@ static void virt_init(MachineState* machine)
create_unimplemented_device("icu", 0xFFFC00, 0xFFFFFF - 0xFFFC00); // interrupt controller unit
// present on some CR16C implementations (external RAM?)
create_unimplemented_device("unknown", 0x1000000, 256*MiB - 16*MiB);
if (machine->firmware) {
if (!cr16c_load_firmware(&m_state->cpu, &m_state->flash, machine->firmware)) {
exit(1);