system1: set most ppi tristate to 0

This commit is contained in:
hap 2023-07-07 20:50:50 +02:00
parent 7d544e760d
commit 24058aa613
2 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,7 @@ void k051649_device::device_start()
save_item(STRUCT_MEMBER(m_channel_list, clock));
save_item(STRUCT_MEMBER(m_channel_list, frequency));
save_item(STRUCT_MEMBER(m_channel_list, volume));
save_item(STRUCT_MEMBER(m_channel_list, sample));
save_item(STRUCT_MEMBER(m_channel_list, key));
save_item(STRUCT_MEMBER(m_channel_list, waveram));
save_item(NAME(m_test));

View File

@ -2292,6 +2292,9 @@ void system1_state::sys1ppi(machine_config &config)
m_ppi8255->out_pa_callback().set(FUNC(system1_state::soundport_w));
m_ppi8255->out_pb_callback().set(FUNC(system1_state::videomode_w));
m_ppi8255->out_pc_callback().set(FUNC(system1_state::sound_control_w));
m_ppi8255->tri_pa_callback().set_constant(0x00);
m_ppi8255->tri_pb_callback().set_constant(0x40);
m_ppi8255->tri_pc_callback().set_constant(0x80);
/* video hardware */
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);