File system mapping now sort of works in the filesystem, but there are

problems. These are potentially due to an incorrect Prodos mapping but I'm not
sure.
This commit is contained in:
David Given
2022-09-11 19:01:25 +02:00
parent 3cb098f9ba
commit 0c40a3e79c
10 changed files with 99 additions and 78 deletions

View File

@@ -69,8 +69,10 @@ public:
* populate any non-changed sectors as we can only write a track at
* a time. */
if (!imageContainsAllSectorsOf(
_changedSectors, track, side, trackLayout.logicalSectorOrder))
if (!imageContainsAllSectorsOf(_changedSectors,
track,
side,
trackLayout.logicalSectorOrder))
{
/* If we don't have any loaded sectors for this track, pre-read
* it. */

View File

@@ -169,7 +169,7 @@ Filesystem::Filesystem(std::shared_ptr<SectorInterface> sectors):
Error() << "FS: filesystem support cannot be used without concrete "
"layout information";
for (int sectorId : trackLayout.logicalSectorOrder)
for (int sectorId : trackLayout.filesystemSectorOrder)
_locations.push_back(std::make_tuple(track, side, sectorId));
}
}