mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Add tristate value of 0xff to the first PIA in the CoCo 3 and Dragon computers (#7903)
coco3, dragon: Add tristate value of 0xff to the first PIA
This commit is contained in:
parent
d3062ef108
commit
23f22dc14b
@ -267,6 +267,7 @@ void coco3_state::coco3(machine_config &config)
|
||||
pia6821_device &pia0(PIA6821(config, PIA0_TAG, 0));
|
||||
pia0.writepa_handler().set(FUNC(coco_state::pia0_pa_w));
|
||||
pia0.writepb_handler().set(FUNC(coco_state::pia0_pb_w));
|
||||
pia0.tspb_handler().set_constant(0xff);
|
||||
pia0.ca2_handler().set(FUNC(coco_state::pia0_ca2_w));
|
||||
pia0.cb2_handler().set(FUNC(coco_state::pia0_cb2_w));
|
||||
pia0.irqa_handler().set(m_irqs, FUNC(input_merger_device::in_w<0>));
|
||||
|
@ -274,6 +274,7 @@ void dragon_state::dragon_base(machine_config &config)
|
||||
pia6821_device &pia0(PIA6821(config, PIA0_TAG, 0));
|
||||
pia0.writepa_handler().set(FUNC(coco_state::pia0_pa_w));
|
||||
pia0.writepb_handler().set(FUNC(coco_state::pia0_pb_w));
|
||||
pia0.tspb_handler().set_constant(0xff);
|
||||
pia0.ca2_handler().set(FUNC(coco_state::pia0_ca2_w));
|
||||
pia0.cb2_handler().set(FUNC(coco_state::pia0_cb2_w));
|
||||
pia0.irqa_handler().set(m_irqs, FUNC(input_merger_device::in_w<0>));
|
||||
|
Loading…
Reference in New Issue
Block a user