summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-06-21 12:09:21 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-06-21 12:09:21 -0400
commit9c002bd2642a73e240d37f6c8528a22b880af590 (patch)
tree5e671bfae235718b0d91acf886e8ca1e2325bd75
parent2386a64165b743ff9a9ba85bb8d3729601cd8038 (diff)
machine/coco.cpp: Fix for MT 07305
-rw-r--r--src/mame/machine/coco.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/machine/coco.cpp b/src/mame/machine/coco.cpp
index 9b202c897a5..8e08656f447 100644
--- a/src/mame/machine/coco.cpp
+++ b/src/mame/machine/coco.cpp
@@ -417,8 +417,7 @@ uint8_t coco_state::pia1_pa_r()
{
// Port A: we need to specify the values of all the lines, regardless of whether
// they are in input or output mode in the DDR
- return (m_cassette->input() >= 0 ? 0x01 : 0x00)
- | (dac_output() << 2);
+ return (m_cassette->input() >= 0 ? 0x01 : 0x00) | 0xfe;
}