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:
tim lindner 2021-03-29 09:33:48 -07:00 committed by GitHub
parent d3062ef108
commit 23f22dc14b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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>));

View File

@ -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>));