Add the A-Trend ATC-1762.

This commit is contained in:
BurnedPinguin
2023-07-22 15:55:49 +02:00
parent 8cec33992e
commit 6fc8e3c83b
3 changed files with 68 additions and 4 deletions

View File

@@ -484,6 +484,7 @@ extern int machine_at_d824_init(const machine_t *);
extern int machine_at_403tg_init(const machine_t *);
extern int machine_at_403tg_d_init(const machine_t *);
extern int machine_at_403tg_d_mr_init(const machine_t *);
extern int machine_at_pb450_init(const machine_t *);
extern int machine_at_pc330_6573_init(const machine_t *);
extern int machine_at_m45xx_init(const machine_t *);
extern int machine_at_mvi486_init(const machine_t *);
@@ -506,6 +507,7 @@ extern int machine_at_greenb_init(const machine_t *);
extern int machine_at_r418_init(const machine_t *);
extern int machine_at_ls486e_init(const machine_t *);
extern int machine_at_4dps_init(const machine_t *);
extern int machine_at_ms4144_init(const machine_t *);
extern int machine_at_4saw2_init(const machine_t *);
extern int machine_at_m4li_init(const machine_t *);
extern int machine_at_alfredo_init(const machine_t *);
@@ -537,7 +539,7 @@ extern int machine_at_pcm9340_init(const machine_t *);
extern int machine_at_pcm5330_init(const machine_t *);
extern int machine_at_ecs486_init(const machine_t *);
extern int machine_at_hot433_init(const machine_t *);
extern int machine_at_hot433a_init(const machine_t *);
extern int machine_at_atc1415_init(const machine_t *);
extern int machine_at_actionpc2600_init(const machine_t *);
extern int machine_at_actiontower8400_init(const machine_t *);
@@ -548,6 +550,7 @@ extern int machine_at_tg486gp_init(const machine_t *);
extern int machine_at_tg486g_init(const machine_t *);
extern int machine_at_ecsal486_init(const machine_t *);
extern int machine_at_ap4100aa_init(const machine_t *);
extern int machine_at_atc1762_init(const machine_t *);
/* m_at_commodore.c */
extern int machine_at_cmdpc_init(const machine_t *);

View File

@@ -1807,7 +1807,7 @@ machine_at_ecs486_init(const machine_t *model)
}
int
machine_at_hot433_init(const machine_t *model)
machine_at_hot433a_init(const machine_t *model)
{
int ret;
@@ -2123,3 +2123,25 @@ machine_at_ap4100aa_init(const machine_t *model)
return ret;
}
int
machine_at_atc1762_init(const machine_t *model)
{
int ret;
ret = bios_load_linear("roms/machines/atc1762/atc1762.bin",
0x000f0000, 65536, 0);
if (bios_only || !ret)
return ret;
machine_at_common_init(model);
device_add(&ali1429g_device);
device_add(&keyboard_ps2_ami_pci_device);
if (fdc_type == FDC_INTERNAL)
device_add(&fdc_at_device);
return ret;
}

View File

@@ -6371,6 +6371,45 @@ const machine_t machines[] = {
.snd_device = NULL,
.net_device = NULL
},
/* JETKey V5.0 */
{
.name = "[ALi M1429G] A-Trend ATC-1762",
.internal_name = "atc1762",
.type = MACHINE_TYPE_486_S3,
.chipset = MACHINE_CHIPSET_ALI_M1429G,
.init = machine_at_atc1762_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_VLB,
.flags = MACHINE_APM,
.ram = {
.min = 1024,
.max = 40960,
.step = 1024
},
.nvrmask = 127,
.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
},
/* 486 machines which utilize the PCI bus */
/* Machine with ALi M1429G chipset and M1435 southbridge */
@@ -7677,10 +7716,10 @@ const machine_t machines[] = {
/* This has a Holtek KBC. */
{
.name = "[UMC 8881] Shuttle HOT-433A",
.internal_name = "hot433",
.internal_name = "hot433a",
.type = MACHINE_TYPE_486_S3,
.chipset = MACHINE_CHIPSET_UMC_UM8881,
.init = machine_at_hot433_init,
.init = machine_at_hot433a_init,
.pad = 0,
.pad0 = 0,
.pad1 = MACHINE_AVAILABLE,