From a59ec9e81850dadf47082f7e8c5f93aac1b2f902 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 10 Oct 2019 21:04:41 -0400 Subject: [PATCH] Provides a token something where DMA should be. --- Machines/AtariST/AtariST.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Machines/AtariST/AtariST.cpp b/Machines/AtariST/AtariST.cpp index 9b839d7ea..50bdfdecc 100644 --- a/Machines/AtariST/AtariST.cpp +++ b/Machines/AtariST/AtariST.cpp @@ -293,6 +293,19 @@ class ConcreteMachine: } } } break; + + // DMA. + case 0x7fc302: case 0x7fc303: case 0x7fc304: case 0x7fc305: case 0x7fc306: + if(cycle.operation & Microcycle::Read) { + const uint8_t value = 0; + if(cycle.operation & Microcycle::SelectByte) { + cycle.value->halves.low = value; + } else { + cycle.value->halves.high = value; + cycle.value->halves.low = 0xff; + } + } + break; } return HalfCycles(0); }