114 Commits

Author SHA1 Message Date
David Given
d200633747 Fix windows weirdness. 2025-09-20 03:23:55 +02:00
David Given
53026f3d02 Rework the way locations are handled to use the new locations
microformat rather than the old RangeProto.
2025-08-16 16:59:44 +02:00
David Given
15a69f6dcb Make build with the new ab --- but the tests fail. 2025-03-17 22:33:54 +01:00
David Given
0f763fe06b Patch up for the libfmt change and update to c++20.Patch up for the
libfmt change and update to c++20.
2025-03-12 01:22:18 +01:00
David Given
cd36caccc7 Warning fix. 2024-11-22 20:34:00 +01:00
David Given
38af98ec9b Reformat. 2024-10-19 18:02:16 +02:00
David Given
33d241c33e Move common.proto into config. 2024-10-19 16:58:44 +02:00
David Given
c42e73f17a Modularise fluxsink and usb. 2024-10-16 00:41:57 +02:00
David Given
7983a4b883 Move the external file format stuff into its own module. 2024-10-15 00:46:46 +02:00
David Given
ea4a147751 Move fluxmapreader/fluxpattern into data. 2024-10-15 00:00:27 +02:00
David Given
c5373480ba Move a lot of the data-handling utilities into their own module. 2024-10-13 13:35:48 +02:00
David Given
e1f2494966 Create a config module containing all the configuration, proto and flags
stuff.
2024-10-13 11:57:18 +02:00
David Given
9ddfa5a56b Move the logger into core. 2024-10-13 11:39:33 +02:00
David Given
665ceb9ea6 Add missing file. 2024-10-08 23:24:07 +02:00
David Given
fc8d0283b1 Remove the applesauce.cc and test, as it's not used any more. 2024-10-02 00:28:04 +02:00
David Given
5e892e8fc3 Fixup for Applesauce. 2024-10-02 00:23:39 +02:00
David Given
8b124e5ced Merge. 2024-10-01 23:58:48 +02:00
David Given
65fb3e9e76 Detect index marks and interleave them into the flux stream. 2024-10-01 22:26:02 +02:00
David Given
33f3c97b03 Crudely hack in a lock against writing, as I'll have to wait for the v3
firmware.
2024-10-01 21:30:53 +02:00
David Given
ca940d1599 Refactor core libraries into their own library. 2024-10-01 20:36:53 +02:00
David Given
d00fba02a0 Rename greaseWeazle to greaseweazle (as it needs doing). 2024-09-30 22:03:17 +02:00
David Given
045e5e7303 Rename write_clock to write_clock_ns, because it is. Tweak the default value
for correctness.
2024-09-30 22:02:09 +02:00
David Given
6fd98e3c67 Writing with the Applesauce now mostly works, although there's still stuff to
be dealt with.
2024-09-29 23:40:19 +02:00
David Given
38b8cd2574 Reads mostly work; writes not yet. 2024-09-29 13:05:46 +02:00
David Given
6b28f36b97 getVersion() doesn't need to be a public USB method. 2024-09-28 23:44:33 +02:00
David Given
d394b21920 Got our first track read! 2024-09-28 23:39:30 +02:00
David Given
14255a5076 Successfully read raw Applesauce data. 2024-09-28 23:07:05 +02:00
David Given
8fa1a887ce Initial work towards Applesauce support --- you can connect to the device and
test bandwidth.
2024-09-28 20:04:54 +02:00
David Given
2840831017 Initial boilerplate for the Applesauce. 2024-09-28 17:03:59 +02:00
David Given
653a6a0189 Be more consistent about DTR toggling (needed to reset serial devices). 2024-05-01 12:54:22 +02:00
p-j-b
c2248c7e4a Added CLRDTR and SETDTR to setBaudRate
Fixes hang in Windows with Adafruit Floppy GreaseWeazle
2024-04-02 13:05:29 +01:00
David Given
7095c03e28 Fix a whole pile of missing 'override' keywords. 2024-01-22 20:55:38 +01:00
David Given
533b217c8f Eliminate the broken tpi system for a simple drive/format type field. 2023-10-29 21:10:14 +01:00
David Given
f5f223f622 First steps towards reworking the build system... again. 2023-10-21 23:02:46 +02:00
David Given
95b703b1ea Tidy reporting of USB errors. 2023-08-19 20:46:41 +02:00
dg
1330d56cdd Fix a bunch of errors caused by changes to libfmt. 2023-07-07 21:32:21 +00:00
David Given
d4c0853e1f Reset the Greaseweazle data stream when connecting. 2023-05-25 22:23:28 +02:00
David Given
53adcd92ed Spell (and capitalise) Greaseweazle correctly. 2023-05-25 19:50:05 +02:00
dg
dcfcc6271c Sort out a whole bunch of other things, including cleaning up the way the
verification source is handled.
2023-05-12 23:28:25 +00:00
dg
42e6c11081 Migrate to a new global config object. 2023-05-10 23:13:33 +00:00
dg
9ba3f90f1e Change the global config variable to a globalConfig() function. 2023-05-10 22:07:17 +00:00
dg
cf537b6222 Add the proto part of option requirements. 2023-05-10 18:29:46 +00:00
dg
d4b55cd8f5 Switch from Logger() to log(). 2023-05-09 22:47:36 +00:00
dg
466c3c34e5 Replace the Error() object with an error() function which takes fmt
formatspecs, making for much cleaner code. Reformatted everything.

This actually happened in multiple steps but then I corrupted my local
repository and I had to recover from the working tree.
2023-05-09 20:59:44 +00:00
dg
7c40093698 Try to work around weird test failure on Windows. 2023-05-06 22:30:50 +00:00
dg
2022732dd9 Some final tidying. 2023-04-04 20:12:21 +00:00
dg
1f74d9189f Make the new GUI actually work, to a certain extent. 2023-04-02 22:54:09 +00:00
Thomas Daede
968184fa7a Greaseweazle: Fix RPM measurement in some circumstances.
Accumulate number of ticks returned in FLUXOP_SPACE so that they
count towards the total track time.
2022-05-29 23:17:35 -07:00
Jeff Epler
5e4c7719ff Add support for the interfacing to an Apple Disk ][
Some folks may want to use interfaces besides PC/Shugart ones.
Together with https://github.com/adafruit/Adafruit_Floppy/pull/15
and a hand wired board I'm able to read flux from an Apple Disk ][
2022-04-19 08:51:16 -05:00
David Given
3c17e74f6d Bump the protocol version to ensure people upgrade. 2022-03-26 21:54:29 +00:00