The Amiga writer now generates valid flux files --- but it looks like the

writer's broken (both the Amiga and the Brother have failed).
This commit is contained in:
David Given
2019-12-14 20:44:48 +01:00
parent 5a0fb2761a
commit 792cc88192
9 changed files with 226 additions and 68 deletions

View File

@@ -20,6 +20,7 @@ extern void setDecoderManualClockRate(double clockrate_us);
extern Bytes decodeFmMfm(std::vector<bool>::const_iterator start,
std::vector<bool>::const_iterator end);
extern void encodeMfm(std::vector<bool>& bits, unsigned& cursor, const Bytes& input);
static inline Bytes decodeFmMfm(const std::vector<bool> bits)
{ return decodeFmMfm(bits.begin(), bits.end()); }