David Given
a59b59fea4
First sector visualisation! Doesn't look bad.
2022-02-25 01:31:10 +01:00
David Given
5c063a9de3
Replumb the visualiser data flow... again. I think I might have it right this
...
time.
2022-02-25 00:36:12 +01:00
David Given
3666a7d7bd
Merge.
2022-02-24 23:52:18 +01:00
David Given
eade2e279e
Make the internal disk data structures all const, to allow us to pass them to
...
the GUI UI thread safely.
2022-02-24 22:46:10 +01:00
David Given
a67b7c80c1
Rework the visualiser to look better, maybe? Also fiddle with the logger
...
somewhat. There's a pending problem where it's not safe to send mutable objects
through the logger to the visualiser, which will need work.
2022-02-23 23:50:29 +01:00
David Given
0aa0c6866c
Do a very basic read/write visualisation. It looks like suck.
2022-02-22 22:35:13 +01:00
David Given
21b3d1c521
Remove stuff which is too modern for Ubuntu.
2022-02-19 22:56:13 +01:00
David Given
f2bdd1cc49
More work on the logger overhaul: the reader should be done now.
2022-02-19 22:48:44 +01:00
David Given
649b78611c
Work-in-progress logging overhaul.
2022-02-16 21:24:17 +01:00
David Given
89688394f8
Replace the upgradefluxfile builtin with a seperate upgrade-flux-file tool.
...
This allows us to remove all the SQL stuff from the main program, and restores
the ability to upgrade from version 2 SQL files.
2022-02-04 21:27:24 +01:00
Thomas Daede
b8c58b12fd
Add option to rescale flux source pulses.
...
This actually scales by the reciprotal of the flux sink, to
allow the same value to be set for both options.
2022-01-17 16:53:50 -08:00
Howard M. Harte
5ada533b06
reader: Fix conflicting sector error message.
...
The conflicting sector error message incorrectly displays the track instead
of the sector in conflict.
2021-12-25 09:10:53 -08:00
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