David Given
d2f677d84e
Typo fix.
2021-12-05 17:00:28 +01:00
dg
18d90c44dd
Rework the flux decoders to add a desync opcode for separating multiple reads
...
in a flux stream. Finally add a unit test for the flux decoder.
2021-12-05 14:42:57 +00:00
David Given
6247d3c5e6
Don't print lots of digits after the decimal point in the amount of read data.
2021-11-27 23:38:25 +01: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
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
4b3fada646
Archival checkin (WIP).
2021-07-11 17:36:42 +02:00
David Given
8a136ac4f6
Allow imgimagewriter to write mixed-format disks; add an eco1 disk format for the VDS Eco1.
2021-05-19 22:12:23 +02:00
David Given
a0164b8de3
Rip out dataspecs everywhere.
2021-05-18 22:22:06 +02:00
David Given
a6b2e932fa
copy-flux-to works.
2021-05-18 20:13:03 +02:00
David Given
d246fca9df
Convert scptoflux to a proper flux source.
2021-05-18 01:09:55 +02:00
David Given
22ba38b2e0
Add rawread.
2021-05-17 01:06:09 +02:00
David Given
5a38db166f
Remove reader flags.
2021-05-15 18:56:30 +02:00
David Given
509217606c
Remove sqlite flux sink flags.
2021-05-15 13:42:30 +02:00
David Given
6fb694669c
Remove the fluxmapreader flags.
2021-05-15 13:34:26 +02:00
David Given
5a63172a86
Remove the hardware source/sink flags.
2021-05-15 13:06:53 +02:00
David Given
3a8ddf8025
The writer now works with the new config system.
2021-05-13 15:55:05 +02:00
David Given
6ff84b3693
Bash the imagewriter stuff into working with the new config system.
2021-05-12 23:08:17 +02:00
David Given
df0a9bac96
More config machinery: the reader now reads (but can't put the resulting image
...
anywhere).
2021-05-12 00:26:42 +02:00
David Given
e912152784
Common out the high-density flag too.
2021-05-07 00:27:10 +02:00
David Given
0b285aa7f4
Remove the visualiser integration from the reader.
2021-04-16 21:38:26 +02:00
Eric Anderson
f1506d0dbd
Add firmware support for hard sectors
2020-12-24 17:39:52 -08:00
David Given
8b6be5a501
Move usb.{cc,h} into its own directory.
2020-08-09 21:14:09 +02:00
David Given
984cdaeb03
Make nanoseconds_t a double to prevent overflow on very large numbers of
...
revolutions (I've just seen a flux file with 50).
2020-06-26 14:47:25 +02:00
David Given
30646ccb07
Fix an Amiga decoder bug where truncated sectors would be considered valid (the
...
Amiga checksum algorithm is weak and zero bytes don't contribute to the
checksum).
2020-04-08 23:35:55 +02:00
David Given
cd19fcdadd
The CSV report now writes records for every sector in the output map, even the
...
missing ones.
2020-03-31 00:14:23 +02:00
David Given
37aa8b62b0
Add a --write-csv=X option to the reader to dump the sector status map as a
...
machine-readable file.
2020-03-14 14:35:19 +00:00
David Given
323da8272a
Hopefully add support for giving the reader a set of required sectors, so if
...
one is missing then we can tell and the track can be reread.
2020-02-21 22:14:44 +01:00
David Given
be41c1de76
You now need to explicitly specify whether flux files get merged or
...
overwritten, because the old behaviour was weird. Reader uses SqliteFluxSink to
write flux files, rather than raw database accesses.
2020-02-08 12:41:50 +01:00
David Given
9dc1067032
Add --dump-sectors. Sector positions are recorded correctly.
2020-01-26 18:30:35 +01:00
David Given
6af80d1e5e
Improve some messaging. A data record is always pushed, even if it's empty (to
...
help debugging).
2020-01-26 17:49:12 +01:00
David Given
7c66e1b0d4
Don't recalibrate after drive errors --- it's really annoying and I don't think it helps.
2019-12-14 21:43:48 +01:00
David Given
7988d0fe24
Don't replace bad sectors with more bad sectors. This means that if a sector is
...
permanently bad, the one which wins and goes into the output SectorSet is the
first one, not the last one. Frequently the last sector is truncated by the end
of read and so it isn't useful.
2019-08-27 22:39:24 +02:00
David Given
27f5c294b1
The visualiser period can now be specified in a flag.
2019-08-27 01:21:49 +02:00
David Given
b9a53e0d1c
First draft of the visualiser.
2019-08-27 01:07:57 +02:00
David Given
60bfe050d3
Refactor the way image extensions are handled to be generally cleaner. Add
...
support for validating ImageSpecs before we actually want to read/write an
image, so as to allow us to check the extension *before* wasting time reading a
disk. Make .d81 an alias of .img.
2019-08-21 00:45:10 +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
eb924780ab
Refactor dataspecs to allow them to be used for other things too.
2019-08-06 23:50:02 +02:00
David Given
8e1774c69f
Show the clock rate in kHz as well, because that's more useful.
2019-07-12 23:09:50 +02:00
David Given
032df676c1
Replace meson with a very small shell script.
2019-07-03 22:18:34 +02:00
David Given
f7af8bb99b
I... think it's done? That was suspiciously easy.
2019-07-02 23:20:47 +02:00
David Given
a1c207cb8f
First milestone towards flags rewrite --- it builds and the tests pass, but
...
nothing actually works.
2019-07-02 23:06:40 +02:00
David Given
76e22995b7
Fix memory corruption issue when replacing sectors.
2019-06-27 22:10:35 +02:00
David Given
2ddc1045ec
Rework the Victor 9000 decoder to use the new architecture.
2019-04-19 14:39:26 +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
4b480ce4f3
Rewrite the Macintosh decoder.
2019-04-18 01:31:52 +02:00
David Given
5ce2acdfb4
The new decoder architecture now works, at least for the FB100. All I need now
...
is to rewrite every single other decoder.
2019-04-18 00:47:28 +02:00