Added the Tulip TC-38.
This commit is contained in:
@@ -548,6 +548,7 @@ extern int machine_at_exp4349_init(const machine_t *);
|
|||||||
|
|
||||||
extern int machine_at_vect486vl_init(const machine_t *);
|
extern int machine_at_vect486vl_init(const machine_t *);
|
||||||
extern int machine_at_d824_init(const machine_t *);
|
extern int machine_at_d824_init(const machine_t *);
|
||||||
|
extern int machine_at_tuliptc38_init(const machine_t *);
|
||||||
extern int machine_at_martin_init(const machine_t *);
|
extern int machine_at_martin_init(const machine_t *);
|
||||||
|
|
||||||
extern int machine_at_403tg_init(const machine_t *);
|
extern int machine_at_403tg_init(const machine_t *);
|
||||||
|
|||||||
@@ -413,7 +413,7 @@ machine_at_vect486vl_init(const machine_t *model) // has HDC problems
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if (gfxcard[0] == VID_INTERNAL)
|
if (gfxcard[0] == VID_INTERNAL)
|
||||||
device_add(&gd5428_onboard_device);
|
device_add(machine_get_vid_device(machine));
|
||||||
|
|
||||||
machine_at_common_init_ex(model, 2);
|
machine_at_common_init_ex(model, 2);
|
||||||
|
|
||||||
@@ -439,7 +439,7 @@ machine_at_d824_init(const machine_t *model)
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if (gfxcard[0] == VID_INTERNAL)
|
if (gfxcard[0] == VID_INTERNAL)
|
||||||
device_add(&gd5428_onboard_device);
|
device_add(machine_get_vid_device(machine));
|
||||||
|
|
||||||
machine_at_common_init_ex(model, 2);
|
machine_at_common_init_ex(model, 2);
|
||||||
|
|
||||||
@@ -457,6 +457,41 @@ machine_at_d824_init(const machine_t *model)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
machine_at_tuliptc38_init(const machine_t *model)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear("roms/machines/tuliptc38/TULIP1.BIN",
|
||||||
|
0x000f0000, 262144, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_common_init_ex(model, 2);
|
||||||
|
|
||||||
|
device_add(&vl82c486_device);
|
||||||
|
device_add(&tulip_jumper_device);
|
||||||
|
|
||||||
|
device_add(&vl82c113_device);
|
||||||
|
|
||||||
|
device_add(&ide_isa_device);
|
||||||
|
device_add(&fdc37c651_ide_device);
|
||||||
|
|
||||||
|
if (gfxcard[0] == VID_INTERNAL) {
|
||||||
|
bios_load_aux_linear("roms/machines/tuliptc38/VBIOS.BIN",
|
||||||
|
0x000c0000, 32768, 0);
|
||||||
|
|
||||||
|
device_add(machine_get_vid_device(machine));
|
||||||
|
} else for (uint16_t i = 0; i < 32768; i++)
|
||||||
|
rom[i] = mem_readb_phys(0x000c0000 + i);
|
||||||
|
|
||||||
|
mem_mapping_set_addr(&bios_mapping, 0x0c0000, 0x40000);
|
||||||
|
mem_mapping_set_exec(&bios_mapping, rom);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_martin_init(const machine_t *model)
|
machine_at_martin_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6646,6 +6646,46 @@ const machine_t machines[] = {
|
|||||||
.snd_device = NULL,
|
.snd_device = NULL,
|
||||||
.net_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",
|
||||||
|
.type = MACHINE_TYPE_486,
|
||||||
|
.chipset = MACHINE_CHIPSET_VLSI_VL82C486,
|
||||||
|
.init = machine_at_tuliptc38_init,
|
||||||
|
.p1_handler = NULL,
|
||||||
|
.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_AT,
|
||||||
|
.flags = MACHINE_IDE | MACHINE_VIDEO | MACHINE_APM,
|
||||||
|
.ram = {
|
||||||
|
.min = 2048,
|
||||||
|
.max = 32768,
|
||||||
|
.step = 2048
|
||||||
|
},
|
||||||
|
.nvrmask = 127,
|
||||||
|
.kbc_device = NULL,
|
||||||
|
.kbc_p1 = 0xff,
|
||||||
|
.gpio = 0xffffffff,
|
||||||
|
.gpio_acpi = 0xffffffff,
|
||||||
|
.device = NULL,
|
||||||
|
.fdc_device = NULL,
|
||||||
|
.sio_device = NULL, /*Has SIO (sorta): VLSI VL82C113A SCAMP Combination I/O*/
|
||||||
|
.vid_device = &gd5426_onboard_device,
|
||||||
|
.snd_device = NULL,
|
||||||
|
.net_device = NULL
|
||||||
|
},
|
||||||
/* Has IBM PS/2 Type 1 KBC firmware. */
|
/* Has IBM PS/2 Type 1 KBC firmware. */
|
||||||
{
|
{
|
||||||
.name = "[MCA] IBM PS/2 model 70 (type 4)",
|
.name = "[MCA] IBM PS/2 model 70 (type 4)",
|
||||||
|
|||||||
Reference in New Issue
Block a user