Add machine Compaq Presario 7100/7200 Series Machine (486)
This commit is contained in:
@@ -593,6 +593,7 @@ extern int machine_at_pcm5330_init(const machine_t *);
|
|||||||
|
|
||||||
extern int machine_at_ecs486_init(const machine_t *);
|
extern int machine_at_ecs486_init(const machine_t *);
|
||||||
extern int machine_at_hot433a_init(const machine_t *);
|
extern int machine_at_hot433a_init(const machine_t *);
|
||||||
|
extern int machine_at_pl4600c_init(const machine_t *);
|
||||||
extern int machine_at_atc1415_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_actionpc2600_init(const machine_t *);
|
||||||
extern int machine_at_actiontower8400_init(const machine_t *);
|
extern int machine_at_actiontower8400_init(const machine_t *);
|
||||||
|
|||||||
@@ -48,6 +48,7 @@
|
|||||||
#include <86box/hwm.h>
|
#include <86box/hwm.h>
|
||||||
#include <86box/machine.h>
|
#include <86box/machine.h>
|
||||||
#include <86box/plat_unused.h>
|
#include <86box/plat_unused.h>
|
||||||
|
#include <86box/sound.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_acc386_init(const machine_t *model)
|
machine_at_acc386_init(const machine_t *model)
|
||||||
@@ -1962,6 +1963,48 @@ machine_at_hot433a_init(const machine_t *model)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
machine_at_pl4600c_init(const machine_t *model)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear("roms/machines/pl4600c/SST29EE010.BIN",
|
||||||
|
0x000e0000, 131072, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_common_init(model);
|
||||||
|
|
||||||
|
pci_init(PCI_CONFIG_TYPE_1);
|
||||||
|
|
||||||
|
pci_register_slot(0x0C, PCI_CARD_NORMAL, 1, 2, 3, 4); /* Slot 01 */
|
||||||
|
pci_register_slot(0x0D, PCI_CARD_NORMAL, 4, 1, 2, 3); /* Slot 02 */
|
||||||
|
pci_register_slot(0x10, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
||||||
|
pci_register_slot(0x12, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0); /* Onboard */
|
||||||
|
pci_register_slot(0x13, PCI_CARD_VIDEO, 0, 0, 0, 0); /* Onboard */
|
||||||
|
|
||||||
|
|
||||||
|
device_add(&umc_hb4_device);
|
||||||
|
device_add(&umc_8886af_device);
|
||||||
|
device_add(&um8663af_device);
|
||||||
|
device_add(&sst_flash_29ee010_device);
|
||||||
|
device_add(&keyboard_ps2_ami_pci_device);
|
||||||
|
|
||||||
|
if (gfxcard[0] == VID_INTERNAL)
|
||||||
|
device_add(&gd5430_onboard_pci_device);
|
||||||
|
|
||||||
|
if (sound_card_current[0] == SOUND_INTERNAL)
|
||||||
|
device_add(&ess_1688_device);
|
||||||
|
|
||||||
|
if (fdc_current[0] == FDC_INTERNAL){
|
||||||
|
fdd_set_turbo(0, 1);
|
||||||
|
fdd_set_turbo(1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_atc1415_init(const machine_t *model)
|
machine_at_atc1415_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8668,6 +8668,45 @@ const machine_t machines[] = {
|
|||||||
.snd_device = NULL,
|
.snd_device = NULL,
|
||||||
.net_device = NULL
|
.net_device = NULL
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.name = "[UMC 8881] Compaq Presario 7100/7200 Series 486",
|
||||||
|
.internal_name = "pl4600c",
|
||||||
|
.type = MACHINE_TYPE_486_S3,
|
||||||
|
.chipset = MACHINE_CHIPSET_UMC_UM8881,
|
||||||
|
.init = machine_at_pl4600c_init,
|
||||||
|
.p1_handler = NULL,
|
||||||
|
.gpio_handler = NULL,
|
||||||
|
.available_flag = MACHINE_AVAILABLE,
|
||||||
|
.gpio_acpi_handler = NULL,
|
||||||
|
.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_PCI,
|
||||||
|
.flags = MACHINE_IDE_DUAL | MACHINE_VIDEO | MACHINE_SOUND | MACHINE_APM,
|
||||||
|
.ram = {
|
||||||
|
.min = 1024,
|
||||||
|
.max = 65536,
|
||||||
|
.step = 1024
|
||||||
|
},
|
||||||
|
.nvrmask = 255,
|
||||||
|
.kbc_device = NULL,
|
||||||
|
.kbc_p1 = 0xff,
|
||||||
|
.gpio = 0xffffffff,
|
||||||
|
.gpio_acpi = 0xffffffff,
|
||||||
|
.device = NULL,
|
||||||
|
.fdc_device = NULL,
|
||||||
|
.sio_device = NULL,
|
||||||
|
.vid_device = &gd5430_onboard_pci_device,
|
||||||
|
.snd_device = &ess_1688_device,
|
||||||
|
.net_device = NULL
|
||||||
|
},
|
||||||
/* Has a VIA VT82C406 KBC+RTC that likely has identical commands to the VT82C42N. */
|
/* Has a VIA VT82C406 KBC+RTC that likely has identical commands to the VT82C42N. */
|
||||||
{
|
{
|
||||||
.name = "[VIA VT82C496G] DFI G486VPA",
|
.name = "[VIA VT82C496G] DFI G486VPA",
|
||||||
|
|||||||
Reference in New Issue
Block a user