summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/fidel6502.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mame/drivers/fidel6502.cpp b/src/mame/drivers/fidel6502.cpp
index fc5ff5bc010..18de1e788c2 100644
--- a/src/mame/drivers/fidel6502.cpp
+++ b/src/mame/drivers/fidel6502.cpp
@@ -200,7 +200,7 @@ Sensory Chess Challenger "9" (SC9)
36-pin edge connector, assume same as SC12
4KB RAM(TMM2016P), 2*8KB ROM(HN48364P)
R6502-13, 1.4MHz from resonator
-PCB label 510-1045C01 2-1-82
+PCB label 510-1046C01 2-1-82
I/O is via TTL, not further documented here
@@ -1231,9 +1231,11 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( rsc, fidel6502_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M6502, 2000000) // approximation, source unknown
+ MCFG_CPU_ADD("maincpu", M6502, 1800000) // measured approx 1.81MHz
MCFG_CPU_PROGRAM_MAP(rsc_map)
- MCFG_CPU_PERIODIC_INT_DRIVER(fidelz80base_state, irq0_line_hold, 600) // 555 timer, guessed
+ MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_on", fidel6502_state, irq_on, attotime::from_hz(546)) // from 555 timer, measured
+ MCFG_TIMER_START_DELAY(attotime::from_hz(546) - attotime::from_usec(38)) // active for 38us
+ MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_off", fidel6502_state, irq_off, attotime::from_hz(546))
MCFG_DEVICE_ADD("pia", PIA6821, 0) // MOS 6520
MCFG_PIA_READPA_HANDLER(READ8(fidel6502_state, csc_pia1_pa_r))
@@ -1336,7 +1338,9 @@ static MACHINE_CONFIG_START( sc9, fidel6502_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", M6502, 1400000) // from ceramic resonator "681 JSA", measured
MCFG_CPU_PROGRAM_MAP(sc9_map)
- MCFG_CPU_PERIODIC_INT_DRIVER(fidelz80base_state, irq0_line_hold, 600) // 555 timer, guessed
+ MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_on", fidel6502_state, irq_on, attotime::from_hz(602)) // from 555 timer, measured
+ MCFG_TIMER_START_DELAY(attotime::from_hz(602) - attotime::from_usec(42)) // active for 42us
+ MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_off", fidel6502_state, irq_off, attotime::from_hz(602))
MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", fidelz80base_state, display_decay_tick, attotime::from_msec(1))
MCFG_DEFAULT_LAYOUT(layout_fidel_sc9)