fidel_eag68k: don't overclock v11 by default, add note about wrong cpu timing (nw)

This commit is contained in:
hap 2020-05-13 11:05:46 +02:00
parent cb8efbafb8
commit f15874c723
3 changed files with 17 additions and 9 deletions

View File

@ -1383,7 +1383,7 @@ std::vector<ui::menu_item> mame_ui_manager::slider_init(running_machine &machine
{
void *param = (void *)&exec.device();
std::string str = string_format(_("Overclock CPU %1$s"), exec.device().tag());
m_sliders.push_back(slider_alloc(SLIDER_ID_OVERCLOCK + slider_index++, str.c_str(), 10, 1000, 2000, 1, param));
m_sliders.push_back(slider_alloc(SLIDER_ID_OVERCLOCK + slider_index++, str.c_str(), 100, 1000, 4000, 10, param));
}
for (device_sound_interface &snd : sound_interface_iterator(machine.root_device()))
{
@ -1392,7 +1392,7 @@ std::vector<ui::menu_item> mame_ui_manager::slider_init(running_machine &machine
{
void *param = (void *)&snd.device();
std::string str = string_format(_("Overclock %1$s sound"), snd.device().tag());
m_sliders.push_back(slider_alloc(SLIDER_ID_OVERCLOCK + slider_index++, str.c_str(), 10, 1000, 2000, 1, param));
m_sliders.push_back(slider_alloc(SLIDER_ID_OVERCLOCK + slider_index++, str.c_str(), 100, 1000, 4000, 10, param));
}
}
}
@ -1660,7 +1660,7 @@ int32_t mame_ui_manager::slider_refresh(running_machine &machine, void *arg, int
}
if (str)
*str = string_format(_("%1$.3ffps"), screen->frame_period().as_hz());
*str = string_format(_("%1$.3f" UTF8_NBSP "Hz"), screen->frame_period().as_hz());
refresh = screen->frame_period().as_hz();
return floor((refresh - defrefresh) * 1000.0 + 0.5);
}

View File

@ -11,10 +11,16 @@ Excel 68000 I/O is very similar to EAG, so it's handled in this driver as well
TODO:
- unemulated waitstates with DTACK
- EAG USART is not emulated
- V10 CPU emulation is too slow, MAME 68040 opcode timing is same as 68030 but in
reality it is much faster, same goes for V11 of course (see note below)
- V11 CPU should be M68EC060, not yet emulated. Now using M68EC040 in its place
at twice the frequency due to lack of superscalar.
- V11 beeper is too high pitched, related to wrong CPU type too? But even at 72MHz
it's still wrong, so maybe waitstates or clock divider on I/O access.
- V11 beeper is too high pitched, related to wrong CPU type too?
maybe waitstates or clock divider on I/O access.
Currently(May 2020) when compared to the real chesscomputers, to get closer to the
actual speed, overclock V10 and V11 to 230%. This can be done by starting MAME
with the -cheat option and going to the Slider Controls menu, hold Ctrl and press
Right to overclock maincpu.
*******************************************************************************
@ -705,7 +711,7 @@ void eag_state::eagv11(machine_config &config)
eagv7(config);
/* basic machine hardware */
M68EC040(config.replace(), m_maincpu, 36_MHz_XTAL*2*2); // wrong! should be M68EC060 @ 72MHz
M68EC040(config.replace(), m_maincpu, 36_MHz_XTAL*2); // wrong! should be M68EC060
m_maincpu->set_addrmap(AS_PROGRAM, &eag_state::eagv10_map);
m_maincpu->set_periodic_int(FUNC(eag_state::irq2_line_hold), attotime::from_hz(600));
@ -840,5 +846,5 @@ CONS( 1989, feagv5, feagv2, 0, eagv5, eag, eagv5_state, init_eag,
CONS( 1990, feagv7, feagv2, 0, eagv7, eag, eag_state, empty_init, "Fidelity Electronics", "Elite Avant Garde (model 6117-7, set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1990, feagv7a, feagv2, 0, eagv7, eag, eag_state, empty_init, "Fidelity Electronics", "Elite Avant Garde (model 6117-7, set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1990, feagv9, feagv2, 0, eagv9, eag, eag_state, empty_init, "Fidelity Electronics", "Elite Avant Garde (model 6117-9)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1990, feagv10, feagv2, 0, eagv10, eag, eag_state, empty_init, "Fidelity Electronics", "Elite Avant Garde (model 6117-10)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 2002, feagv11, feagv2, 0, eagv11, eag, eag_state, empty_init, "hack (Wilfried Bucke)", "Elite Avant Garde (model 6117-11)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_IMPERFECT_TIMING | MACHINE_IMPERFECT_SOUND )
CONS( 1990, feagv10, feagv2, 0, eagv10, eag, eag_state, empty_init, "Fidelity Electronics", "Elite Avant Garde (model 6117-10)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_IMPERFECT_TIMING )
CONS( 2002, feagv11, feagv2, 0, eagv11, eag, eag_state, empty_init, "hack (Wilfried Bucke)", "Elite Avant Garde (model 6117-11)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_IMPERFECT_TIMING )

View File

@ -82,6 +82,8 @@
*A13 HD44840 1982, CXG Computachess II
*A14 HD44840 1982, CXG Advanced Portachess
*B55 HD44860 1987, Saitek Pro Bridge 100
*A04 HD44868 1984, SciSys Rapier
*A07 HD44868 1984, Chess King Pocket Micro Deluxe
*A12 HD44868 1985, SciSys MK 10 / Pocket Chess