mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 02:18:20 -07:00
Tandy Sensation II: After further research the Tandy 3100 and MMPC series have a different BIOS and some board differences so rename the machine to reflect this
Also add a new Cirrus 5428 device with a fixed 1MB VRAM config for this machine
This commit is contained in:
@@ -387,6 +387,7 @@ extern const device_t gd5426_vlb_device;
|
||||
extern const device_t gd5426_onboard_device;
|
||||
extern const device_t gd5428_isa_device;
|
||||
extern const device_t gd5428_vlb_onboard_device;
|
||||
extern const device_t gd5428_vlb_onboard_tandy_device;
|
||||
extern const device_t gd5428_vlb_device;
|
||||
extern const device_t gd5428_diamond_speedstar_pro_b1_vlb_device;
|
||||
extern const device_t gd5428_boca_isa_device;
|
||||
|
||||
@@ -8670,7 +8670,7 @@ const machine_t machines[] = {
|
||||
},
|
||||
/* Has a VLSI VL82C113A SCAMP Combination I/O which holds the KBC. */
|
||||
{
|
||||
.name = "[VLSI 82C486] Tandy Sensation! II (25-1651)/3100/MMPC",
|
||||
.name = "[VLSI 82C486] Tandy Sensation! II (25-1651)",
|
||||
.internal_name = "sensation2",
|
||||
.type = MACHINE_TYPE_486_S2,
|
||||
.chipset = MACHINE_CHIPSET_VLSI_VL82C486,
|
||||
@@ -8708,7 +8708,7 @@ const machine_t machines[] = {
|
||||
.kbd_device = NULL,
|
||||
.fdc_device = NULL,
|
||||
.sio_device = NULL,
|
||||
.vid_device = &gd5428_onboard_vlb_device,
|
||||
.vid_device = &gd5428_vlb_onboard_tandy_device,
|
||||
.snd_device = NULL,
|
||||
.net_device = NULL
|
||||
},
|
||||
|
||||
@@ -4442,7 +4442,9 @@ gd54xx_init(const device_t *info)
|
||||
gd54xx->vram_size = vram << 10;
|
||||
} else {
|
||||
if (id <= CIRRUS_ID_CLGD5428) {
|
||||
if ((id == CIRRUS_ID_CLGD5426) && (info->local & 0x200))
|
||||
if ((id == CIRRUS_ID_CLGD5428) && (info->local & 0x200) && (info->local & 0x1000))
|
||||
vram = 1024;
|
||||
else if ((id == CIRRUS_ID_CLGD5426) && (info->local & 0x200))
|
||||
vram = 1024;
|
||||
else if (id == CIRRUS_ID_CLGD5401)
|
||||
vram = 256;
|
||||
@@ -5332,6 +5334,20 @@ const device_t gd5428_onboard_vlb_device = {
|
||||
.config = gd542x_config
|
||||
};
|
||||
|
||||
const device_t gd5428_vlb_onboard_tandy_device = {
|
||||
.name = "Cirrus Logic GD5428 (VLB) (On-Board) (Tandy)",
|
||||
.internal_name = "cl_gd5428_vlb_onboard_tandy",
|
||||
.flags = DEVICE_VLB,
|
||||
.local = CIRRUS_ID_CLGD5428 | 0x200 | 0x1000,
|
||||
.init = gd54xx_init,
|
||||
.close = gd54xx_close,
|
||||
.reset = gd54xx_reset,
|
||||
.available = NULL,
|
||||
.speed_changed = gd54xx_speed_changed,
|
||||
.force_redraw = gd54xx_force_redraw,
|
||||
.config = NULL
|
||||
};
|
||||
|
||||
const device_t gd5429_isa_device = {
|
||||
.name = "Cirrus Logic GD5429 (ISA)",
|
||||
.internal_name = "cl_gd5429_isa",
|
||||
|
||||
Reference in New Issue
Block a user