summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2019-10-12 23:59:33 +1100
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2019-10-12 23:59:33 +1100
commit499310b605eaae2cf649c1c9a80e508c907a8f44 (patch) (github)
treef7c40bfbd452e4a953844c084d51f8a833bf8418
parentda9645b9c8159ee1db01c0749c9bd52ca5a88ba1 (diff)
parent17874f61394bcc342443263f60bc59009771d680 (diff)
downloadmame-499310b605eaae2cf649c1c9a80e508c907a8f44.tar.bz2
mame-499310b605eaae2cf649c1c9a80e508c907a8f44.zip
(nw) segas32.cpp: slight cleanup
-rw-r--r--src/mame/drivers/exedexes.cpp6
-rw-r--r--src/mame/drivers/hh_sm510.cpp2
-rw-r--r--src/mame/drivers/segas32.cpp1
3 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/exedexes.cpp b/src/mame/drivers/exedexes.cpp
index 8d7f73b1454..7a18e98275f 100644
--- a/src/mame/drivers/exedexes.cpp
+++ b/src/mame/drivers/exedexes.cpp
@@ -210,11 +210,11 @@ void exedexes_state::machine_reset()
void exedexes_state::exedexes(machine_config &config)
{
/* basic machine hardware */
- Z80(config, m_maincpu, 4000000); /* 4 MHz (?) */
+ Z80(config, m_maincpu, 12_MHz_XTAL / 4); // 3 MHz, verified on PCB
m_maincpu->set_addrmap(AS_PROGRAM, &exedexes_state::exedexes_map);
TIMER(config, "scantimer").configure_scanline(FUNC(exedexes_state::scanline), "screen", 0, 1);
- z80_device &audiocpu(Z80(config, "audiocpu", 3000000)); /* 3 MHz ??? */
+ z80_device &audiocpu(Z80(config, "audiocpu", 12_MHz_XTAL / 4)); // 3 MHz, verified on PCB
audiocpu.set_addrmap(AS_PROGRAM, &exedexes_state::sound_map);
audiocpu.set_periodic_int(FUNC(exedexes_state::irq0_line_hold), attotime::from_hz(4*60));
@@ -222,7 +222,7 @@ void exedexes_state::exedexes(machine_config &config)
BUFFERED_SPRITERAM8(config, m_spriteram);
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
- screen.set_refresh_hz(60);
+ screen.set_refresh_hz(59.60); // verified on PCB
screen.set_vblank_time(ATTOSECONDS_IN_USEC(0));
screen.set_size(32*8, 32*8);
screen.set_visarea(0*8, 32*8-1, 2*8, 30*8-1);
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp
index c3620d69ca3..1b35dc1310d 100644
--- a/src/mame/drivers/hh_sm510.cpp
+++ b/src/mame/drivers/hh_sm510.cpp
@@ -3078,7 +3078,7 @@ ROM_END
* lcd screen with custom segments, 1-bit sound
This is the new wide screen version, there's also a Gold Series version
- (MH-06). The both games are using different MCU types so this version seems
+ (MH-06). The two games are using different MCU types so this version seems
to be a complete rewrite.
***************************************************************************/
diff --git a/src/mame/drivers/segas32.cpp b/src/mame/drivers/segas32.cpp
index 02c01df774b..ea44ff4282d 100644
--- a/src/mame/drivers/segas32.cpp
+++ b/src/mame/drivers/segas32.cpp
@@ -5404,6 +5404,7 @@ void segas32_state::segas32_common_init()
uint8_t *Z80 = memregion("soundcpu")->base();
uint32_t size = memregion("soundcpu")->bytes();
m_soundrom_bank->configure_entries(0, size / 0x2000, &Z80[0], 0x2000);
+
/* reset the custom handlers and other pointers */
m_system32_prot_vblank = nullptr;
m_sw1_output = nullptr;