AT NVR: The Micronics Spitfire requires registers 0x33 and 0x34 to be initialized to 0xFF instead of 0x00, fixes #6056.

This commit is contained in:
OBattler
2025-08-26 13:07:41 +02:00
parent 0dd1d14c33
commit 5180646dfd

View File

@@ -1212,6 +1212,10 @@ nvr_at_init(const device_t *info)
nvr_at_inited = 1;
}
/* This is a hack but it is required for the machine to boot properly, no idea why. */
if (nvr->is_new && !strcmp(machine_get_internal_name(), "spitfire"))
nvr->regs[0x33] = nvr->regs[0x34] = 0xff;
return nvr;
}