drmicro: reduce sn clock

This commit is contained in:
hap 2025-01-04 00:06:20 +01:00
parent 64fd6e68c1
commit 11297d49c1

View File

@ -251,6 +251,7 @@ void drmicro_state::pcm_set_w(uint8_t data)
pcm_w(1);
}
/*************************************
*
* Address maps
@ -277,6 +278,7 @@ void drmicro_state::io_map(address_map &map)
map(0x05, 0x05).noprw(); // unused? / watchdog?
}
/*************************************
*
* Input ports
@ -343,6 +345,7 @@ static INPUT_PORTS_START( drmicro )
PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_HIGH, "SW2:!8" ) // Service Mode shows as "X"
INPUT_PORTS_END
/*************************************
*
* Graphics definitions
@ -432,8 +435,6 @@ void drmicro_state::drmicro(machine_config &config)
m_maincpu->set_addrmap(AS_IO, &drmicro_state::io_map);
m_maincpu->set_vblank_int("screen", FUNC(drmicro_state::interrupt));
config.set_maximum_quantum(attotime::from_hz(60));
// video hardware
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_refresh_hz(60);
@ -449,9 +450,9 @@ void drmicro_state::drmicro(machine_config &config)
// sound hardware
SPEAKER(config, "mono").front_center();
SN76496(config, "sn1", MCLK / 4).add_route(ALL_OUTPUTS, "mono", 0.50);
SN76496(config, "sn2", MCLK / 4).add_route(ALL_OUTPUTS, "mono", 0.50);
SN76496(config, "sn3", MCLK / 4).add_route(ALL_OUTPUTS, "mono", 0.50);
SN76496(config, "sn1", MCLK / 6).add_route(ALL_OUTPUTS, "mono", 0.50);
SN76496(config, "sn2", MCLK / 6).add_route(ALL_OUTPUTS, "mono", 0.50);
SN76496(config, "sn3", MCLK / 6).add_route(ALL_OUTPUTS, "mono", 0.50);
MSM5205(config, m_msm, 384_kHz_XTAL);
m_msm->vck_legacy_callback().set(FUNC(drmicro_state::pcm_w)); // IRQ handler
@ -459,6 +460,7 @@ void drmicro_state::drmicro(machine_config &config)
m_msm->add_route(ALL_OUTPUTS, "mono", 0.75);
}
/*************************************
*
* ROM definition(s)