From 71b504073b7511477e43f45585dfbded6e10a803 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 28 Sep 2012 13:04:52 +0000 Subject: [PATCH] Will commit this for now, looks proper start value (no whatsnew) --- src/emu/machine/6526cia.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/emu/machine/6526cia.c b/src/emu/machine/6526cia.c index a57aa52a1b1..22942dd1a19 100644 --- a/src/emu/machine/6526cia.c +++ b/src/emu/machine/6526cia.c @@ -128,6 +128,10 @@ void mos6526_device::device_reset() m_cnt = 1; m_sp = 0; + /* initialize data direction registers */ + m_port[0].m_ddr = 0xff; + m_port[1].m_ddr = 0xff; + /* TOD running by default */ m_tod_running = TRUE;