Previous | 199869 Revisions | Next |
r33219 Wednesday 5th November, 2014 at 15:10:34 UTC by Sergey Svishchev |
---|
Allow sound output if 8253 is never programmed, i.e. all output is done by modulating speaker output line. |
[src/emu/bus/lpci] | southbridge.c |
[src/mame/drivers] | pcxt.c |
[src/mess/drivers] | pasogo.c pc1512.c |
[src/mess/machine] | at.c genpc.c |
r241730 | r241731 | |
---|---|---|
203 | 203 | void southbridge_device::device_reset() |
204 | 204 | { |
205 | 205 | m_at_spkrdata = 0; |
206 | m_pit_out2 = | |
206 | m_pit_out2 = 1; | |
207 | 207 | m_dma_channel = -1; |
208 | 208 | m_cur_eop = false; |
209 | 209 | m_nmi_enabled = 0; |
r241730 | r241731 | |
---|---|---|
685 | 685 | m_lastvalue = -1; |
686 | 686 | |
687 | 687 | m_pc_spkrdata = 0; |
688 | m_pit_out2 = | |
688 | m_pit_out2 = 1; | |
689 | 689 | m_wss2_data = 0; |
690 | 690 | m_speaker->level_w(0); |
691 | 691 | } |
r241730 | r241731 | |
---|---|---|
688 | 688 | m_u73_q2 = 0; |
689 | 689 | m_out1 = 2; // initial state of pit output is undefined |
690 | 690 | m_pc_spkrdata = 0; |
691 | m_pit_out2 = | |
691 | m_pit_out2 = 1; | |
692 | 692 | m_dma_channel = -1; |
693 | 693 | m_cur_eop = false; |
694 | 694 | } |
r241730 | r241731 | |
---|---|---|
1131 | 1131 | m_nmi_enable = 0; |
1132 | 1132 | m_toggle = 0; |
1133 | 1133 | m_kb_bits = 0; |
1134 | m_pit2 = 1; | |
1134 | 1135 | |
1135 | 1136 | m_lpen = 0; |
1136 | 1137 | m_blink = 0; |
r241730 | r241731 | |
---|---|---|
300 | 300 | MACHINE_RESET_MEMBER(at_state,at) |
301 | 301 | { |
302 | 302 | m_at_spkrdata = 0; |
303 | m_pit_out2 = | |
303 | m_pit_out2 = 1; | |
304 | 304 | m_dma_channel = -1; |
305 | 305 | m_cur_eop = false; |
306 | 306 | } |
r241730 | r241731 | |
---|---|---|
572 | 572 | m_u73_q2 = 0; |
573 | 573 | m_out1 = 2; // initial state of pit output is undefined |
574 | 574 | m_pc_spkrdata = 0; |
575 | m_pit_out2 = | |
575 | m_pit_out2 = 1; | |
576 | 576 | m_dma_channel = -1; |
577 | 577 | m_cur_eop = false; |
578 | 578 | memset(m_dma_offset,0,sizeof(m_dma_offset)); |
https://github.com/mamedev/mame/commit/c6984ade99a6c01fdb70f5c7534ce31bd40440ae |
Previous | 199869 Revisions | Next |