Add non-working AMI M6117 machine
This commit is contained in:
@@ -77,7 +77,7 @@ ali6117_recalcmapping(ali6117_t *dev)
|
|||||||
shadowbios = 0;
|
shadowbios = 0;
|
||||||
shadowbios_write = 0;
|
shadowbios_write = 0;
|
||||||
|
|
||||||
ali6117_log("M6117: Shadowing for 0xa0000-0xbffff (reg %02X) = %s\n", (dev->regs[0x12] & 0x02) ? "on" : "off");
|
ali6117_log("M6117: Shadowing for a0000-bffff (reg 12) = %s\n", (dev->regs[0x12] & 0x02) ? "on" : "off");
|
||||||
mem_set_mem_state(0xa0000, 0x20000, (dev->regs[0x12] & 0x02) ? (MEM_WRITE_INTERNAL | MEM_READ_INTERNAL) : (MEM_WRITE_EXTANY | MEM_READ_EXTANY));
|
mem_set_mem_state(0xa0000, 0x20000, (dev->regs[0x12] & 0x02) ? (MEM_WRITE_INTERNAL | MEM_READ_INTERNAL) : (MEM_WRITE_EXTANY | MEM_READ_EXTANY));
|
||||||
|
|
||||||
for (reg = 0; reg <= 1; reg++) {
|
for (reg = 0; reg <= 1; reg++) {
|
||||||
|
|||||||
@@ -243,6 +243,7 @@ extern int machine_at_wd76c10_init(const machine_t *);
|
|||||||
|
|
||||||
extern int machine_at_awardsx_init(const machine_t *);
|
extern int machine_at_awardsx_init(const machine_t *);
|
||||||
#if defined(DEV_BRANCH) && defined(USE_M6117)
|
#if defined(DEV_BRANCH) && defined(USE_M6117)
|
||||||
|
extern int machine_at_arb1375_init(const machine_t *);
|
||||||
extern int machine_at_pja511m_init(const machine_t *);
|
extern int machine_at_pja511m_init(const machine_t *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -549,6 +549,28 @@ machine_at_awardsx_init(const machine_t *model)
|
|||||||
|
|
||||||
|
|
||||||
#if defined(DEV_BRANCH) && defined(USE_M6117)
|
#if defined(DEV_BRANCH) && defined(USE_M6117)
|
||||||
|
int
|
||||||
|
machine_at_arb1375_init(const machine_t *model)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear(L"roms/machines/arb1375/a1375v25.u11-a",
|
||||||
|
0x000e0000, 131072, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_common_init(model);
|
||||||
|
|
||||||
|
device_add(&fdc37c669_device);
|
||||||
|
device_add(&keyboard_ps2_ami_pci_device);
|
||||||
|
device_add(&ali6117d_device);
|
||||||
|
device_add(&sst_flash_29ee010_device);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_pja511m_init(const machine_t *model)
|
machine_at_pja511m_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -180,7 +180,8 @@ const machine_t machines[] = {
|
|||||||
{ "[Intel 82335] ADI 386SX", "adi386sx", MACHINE_TYPE_386SX, {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 512, 8192, 128, 127, machine_at_adi386sx_init, NULL },
|
{ "[Intel 82335] ADI 386SX", "adi386sx", MACHINE_TYPE_386SX, {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 512, 8192, 128, 127, machine_at_adi386sx_init, NULL },
|
||||||
{ "[OPTi 291] DTK PPM-3333P", "awardsx", MACHINE_TYPE_386SX, {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 1, 16, 1, 127, machine_at_awardsx_init, NULL },
|
{ "[OPTi 291] DTK PPM-3333P", "awardsx", MACHINE_TYPE_386SX, {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 1, 16, 1, 127, machine_at_awardsx_init, NULL },
|
||||||
#if defined(DEV_BRANCH) && defined(USE_M6117)
|
#if defined(DEV_BRANCH) && defined(USE_M6117)
|
||||||
{ "[ALi M6117D] Acrosser PJ-A511M", "pja511m", MACHINE_TYPE_386SX, {{"ALi", cpus_ALiM6117}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 1, 64, 1, 127, machine_at_pja511m_init, NULL },
|
{ "[ALi M6117D] Acrosser AR-B1375", "arb1375", MACHINE_TYPE_386SX, {{"ALi", cpus_ALiM6117}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 1, 32, 1, 127, machine_at_arb1375_init, NULL },
|
||||||
|
{ "[ALi M6117D] Acrosser PJ-A511M", "pja511m", MACHINE_TYPE_386SX, {{"ALi", cpus_ALiM6117}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 1, 32, 1, 127, machine_at_pja511m_init, NULL },
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* 386SX machines which utilize the MCA bus */
|
/* 386SX machines which utilize the MCA bus */
|
||||||
|
|||||||
Reference in New Issue
Block a user