summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Sergey Svishchev <shattered@users.sourceforge.net>2014-11-02 00:47:39 +0300
committer Sergey Svishchev <shattered@users.sourceforge.net>2014-11-05 18:10:34 +0300
commitc6984ade99a6c01fdb70f5c7534ce31bd40440ae (patch)
tree37825b9ca465a6a62a0b97b11c0403ab93841544
parenta19283f054d0f748c2fc18f243a224b6f55e31cc (diff)
Allow sound output if 8253 is never programmed, i.e. all output is done by modulating speaker output line.
-rw-r--r--src/emu/bus/lpci/southbridge.c2
-rw-r--r--src/mame/drivers/pcxt.c2
-rw-r--r--src/mess/drivers/pasogo.c2
-rw-r--r--src/mess/drivers/pc1512.c1
-rw-r--r--src/mess/machine/at.c2
-rw-r--r--src/mess/machine/genpc.c2
6 files changed, 6 insertions, 5 deletions
diff --git a/src/emu/bus/lpci/southbridge.c b/src/emu/bus/lpci/southbridge.c
index d6797fdef06..bb1a8cf629b 100644
--- a/src/emu/bus/lpci/southbridge.c
+++ b/src/emu/bus/lpci/southbridge.c
@@ -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;
diff --git a/src/mame/drivers/pcxt.c b/src/mame/drivers/pcxt.c
index 2b1f984da8a..b8971ada485 100644
--- a/src/mame/drivers/pcxt.c
+++ b/src/mame/drivers/pcxt.c
@@ -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);
}
diff --git a/src/mess/drivers/pasogo.c b/src/mess/drivers/pasogo.c
index de50b63ea2c..c2ad1c0218a 100644
--- a/src/mess/drivers/pasogo.c
+++ b/src/mess/drivers/pasogo.c
@@ -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;
}
diff --git a/src/mess/drivers/pc1512.c b/src/mess/drivers/pc1512.c
index e75fdbe33ad..9bb0cdc52fc 100644
--- a/src/mess/drivers/pc1512.c
+++ b/src/mess/drivers/pc1512.c
@@ -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;
diff --git a/src/mess/machine/at.c b/src/mess/machine/at.c
index ab6141261fa..f9bf630c72e 100644
--- a/src/mess/machine/at.c
+++ b/src/mess/machine/at.c
@@ -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;
}
diff --git a/src/mess/machine/genpc.c b/src/mess/machine/genpc.c
index b49aa1c2749..366e3b69ed6 100644
--- a/src/mess/machine/genpc.c
+++ b/src/mess/machine/genpc.c
@@ -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));