Commit Graph

1255 Commits

Author SHA1 Message Date
David Given
c81c1926c0 Wire up the encode/decode tests. Hey, look, failures! 2021-07-31 00:38:13 +02:00
David Given
7ab1288424 Pretty sure the Atari formats don't need swap_sides at all. 2021-07-31 00:37:55 +02:00
David Given
3ee88adfa9 Add a simple tool for doing round-trip encode/decode tests. 2021-07-30 00:10:54 +02:00
David Given
2a06adcabb Merge pull request #310 from davidgiven/ibm
The 1581 format doesn't need swap_sides.
2021-07-22 00:20:42 +02:00
David Given
8cec3354ea The 1581 format doesn't need swap_sides. 2021-07-22 00:01:07 +02:00
David Given
f9df728f45 Merge pull request #309 from davidgiven/ibm
Fix swap_sides on the IBM encoder/decoder.
2021-07-21 21:12:36 +02:00
David Given
46eead34c4 Warning fix. 2021-07-21 21:00:57 +02:00
David Given
786b35fee2 Fix swap_sides on the ibm encoder/decoder to work; remember to specify it for
both the encoder and decoder.
2021-07-21 20:57:43 +02:00
David Given
5c6c609991 Merge pull request #308 from davidgiven/protobuf
Properly merge in the default settings.
2021-07-20 21:15:49 +02:00
David Given
0be8fedf26 MergeFromString() is apparently too new for the version of protobuf on GI's
Linux distro.
2021-07-20 20:42:33 +02:00
David Given
1f9aaf1ac0 Properly merge in the default settings. 2021-07-20 20:24:18 +02:00
David Given
3926de3fa1 Merge pull request #306 from davidgiven/verifier
Verify disks when writing them
2021-07-19 22:48:05 +02:00
David Given
9086f18413 Update documentation. 2021-07-19 22:39:14 +02:00
David Given
ad2576bc76 Hopefully, add support for 400kB Mac disks. 2021-07-19 22:39:07 +02:00
David Given
4523407d9d Fix the C64 encoder to work again. 2021-07-19 22:38:49 +02:00
David Given
53162ac934 Ensure that the 1200kB 5.25" IBM format uses high_density: true. 2021-07-19 22:12:50 +02:00
David Given
1dac51d4ba Don't try to verify when writing to files. 2021-07-19 21:52:16 +02:00
David Given
13deef3416 Plumb the verifier stuff through the rest of the encoders; fix it to actually
work and not crash, god I hate C++.
2021-07-19 21:46:48 +02:00
David Given
b887bebb26 First largely untested draft of a working verifier. 2021-07-19 00:13:06 +02:00
David Given
d51160babb Convert all the readables to formats. 2021-07-16 23:41:22 +02:00
David Given
44b9e7a398 Convert all the writables into formats. 2021-07-16 22:46:45 +02:00
David Given
065cd113c1 Rework to support combined format definitions, although with only the Amiga
format enabled.
2021-07-16 22:39:38 +02:00
David Given
a5f618b7e4 Merge pull request #304 from davidgiven/verifier
Massive refactor to simplify the logic.
2021-07-16 19:04:55 +01:00
David Given
a06e4e862d Remove junk files. 2021-07-16 19:56:07 +02:00
David Given
084c858446 Fix seg fault when writing non-existent sectors. 2021-07-16 19:55:55 +02:00
David Given
5d889d4d95 Remove Track, which is now obsolete. 2021-07-16 00:00:11 +02:00
David Given
f589e094b2 Remove RawRecord, which is now obsolete. 2021-07-15 23:55:29 +02:00
David Given
2eff798d74 Remove SectorSet, which is now obsolete. 2021-07-15 23:51:02 +02:00
David Given
239cecff9e Convert all the encoders and imagereaders to the new scheme. 2021-07-15 23:43:07 +02:00
David Given
fa36af454e The encoders and decoders all build now. 2021-07-15 23:13:59 +02:00
David Given
458d0f7a1b Another mahoosive refactor: move away from using protos for the disk output in
favour of pod objects, which allows STL contains. Lots of shared_ptrs
everywhere. Much simpler and more effective code. The reader works with one of
the decoders; still have to do the rest of them and the encoders.
2021-07-15 22:50:29 +02:00
David Given
f1f27ffd33 The protoified reader now builds and runs, although doesn't work properly. 2021-07-11 23:53:50 +02:00
David Given
4a2e09e8eb Merge from master. 2021-07-11 17:38:09 +02:00
David Given
4b3fada646 Archival checkin (WIP). 2021-07-11 17:36:42 +02:00
David Given
690befc98b Merge pull request #302 from davidgiven/cleanup
More refactoring and cleanup, this time of the encoders.
2021-07-11 16:34:56 +01:00
David Given
c6b3c0f9eb Remove stray flags from the Macintosh encoder. 2021-07-11 17:03:34 +02:00
David Given
b423a71b38 Refactor the encoders the same way that's been done for the decoders. 2021-07-11 16:55:18 +02:00
David Given
e226773066 Merge pull request #301 from davidgiven/cleanup
Refactor the decoders
2021-07-11 15:19:14 +01:00
David Given
98918d160a Convert the ZilogMcz decoder. 2021-07-11 16:12:34 +02:00
David Given
969298fb58 Convert the Victor9k decoder. 2021-07-11 16:10:26 +02:00
David Given
bc60f3b45a Convert the Northstar decoder. 2021-07-11 16:08:16 +02:00
David Given
f7a4785d22 Convert the Tids990 decoder. 2021-07-11 16:04:44 +02:00
David Given
1bf41cbfd7 Convert the MX decoder. 2021-07-11 16:02:41 +02:00
David Given
e9d80423ae Convert the Micropolis decoder. 2021-07-11 16:00:46 +02:00
David Given
928ffbd7af Convert the Macintosh decoder. 2021-07-11 15:58:40 +02:00
David Given
25ebad2448 Convert the IBM decoder. 2021-07-11 15:56:20 +02:00
David Given
dd951dc0ed Convert the Fb100 decoder (which I think got lost in the last big refactor). 2021-07-11 15:54:04 +02:00
David Given
aed9e44b6b Convert the Durango F85 decoder. 2021-07-11 15:50:35 +02:00
David Given
1fa2547aff Convert the C64 decoder. 2021-07-11 13:04:07 +02:00
David Given
164ceb845e Convert the Brother decoder. 2021-07-11 13:01:56 +02:00