1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Add TODO.

This commit is contained in:
Thomas Harte 2023-12-12 09:35:05 -05:00
parent 070f8d8bc3
commit d523242e08

View File

@ -152,6 +152,8 @@ class FloppyController {
const auto sector = drives_[decoder_.target().drive].sector(target.head, target.sector); const auto sector = drives_[decoder_.target().drive].sector(target.head, target.sector);
if(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++) { for(int c = 0; c < 128 << target.size; c++) {
const auto access_result = dma_.write(2, sector->samples[0].data()[c]); const auto access_result = dma_.write(2, sector->samples[0].data()[c]);
switch(access_result) { switch(access_result) {