Added various Dell machines
This commit is contained in:
@@ -302,6 +302,10 @@ extern int machine_at_ambradp60_init(const machine_t *);
|
|||||||
#if defined(DEV_BRANCH) && defined(USE_VPP60)
|
#if defined(DEV_BRANCH) && defined(USE_VPP60)
|
||||||
extern int machine_at_valuepointp60_init(const machine_t *);
|
extern int machine_at_valuepointp60_init(const machine_t *);
|
||||||
#endif
|
#endif
|
||||||
|
extern int machine_at_opti560l_init(const machine_t *);
|
||||||
|
#if defined(DEV_BRANCH) && defined(USE_DELLXP60)
|
||||||
|
extern int machine_at_dellxp60_init(const machine_t *);
|
||||||
|
#endif
|
||||||
extern int machine_at_p5mp3_init(const machine_t *);
|
extern int machine_at_p5mp3_init(const machine_t *);
|
||||||
extern int machine_at_586mc1_init(const machine_t *);
|
extern int machine_at_586mc1_init(const machine_t *);
|
||||||
|
|
||||||
|
@@ -39,6 +39,7 @@
|
|||||||
#include <86box/sio.h>
|
#include <86box/sio.h>
|
||||||
#include <86box/video.h>
|
#include <86box/video.h>
|
||||||
#include <86box/machine.h>
|
#include <86box/machine.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_excalibur_init(const machine_t *model)
|
machine_at_excalibur_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
@@ -159,6 +160,67 @@ machine_at_valuepointp60_init(const machine_t *model)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
|
machine_at_opti560l_init(const machine_t *model)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear(L"roms/machines/opti560l/560L_A06.ROM",
|
||||||
|
0x000e0000, 131072, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_common_init(model);
|
||||||
|
device_add(&ide_pci_2ch_device);
|
||||||
|
|
||||||
|
pci_init(PCI_CONFIG_TYPE_2 | PCI_NO_IRQ_STEERING);
|
||||||
|
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
||||||
|
pci_register_slot(0x01, PCI_CARD_SPECIAL, 0, 0, 0, 0);
|
||||||
|
pci_register_slot(0x06, PCI_CARD_NORMAL, 3, 2, 1, 4);
|
||||||
|
pci_register_slot(0x0E, PCI_CARD_NORMAL, 2, 1, 3, 4);
|
||||||
|
pci_register_slot(0x0C, PCI_CARD_NORMAL, 1, 3, 2, 4);
|
||||||
|
pci_register_slot(0x02, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
|
||||||
|
device_add(&i430lx_device);
|
||||||
|
device_add(&keyboard_ps2_intel_ami_pci_device);
|
||||||
|
device_add(&sio_device);
|
||||||
|
device_add(&fdc37c665_device);
|
||||||
|
device_add(&intel_flash_bxt_ami_device);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
#if defined(DEV_BRANCH) && defined(USE_DELLXP60)
|
||||||
|
int
|
||||||
|
machine_at_dellxp60_init(const machine_t *model) // Doesn't like the regular SMC 665
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear(L"roms/machines/dellxp60/XP60-A08.ROM",
|
||||||
|
0x000e0000, 131072, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_common_init(model);
|
||||||
|
device_add(&ide_pci_2ch_device);
|
||||||
|
|
||||||
|
pci_init(PCI_CONFIG_TYPE_2 | PCI_NO_IRQ_STEERING);
|
||||||
|
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
||||||
|
pci_register_slot(0x01, PCI_CARD_SPECIAL, 0, 0, 0, 0);
|
||||||
|
pci_register_slot(0x06, PCI_CARD_NORMAL, 3, 2, 1, 4);
|
||||||
|
pci_register_slot(0x0E, PCI_CARD_NORMAL, 2, 1, 3, 4);
|
||||||
|
pci_register_slot(0x0C, PCI_CARD_NORMAL, 1, 3, 2, 4);
|
||||||
|
pci_register_slot(0x02, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
|
||||||
|
device_add(&i430lx_device);
|
||||||
|
device_add(&keyboard_ps2_intel_ami_pci_device);
|
||||||
|
device_add(&sio_device);
|
||||||
|
device_add(&fdc37c665_device);
|
||||||
|
device_add(&intel_flash_bxt_ami_device);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_p5mp3_init(const machine_t *model)
|
machine_at_p5mp3_init(const machine_t *model)
|
||||||
@@ -190,7 +252,6 @@ machine_at_p5mp3_init(const machine_t *model)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_586mc1_init(const machine_t *model)
|
machine_at_586mc1_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
@@ -236,7 +236,11 @@ const machine_t machines[] = {
|
|||||||
{ "[i430LX] IBM PS/ValuePoint P60", "valuepointp60", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 128, 2, 127, machine_at_valuepointp60_init, NULL },
|
{ "[i430LX] IBM PS/ValuePoint P60", "valuepointp60", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 128, 2, 127, machine_at_valuepointp60_init, NULL },
|
||||||
#endif
|
#endif
|
||||||
{ "[i430LX] Intel Premiere/PCI", "revenge", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 128, 2, 127, machine_at_batman_init, NULL },
|
{ "[i430LX] Intel Premiere/PCI", "revenge", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 128, 2, 127, machine_at_batman_init, NULL },
|
||||||
{ "[i430LX] ASUS P/I-P5MP3", "p5mp3", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 192, 2, 127, machine_at_p5mp3_init, NULL },
|
{ "[i430LX] Dell OptiPlex 560L", "opti560l", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 128, 2, 127, machine_at_opti560l_init, NULL },
|
||||||
|
#if defined(DEV_BRANCH) && defined(USE_VPP60)
|
||||||
|
{ "[i430LX] Dell Dimension XPS P60", "dellxp60", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 128, 2, 127, machine_at_dellxp60_init, NULL },
|
||||||
|
#endif
|
||||||
|
{ "[i430LX] ASUS P/I-P5MP3", "p5mp3", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 192, 2, 127, machine_at_p5mp3_init, NULL },
|
||||||
{ "[i430LX] Micro Star 586MC1", "586mc1", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 128, 2, 127, machine_at_586mc1_init, NULL },
|
{ "[i430LX] Micro Star 586MC1", "586mc1", MACHINE_TYPE_SOCKET4, {{"Intel", cpus_Pentium5V}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 2, 128, 2, 127, machine_at_586mc1_init, NULL },
|
||||||
|
|
||||||
/* Socket 5 machines */
|
/* Socket 5 machines */
|
||||||
|
@@ -87,6 +87,9 @@ ifeq ($(DEV_BUILD), y)
|
|||||||
ifndef GUSMAX
|
ifndef GUSMAX
|
||||||
GUSMAX := y
|
GUSMAX := y
|
||||||
endif
|
endif
|
||||||
|
ifndef DELLXP60
|
||||||
|
DELLXP60 := y
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
ifndef DEBUG
|
ifndef DEBUG
|
||||||
DEBUG := n
|
DEBUG := n
|
||||||
@@ -148,6 +151,9 @@ else
|
|||||||
ifndef GUSMAX
|
ifndef GUSMAX
|
||||||
GUSMAX := n
|
GUSMAX := n
|
||||||
endif
|
endif
|
||||||
|
ifndef DELLXP60
|
||||||
|
DELLXP60 := n
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Defaults for several build options (possibly defined in a chained file.)
|
# Defaults for several build options (possibly defined in a chained file.)
|
||||||
@@ -530,6 +536,10 @@ ifeq ($(GUSMAX), y)
|
|||||||
OPTS += -DUSE_GUSMAX
|
OPTS += -DUSE_GUSMAX
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(DELLXP60), y)
|
||||||
|
OPTS += -DUSE_DELLXP60
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user