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)) {