summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mc6846.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mc6846.cpp')
-rw-r--r--src/devices/machine/mc6846.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/machine/mc6846.cpp b/src/devices/machine/mc6846.cpp
index ecae29b48c3..31e562fd849 100644
--- a/src/devices/machine/mc6846.cpp
+++ b/src/devices/machine/mc6846.cpp
@@ -24,8 +24,6 @@
#include "mc6846.h"
//#define VERBOSE 1
-//#define LOG_OUTPUT_STREAM std::cout
-
#include "logmacro.h"
@@ -49,6 +47,7 @@ DEFINE_DEVICE_TYPE(MC6846, mc6846_device, "mc6846", "MC6846 Programmable Timer")
mc6846_device::mc6846_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, MC6846, tag, owner, clock),
m_out_port_cb(*this),
+ m_out_cp1_cb(*this),
m_out_cp2_cb(*this),
m_in_port_cb(*this),
m_out_cto_cb(*this),
@@ -66,6 +65,7 @@ void mc6846_device::device_start()
m_one_shot = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mc6846_device::timer_one_shot), this));
m_out_port_cb.resolve(); /* 8-bit output */
+ m_out_cp1_cb.resolve_safe(); /* 1-bit output */
m_out_cp2_cb.resolve(); /* 1-bit output */
/* CPU read from the outside through chip */
@@ -354,7 +354,6 @@ READ8_MEMBER(mc6846_device::read)
WRITE8_MEMBER(mc6846_device::write)
{
-
switch ( offset )
{
case 0: