Merge pull request #35 from shattered/_dcd0ca6

Allow sound output if 8253 is never programmed, i.e. all output is done ...
This commit is contained in:
Miodrag Milanović 2014-11-05 16:39:44 +01:00
commit 826195bcec
6 changed files with 6 additions and 5 deletions

View File

@ -203,7 +203,7 @@ void southbridge_device::device_start()
void southbridge_device::device_reset()
{
m_at_spkrdata = 0;
m_pit_out2 = 0;
m_pit_out2 = 1;
m_dma_channel = -1;
m_cur_eop = false;
m_nmi_enabled = 0;

View File

@ -685,7 +685,7 @@ void pcxt_state::machine_reset()
m_lastvalue = -1;
m_pc_spkrdata = 0;
m_pit_out2 = 0;
m_pit_out2 = 1;
m_wss2_data = 0;
m_speaker->level_w(0);
}

View File

@ -688,7 +688,7 @@ void pasogo_state::machine_reset()
m_u73_q2 = 0;
m_out1 = 2; // initial state of pit output is undefined
m_pc_spkrdata = 0;
m_pit_out2 = 0;
m_pit_out2 = 1;
m_dma_channel = -1;
m_cur_eop = false;
}

View File

@ -1131,6 +1131,7 @@ void pc1512_state::machine_reset()
m_nmi_enable = 0;
m_toggle = 0;
m_kb_bits = 0;
m_pit2 = 1;
m_lpen = 0;
m_blink = 0;

View File

@ -300,7 +300,7 @@ MACHINE_START_MEMBER(at_state,at)
MACHINE_RESET_MEMBER(at_state,at)
{
m_at_spkrdata = 0;
m_pit_out2 = 0;
m_pit_out2 = 1;
m_dma_channel = -1;
m_cur_eop = false;
}

View File

@ -572,7 +572,7 @@ void ibm5160_mb_device::device_reset()
m_u73_q2 = 0;
m_out1 = 2; // initial state of pit output is undefined
m_pc_spkrdata = 0;
m_pit_out2 = 0;
m_pit_out2 = 1;
m_dma_channel = -1;
m_cur_eop = false;
memset(m_dma_offset,0,sizeof(m_dma_offset));