diff options
author | 2020-01-31 09:50:18 +0100 | |
---|---|---|
committer | 2020-01-31 09:50:18 +0100 | |
commit | 7d5c59f6e507c3ee855014cbbf9a2e6f212057fd (patch) | |
tree | 5636d7e1ddd7f37ab43f8273397edbfd67ad3b92 /src/devices/machine/mc6846.cpp | |
parent | aecb7fa019c12f24fccd5d06c07bfb45c7acd214 (diff) | |
parent | 8f9e9c9e84f863527f1502f0a8b0ee46a659d227 (diff) |
Merge pull request #6068 from JoakimLarsson/alfaskop_pla
Alfaskop improvements
Diffstat (limited to 'src/devices/machine/mc6846.cpp')
-rw-r--r-- | src/devices/machine/mc6846.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/machine/mc6846.cpp b/src/devices/machine/mc6846.cpp index 31e562fd849..ecae29b48c3 100644 --- a/src/devices/machine/mc6846.cpp +++ b/src/devices/machine/mc6846.cpp @@ -24,6 +24,8 @@ #include "mc6846.h" //#define VERBOSE 1 +//#define LOG_OUTPUT_STREAM std::cout + #include "logmacro.h" @@ -47,7 +49,6 @@ 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), @@ -65,7 +66,6 @@ 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,6 +354,7 @@ READ8_MEMBER(mc6846_device::read) WRITE8_MEMBER(mc6846_device::write) { + switch ( offset ) { case 0: |