From d523242e08a0e9ead69a82b99310a867eed1d1dc Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 12 Dec 2023 09:35:05 -0500 Subject: [PATCH] Add TODO. --- Machines/PCCompatible/PCCompatible.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Machines/PCCompatible/PCCompatible.cpp b/Machines/PCCompatible/PCCompatible.cpp index c51648cef..dd0cb875e 100644 --- a/Machines/PCCompatible/PCCompatible.cpp +++ b/Machines/PCCompatible/PCCompatible.cpp @@ -152,6 +152,8 @@ class FloppyController { const auto sector = drives_[decoder_.target().drive].sector(target.head, target.sector); if(sector) { + // TODO: I _think_ I'm supposed to validate the rest of the address here? + for(int c = 0; c < 128 << target.size; c++) { const auto access_result = dma_.write(2, sector->samples[0].data()[c]); switch(access_result) {