From 4c579d770593da28dc71a5dc8291aa2ae59e0a3c Mon Sep 17 00:00:00 2001 From: smf- Date: Thu, 2 Jan 2014 00:27:52 +0000 Subject: [PATCH] Fixed maclc booting (nw) --- src/mess/machine/cuda.c | 2 ++ src/mess/machine/egret.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/mess/machine/cuda.c b/src/mess/machine/cuda.c index 71d7db38065..ece5a2e3d31 100644 --- a/src/mess/machine/cuda.c +++ b/src/mess/machine/cuda.c @@ -155,6 +155,8 @@ void cuda_device::send_port(address_space &space, UINT8 offset, UINT8 data) printf("CU-> VIA_DATA: %d (PC=%x)\n", (data>>5)&1, m_maincpu->pc()); #endif via_data = (data>>5) & 1; + via6522_device *via1 = machine().device("via6522_0"); + via1->write_cb2(via_data); } if (via_clock != ((data>>4)&1)) { diff --git a/src/mess/machine/egret.c b/src/mess/machine/egret.c index 5062eb128a5..9dcf9659eb6 100644 --- a/src/mess/machine/egret.c +++ b/src/mess/machine/egret.c @@ -153,6 +153,8 @@ void egret_device::send_port(address_space &space, UINT8 offset, UINT8 data) printf("EG-> VIA_DATA: %d (PC=%x)\n", (data>>5)&1, m_maincpu->pc()); #endif via_data = (data>>5) & 1; + via6522_device *via1 = machine().device("via6522_0"); + via1->write_cb2(via_data); } if (via_clock != ((data>>4)&1)) {