Cirrus: Give the Commodore SL386SX/25 its own 5402 device and make the original onboard device not load a VBIOS. Tandy 1000 RSX now loads the correct VBIOS from the system ROM.

This commit is contained in:
win2kgamer
2026-02-15 00:26:59 -06:00
parent 6a62568e97
commit eb20365cec
4 changed files with 19 additions and 2 deletions

View File

@@ -4284,6 +4284,8 @@ gd54xx_init(const device_t *info)
case CIRRUS_ID_CLGD5402:
if (info->local & 0x200)
romfn = NULL;
else if (info->local & 0x100)
romfn = BIOS_GD5402_ONBOARD_PATH;
else
romfn = BIOS_GD5402_PATH;
@@ -5032,6 +5034,20 @@ const device_t gd5402_onboard_device = {
.config = NULL,
};
const device_t gd5402_onboard_commodore_device = {
.name = "Cirrus Logic GD5402 (ISA) (ACUMOS AVGA2) (On-Board) (Commodore)",
.internal_name = "cl_gd5402_onboard_commodore",
.flags = DEVICE_ISA16,
.local = CIRRUS_ID_CLGD5402 | 0x100,
.init = gd54xx_init,
.close = gd54xx_close,
.reset = gd54xx_reset,
.available = NULL,
.speed_changed = gd54xx_speed_changed,
.force_redraw = gd54xx_force_redraw,
.config = NULL,
};
const device_t gd5420_isa_device = {
.name = "Cirrus Logic GD5420 (ISA)",
.internal_name = "cl_gd5420_isa",