summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wico.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wico.cpp')
-rw-r--r--src/mame/drivers/wico.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/wico.cpp b/src/mame/drivers/wico.cpp
index 149c4d56a3d..b7362edd9cc 100644
--- a/src/mame/drivers/wico.cpp
+++ b/src/mame/drivers/wico.cpp
@@ -385,7 +385,7 @@ READ8_MEMBER( wico_state::lampst_r )
j = m_shared_ram[0x7f9 + i];
else
j = 0;
- output().set_digit_value(i * 10 + (m_shared_ram[0x96] & 7), BITSWAP16(j, 8, 8, 8, 8, 8, 8, 7, 7, 6, 6, 5, 4, 3, 2, 1, 0));
+ output().set_digit_value(i * 10 + (m_shared_ram[0x96] & 7), bitswap<16>(j, 8, 8, 8, 8, 8, 8, 7, 7, 6, 6, 5, 4, 3, 2, 1, 0));
}
return 0xff;
}
@@ -430,9 +430,9 @@ void wico_state::machine_reset()
static MACHINE_CONFIG_START( wico )
/* basic machine hardware */
- MCFG_CPU_ADD("ccpu", M6809, 10000000 / 8)
+ MCFG_CPU_ADD("ccpu", MC6809E, XTAL_10MHz / 8) // MC68A09EP @ U51
MCFG_CPU_PROGRAM_MAP(ccpu_map)
- MCFG_CPU_ADD("hcpu", M6809, 10000000 / 8)
+ MCFG_CPU_ADD("hcpu", MC6809E, XTAL_10MHz / 8) // MC68A09EP @ U24
MCFG_CPU_PROGRAM_MAP(hcpu_map)
MCFG_TIMER_DRIVER_ADD_PERIODIC("irq", wico_state, irq_housekeeping, attotime::from_hz(120)) // zero crossing
MCFG_TIMER_DRIVER_ADD_PERIODIC("firq", wico_state, firq_housekeeping, attotime::from_hz(750)) // time generator
@@ -444,7 +444,7 @@ static MACHINE_CONFIG_START( wico )
/* Sound */
MCFG_FRAGMENT_ADD( genpin_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("sn76494", SN76494, 10000000 / 64)
+ MCFG_SOUND_ADD("sn76494", SN76494, XTAL_10MHz / 64)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MACHINE_CONFIG_END