summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/coco12.c
diff options
context:
space:
mode:
author Richard Goedeken <Richard@fascinationsoftware.com>2015-08-04 22:29:04 -0700
committer Richard Goedeken <Richard@fascinationsoftware.com>2015-08-04 22:29:04 -0700
commit43978837c51ed41ecdcaaf0deeaca3a6382c5875 (patch)
treeda14956b1e524be0ba408432609058eafba4ee4a /src/mess/machine/coco12.c
parente804e4c4ef6693d16318fc4aee02096ac113b699 (diff)
simplification: in the coco/dragon virtual functions which get called from coco.c when the PIA port A/B output status changes, send the new 8-bit output signals directly as a function parameter rather than forcing the handlers to call back into the PIA objects to get the new values
Diffstat (limited to 'src/mess/machine/coco12.c')
-rw-r--r--src/mess/machine/coco12.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mess/machine/coco12.c b/src/mess/machine/coco12.c
index c9a0a9a2afb..e2f3fbdb521 100644
--- a/src/mess/machine/coco12.c
+++ b/src/mess/machine/coco12.c
@@ -94,12 +94,11 @@ READ8_MEMBER( coco12_state::sam_read )
// pia1_pb_changed
//-------------------------------------------------
-void coco12_state::pia1_pb_changed(void)
+void coco12_state::pia1_pb_changed(UINT8 data)
{
/* call inherited function */
- coco_state::pia1_pb_changed();
+ coco_state::pia1_pb_changed(data);
- UINT8 data = m_pia_1->b_output();
m_vdg->css_w(data & 0x08);
m_vdg->intext_w(data & 0x10);
m_vdg->gm0_w(data & 0x10);