Add the Acrosser AR-B1476

This commit is contained in:
BurnedPinguin
2023-07-13 13:49:29 +02:00
parent 822e024900
commit 635c00227d
3 changed files with 63 additions and 0 deletions

View File

@@ -525,6 +525,7 @@ extern int machine_at_win486pci_init(const machine_t *);
extern int machine_at_ms4145_init(const machine_t *); extern int machine_at_ms4145_init(const machine_t *);
extern int machine_at_sbc490_init(const machine_t *); extern int machine_at_sbc490_init(const machine_t *);
extern int machine_at_tf486_init(const machine_t *); extern int machine_at_tf486_init(const machine_t *);
extern int machine_at_arb1476_init(const machine_t *);
extern int machine_at_pci400cb_init(const machine_t *); extern int machine_at_pci400cb_init(const machine_t *);
extern int machine_at_g486ip_init(const machine_t *); extern int machine_at_g486ip_init(const machine_t *);

View File

@@ -1613,6 +1613,29 @@ machine_at_tf486_init(const machine_t *model)
return ret; return ret;
} }
int
machine_at_arb1476_init(const machine_t *model)
{
int ret;
ret = bios_load_linear("roms/machines/arb1476/w1476b.v21",
0x000e0000, 131072, 0);
if (bios_only || !ret)
return ret;
machine_at_common_init(model);
pci_init(PCI_CONFIG_TYPE_1);
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
device_add(&ali1489_device);
device_add(&fdc37c669_device);
device_add(&keyboard_ps2_device);
device_add(&sst_flash_29ee010_device);
return ret;
}
int int
machine_at_itoxstar_init(const machine_t *model) machine_at_itoxstar_init(const machine_t *model)
{ {

View File

@@ -6619,6 +6619,45 @@ const machine_t machines[] = {
.snd_device = NULL, .snd_device = NULL,
.net_device = NULL .net_device = NULL
}, },
/* Has an ALi M5042 with phoenix firmware like the ESA TF-486. */
{
.name = "[ALi M1489] Acrosser AR-B1476",
.internal_name = "arb1476",
.type = MACHINE_TYPE_486_S3,
.chipset = MACHINE_CHIPSET_ALI_M1489,
.init = machine_at_arb1476_init,
.pad = 0,
.pad0 = 0,
.pad1 = MACHINE_AVAILABLE,
.pad2 = 0,
.cpu = {
.package = CPU_PKG_SOCKET3,
.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_PS2,
.flags = MACHINE_SUPER_IO | MACHINE_IDE | MACHINE_APM,
.ram = {
.min = 1024,
.max = 32768,
.step = 1024
},
.nvrmask = 255,
.kbc_device = NULL,
.kbc_p1 = 0,
.gpio = 0,
.device = NULL,
.fdc_device = NULL,
.sio_device = NULL,
.vid_device = NULL,
.snd_device = NULL,
.net_device = NULL
},
/* Has IBM PS/2 Type 1 KBC firmware. */ /* Has IBM PS/2 Type 1 KBC firmware. */
{ {
.name = "[OPTi 802G] IBM PC 330 (type 6573)", .name = "[OPTi 802G] IBM PC 330 (type 6573)",