Added the Ast! Advantage 40xxd.

This commit is contained in:
OBattler
2025-06-10 18:14:44 +02:00
parent d759b44020
commit d3f13cf82b
7 changed files with 120 additions and 1 deletions

View File

@@ -4254,10 +4254,16 @@ gd54xx_init(const device_t *info)
break;
case CIRRUS_ID_CLGD5422:
case CIRRUS_ID_CLGD5424:
romfn = BIOS_GD5422_PATH;
break;
case CIRRUS_ID_CLGD5424:
if (info->local & 0x200)
romfn = /*NULL*/ "roms/machines/advantage40xxd/AST101.09A";
else
romfn = BIOS_GD5422_PATH;
break;
case CIRRUS_ID_CLGD5426:
if (info->local & 0x200)
romfn = NULL;
@@ -5023,6 +5029,20 @@ const device_t gd5424_vlb_device = {
.config = gd542x_config,
};
const device_t gd5424_onboard_device = {
.name = "Cirrus Logic GD5424 (VLB) (On-Board)",
.internal_name = "cl_gd5424_onboard",
.flags = DEVICE_VLB,
.local = CIRRUS_ID_CLGD5424 | 0x200,
.init = gd54xx_init,
.close = gd54xx_close,
.reset = gd54xx_reset,
.available = NULL,
.speed_changed = gd54xx_speed_changed,
.force_redraw = gd54xx_force_redraw,
.config = gd542x_config,
};
const device_t gd5426_isa_device = {
.name = "Cirrus Logic GD5426 (ISA)",
.internal_name = "cl_gd5426_isa",