Add support for FM decoding and Acorn DFS disks, requiring some rearrangement.

Also make the Brother two revolutions thing (which DFS also needs) the default.
This commit is contained in:
David Given
2019-02-12 21:29:31 +01:00
parent 10c838b4b7
commit 12135b5dd6
16 changed files with 266 additions and 34 deletions

View File

@@ -48,6 +48,11 @@ void setReaderDefaultSource(const std::string& source)
::source.set(source);
}
void setReaderRevolutions(int revolutions)
{
::revolutions.value = ::revolutions.defaultValue = revolutions;
}
std::unique_ptr<Fluxmap> ReaderTrack::read()
{
std::cout << fmt::format("{0:>3}.{1}: ", track, side) << std::flush;