Commit Graph

20 Commits

Author SHA1 Message Date
David Given
112377f885 Add pluggable image readers, plus some documentation. 2019-08-09 20:56:06 +02:00
David Given
38fab7edcb Refactor all the image writing stuff into a ImageWriter subclass hierarchy with
a factory based on extension.
2019-08-08 00:27:41 +02:00
David Given
d8172154c3 Output images now get geometry specs to indicate what kind of file to write. 2019-08-07 23:23:07 +02:00
David Given
76e22995b7 Fix memory corruption issue when replacing sectors. 2019-06-27 22:10:35 +02:00
David Given
5f8e0c846c Allow split decoders (into sector record and data record). 2019-04-19 00:55:01 +02:00
David Given
b158692a3a Radically simplify RawRecord and Sector. It all works, and the results are
better, but I've disabled a bunch of decoders for now.
2019-04-18 21:47:34 +02:00
David Given
94fb10eb02 Behemoth change to rework everything to use Bytes rather than vectors of
uint8_t. The tests pass, but of course, nothing decodes any more.
2019-03-05 00:10:20 +01:00
David Given
0eb7620854 Conflicted sectors are now treated as bad. 2019-03-03 11:39:54 +01:00
David Given
6384b92bed Stop using inline constructor initialiser list things for tuples, as
it's a recent feature and old compilers don't support them.
2019-02-15 13:44:44 +01:00
David Given
26d38826a7 Change the sector map so that it's readable. 2019-01-21 23:42:53 +01:00
David Given
d7cad63feb Add a basic fe-writebrother which so far can read image files. 2018-12-30 00:40:46 +01:00
David Given
9b610a9527 Factor Sector out into its own header. Sketch out Geometry. 2018-12-29 01:59:09 +01:00
David Given
490e649942 Added the SectorSet class for holding collections of Sector objects --- much
easier to deal with than ad-hoc maps.
2018-12-28 00:43:47 +01:00
David Given
c78dfb9d7c Avoid crash if decode produced no data. 2018-12-22 20:14:43 +01:00
David Given
93d317b6de Improve the sector visualisation. 2018-12-22 20:04:47 +01:00
David Given
f27df1a39f Improve handling of Brother bad sectors. Add the sector visualisation. 2018-12-22 19:30:15 +01:00
David Given
acd2a9c23b Add CRC checking for IBM disks. Weirdly, my 1200kB disk appears to have deleted
sectors (id mark F8) on it, where the checksums don't match. Myserious...
2018-10-22 02:45:18 +02:00
David Given
d7b2505720 You can now decode Brother disks to images. No CRC checking, though. 2018-10-21 19:10:33 +02:00
David Given
3a0ce92468 Fix a horrifying bug which was causing all data from USB to be discarded. 2018-10-20 19:39:34 +02:00
David Given
8244f9ec51 We can now decode IBM MFM disks all the way to an image, although with no CRC
checking as yet.
2018-10-20 19:25:20 +02:00