summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pk8020.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pk8020.cpp')
-rw-r--r--src/mame/machine/pk8020.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/machine/pk8020.cpp b/src/mame/machine/pk8020.cpp
index ba719d13f0d..e81857cd095 100644
--- a/src/mame/machine/pk8020.cpp
+++ b/src/mame/machine/pk8020.cpp
@@ -126,8 +126,10 @@ void pk8020_state::floppy_control_w(uint8_t data)
void pk8020_state::ppi_2_portc_w(uint8_t data)
{
m_sound_gate = BIT(data,3);
-
m_speaker->level_w(m_sound_gate ? m_sound_level : 0);
+
+ m_printer->write_select(!BIT(data, 4));
+ m_printer->write_strobe(!BIT(data, 5));
}
WRITE_LINE_MEMBER(pk8020_state::pit_out0)