Added the ASUS 386/33-64K (Award 4.00 386DX).

This commit is contained in:
OBattler
2025-05-08 04:52:33 +02:00
parent d6338e42cc
commit 7301aaad00
3 changed files with 62 additions and 0 deletions

View File

@@ -514,6 +514,7 @@ extern int machine_at_ga486l_init(const machine_t *);
extern int machine_at_cougar_init(const machine_t *); extern int machine_at_cougar_init(const machine_t *);
extern int machine_at_acc386_init(const machine_t *); extern int machine_at_acc386_init(const machine_t *);
extern int machine_at_asus386_3364k_init(const machine_t *);
extern int machine_at_asus386_init(const machine_t *); extern int machine_at_asus386_init(const machine_t *);
extern int machine_at_ecs386_init(const machine_t *); extern int machine_at_ecs386_init(const machine_t *);
extern int machine_at_spc6000a_init(const machine_t *); extern int machine_at_spc6000a_init(const machine_t *);

View File

@@ -72,6 +72,27 @@ machine_at_acc386_init(const machine_t *model)
return ret; return ret;
} }
int
machine_at_asus386_3364k_init(const machine_t *model)
{
int ret;
ret = bios_load_linear("roms/machines/asus386_3364k/am27c512dip28-64b53c26be3d8160533563.bin",
0x000f0000, 65536, 0);
if (bios_only || !ret)
return ret;
machine_at_common_init(model);
device_add(&rabbit_device);
device_add(&keyboard_at_ami_device);
if (fdc_current[0] == FDC_INTERNAL)
device_add(&fdc_at_device);
return ret;
}
int int
machine_at_asus386_init(const machine_t *model) machine_at_asus386_init(const machine_t *model)
{ {

View File

@@ -5632,6 +5632,46 @@ const machine_t machines[] = {
.snd_device = NULL, .snd_device = NULL,
.net_device = NULL .net_device = NULL
}, },
/* Has Award KBC firmware. */
{
.name = "[SiS 310] ASUS 386/33-64K",
.internal_name = "asus386_3364k",
.type = MACHINE_TYPE_386DX,
.chipset = MACHINE_CHIPSET_SIS_310,
.init = machine_at_asus386_3364k_init,
.p1_handler = NULL,
.gpio_handler = NULL,
.available_flag = MACHINE_AVAILABLE,
.gpio_acpi_handler = NULL,
.cpu = {
.package = CPU_PKG_386DX,
.block = CPU_BLOCK_NONE,
.min_bus = 0,
.max_bus = 0,
.min_voltage = 0,
.max_voltage = 0,
.min_multi = 0,
.max_multi = 0
},
.bus_flags = MACHINE_AT,
.flags = MACHINE_APM,
.ram = {
.min = 1024,
.max = 16384,
.step = 1024
},
.nvrmask = 127,
.kbc_device = NULL,
.kbc_p1 = 0xff,
.gpio = 0xffffffff,
.gpio_acpi = 0xffffffff,
.device = NULL,
.fdc_device = NULL,
.sio_device = NULL,
.vid_device = NULL,
.snd_device = NULL,
.net_device = NULL
},
/* Has AMIKey F KBC firmware. */ /* Has AMIKey F KBC firmware. */
{ {
.name = "[SiS 310] ASUS ISA-386C", .name = "[SiS 310] ASUS ISA-386C",