The TriGem 286M now correctly has IDE;

The TriGem 286M no longer has an internal graphics card - the TriGem Korean VGA card is an ISA card;
Changed the configuration of the AMA-932J's internal OTI-067 to default to 256 kB of memory as that's what the card seems to have.
This commit is contained in:
OBattler
2018-10-09 05:53:09 +02:00
parent b270d8f87f
commit 3b8d5f6b87
4 changed files with 27 additions and 16 deletions

View File

@@ -540,22 +540,12 @@ machine_at_headland_init(const machine_t *model)
}
const device_t *
at_tg286m_get_device(void)
{
return &et4000k_tg286_isa_device;
}
void
machine_at_tg286m_init(const machine_t *model)
{
machine_at_common_init(model);
machine_at_common_ide_init(model);
machine_at_headland_common_init(0);
if (gfxcard == VID_INTERNAL)
device_add(&et4000k_tg286_isa_device);
}

View File

@@ -210,7 +210,6 @@ extern const device_t *t1200_get_device(void);
extern const device_t *at_endeavor_get_device(void);
extern const device_t *at_tg286m_get_device(void);
extern const device_t *at_ama932j_get_device(void);
#endif

View File

@@ -11,7 +11,7 @@
* NOTES: OpenAT wip for 286-class machine with open BIOS.
* PS2_M80-486 wip, pending receipt of TRM's for machine.
*
* Version: @(#)machine_table.c 1.0.41 2018/09/24
* Version: @(#)machine_table.c 1.0.42 2018/10/09
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -80,7 +80,7 @@ const machine_t machines[] = {
{ "[286 ISA] Samsung SPC-4200P", ROM_SPC4200P, "spc4200p", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, 0, MACHINE_ISA | MACHINE_AT | MACHINE_PS2, 512, 2048, 128, 127, machine_at_scat_init, NULL },
{ "[286 ISA] Samsung SPC-4216P", ROM_SPC4216P, "spc4216p", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, 0, MACHINE_ISA | MACHINE_AT | MACHINE_PS2, 1, 5, 1, 127, machine_at_scat_init, NULL },
{ "[286 ISA] Toshiba T3100e", ROM_T3100E, "t3100e", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, 1, MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 1024, 5120, 256, 63, machine_at_t3100e_init, NULL },
{ "[286 ISA] Trigem 286M", ROM_TG286M, "tg286m", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, 0, MACHINE_ISA | MACHINE_AT | MACHINE_VIDEO, 512, 8192, 128, 127, machine_at_tg286m_init, at_tg286m_get_device },
{ "[286 ISA] Trigem 286M", ROM_TG286M, "tg286m", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, 0, MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 512, 8192, 128, 127, machine_at_tg286m_init, NULL },
{ "[286 MCA] IBM PS/2 model 50", ROM_IBMPS2_M50, "ibmps2_m50", {{"", cpus_ps2_m30_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, 0, MACHINE_MCA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC_PS2 | MACHINE_VIDEO, 1, 10, 1, 63, machine_ps2_model_50_init, NULL },

View File

@@ -8,7 +8,7 @@
*
* Oak OTI037C/67/077 emulation.
*
* Version: @(#)vid_oak_oti.c 1.0.17 2018/10/08
* Version: @(#)vid_oak_oti.c 1.0.18 2018/10/09
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -460,6 +460,28 @@ static const device_config_t oti067_config[] =
};
static const device_config_t oti067_ama932j_config[] =
{
{
"memory", "Memory size", CONFIG_SELECTION, "", 256,
{
{
"256 kB", 256
},
{
"512 kB", 512
},
{
""
}
}
},
{
"", "", -1
}
};
static const device_config_t oti077_config[] =
{
{
@@ -516,7 +538,7 @@ const device_t oti067_ama932j_device =
oti067_ama932j_available,
oti_speed_changed,
oti_force_redraw,
oti067_config
oti067_ama932j_config
};
const device_t oti077_device =