mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
Add the Tandy Sensation! 1 (25-1650) machine
This commit is contained in:
@@ -703,6 +703,7 @@ extern int machine_at_d824_init(const machine_t *);
|
||||
|
||||
/* VLSI 82C486 */
|
||||
extern int machine_at_pcs44c_init(const machine_t *);
|
||||
extern int machine_at_sensation1_init(const machine_t *);
|
||||
extern int machine_at_tuliptc38_init(const machine_t *);
|
||||
|
||||
/* ZyMOS Poach */
|
||||
|
||||
@@ -245,6 +245,7 @@ extern const device_t soundman_device;
|
||||
/* Tandy PSSJ */
|
||||
extern const device_t pssj_device;
|
||||
extern const device_t pssj_isa_device;
|
||||
extern const device_t pssj_1e0_device;
|
||||
|
||||
/* Tandy PSG */
|
||||
extern const device_t tndy_device;
|
||||
|
||||
@@ -375,6 +375,33 @@ machine_at_pcs44c_init(const machine_t *model)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
machine_at_sensation1_init(const machine_t *model)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret = bios_load_linear("roms/machines/sensation1/P1033PCD_01.10.01_11-11-92_E687_Sensation_1_BIOS.bin",
|
||||
0x000e0000, 131072, 0);
|
||||
|
||||
if (bios_only || !ret)
|
||||
return ret;
|
||||
|
||||
machine_at_common_ide_init(model);
|
||||
|
||||
device_add(&vl82c486_device);
|
||||
device_add(&vl82c113_device);
|
||||
|
||||
device_add(&pssj_1e0_device);
|
||||
|
||||
if (fdc_current[0] == FDC_INTERNAL)
|
||||
device_add(&fdc_at_nsc_dp8473_device);
|
||||
|
||||
//if (gfxcard[0] == VID_INTERNAL)
|
||||
// device_add(machine_get_vid_device(machine));
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
machine_at_tuliptc38_init(const machine_t *model)
|
||||
{
|
||||
|
||||
@@ -7785,6 +7785,50 @@ const machine_t machines[] = {
|
||||
.net_device = NULL
|
||||
},
|
||||
/* Has a VLSI VL82C113A SCAMP Combination I/O which holds the KBC. */
|
||||
{
|
||||
.name = "[VLSI 82C486] Tandy Sensation",
|
||||
.internal_name = "sensation1",
|
||||
.type = MACHINE_TYPE_486,
|
||||
.chipset = MACHINE_CHIPSET_VLSI_VL82C486,
|
||||
.init = machine_at_sensation1_init,
|
||||
.p1_handler = machine_generic_p1_handler,
|
||||
.gpio_handler = NULL,
|
||||
.available_flag = MACHINE_AVAILABLE,
|
||||
.gpio_acpi_handler = NULL,
|
||||
.cpu = {
|
||||
.package = CPU_PKG_SOCKET1,
|
||||
.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_IDE | MACHINE_APM,
|
||||
.ram = {
|
||||
.min = 2048,
|
||||
.max = 65536,
|
||||
.step = 2048
|
||||
},
|
||||
.nvrmask = 127,
|
||||
.jumpered_ecp_dma = 0,
|
||||
.default_jumpered_ecp_dma = -1,
|
||||
.kbc_device = NULL,
|
||||
.kbc_params = 0x00000000,
|
||||
.kbc_p1 = 0x000004f0,
|
||||
.gpio = 0xffffffff,
|
||||
.gpio_acpi = 0xffffffff,
|
||||
.device = NULL,
|
||||
.kbd_device = NULL,
|
||||
.fdc_device = NULL,
|
||||
.sio_device = NULL,
|
||||
.vid_device = NULL,
|
||||
.snd_device = NULL,
|
||||
.net_device = NULL
|
||||
},
|
||||
/* Has a VLSI VL82C113A SCAMP Combination I/O which holds the KBC. */
|
||||
{
|
||||
.name = "[VLSI 82C486] Tulip 486 DC/DT",
|
||||
.internal_name = "tuliptc38",
|
||||
|
||||
@@ -136,6 +136,8 @@ vl82c113_init(UNUSED(const device_t *info))
|
||||
|
||||
if (machines[machine].init == machine_at_martin_init)
|
||||
dev->nvr = device_add(&martin_nvr_device);
|
||||
else if (machines[machine].init == machine_at_sensation1_init)
|
||||
dev->nvr = device_add(&at_nvr_device);
|
||||
else
|
||||
dev->nvr = device_add(&amstrad_megapc_nvr_device);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user