tasc: 1 minute now matches realworld 1 minute, and it also says 30mhz instead of 31mhz in system info. assume same for risc2500 (nw)

This commit is contained in:
hap 2019-06-30 00:38:11 +02:00
parent ff2f21c660
commit 203ef23e6f
3 changed files with 6 additions and 4 deletions

View File

@ -3,8 +3,7 @@
/*
Generic sensorboard device, meant for tracking pieces, primarily made for
electronic chessboards. It supports buttons, magnets, and inductive sensors
(latter is not emulated in any driver yet but the device is ready for it).
electronic chessboards. It supports buttons, magnets, and inductive sensors.
Concept/idea by Ralph Schaefer, but his code got removed from MAME when he
couldn't be reached for source relicensing. This device is made from scratch.

View File

@ -321,7 +321,7 @@ void risc2500_state::risc2500(machine_config &config)
ARM(config, m_maincpu, XTAL(28'322'000) / 2); // VY86C010
m_maincpu->set_addrmap(AS_PROGRAM, &risc2500_state::risc2500_mem);
m_maincpu->set_copro_type(arm_cpu_device::copro_type::VL86C020);
m_maincpu->set_periodic_int(FUNC(risc2500_state::irq1_line_hold), attotime::from_hz(250));
m_maincpu->set_periodic_int(FUNC(risc2500_state::irq1_line_hold), attotime::from_hz(256));
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_LCD));
screen.set_refresh_hz(50);

View File

@ -31,6 +31,9 @@ notes:
- holding LEFT+RIGHT on boot load the QC TestMode
- holding UP+DOWN on boot load the TestMode
TODO:
- sound is too high pitched, same problem as in risc2500
******************************************************************************/
#include "emu.h"
@ -206,7 +209,7 @@ void tasc_state::tasc(machine_config &config)
ARM(config, m_maincpu, 30_MHz_XTAL);
m_maincpu->set_addrmap(AS_PROGRAM, &tasc_state::main_map);
m_maincpu->set_copro_type(arm_cpu_device::copro_type::VL86C020);
m_maincpu->set_periodic_int(FUNC(tasc_state::irq1_line_hold), attotime::from_hz(250));
m_maincpu->set_periodic_int(FUNC(tasc_state::irq1_line_hold), attotime::from_hz(256));
TIMER(config, "disable_bootrom").configure_generic(FUNC(tasc_state::disable_bootrom));