Commit Graph

51 Commits

Author SHA1 Message Date
David Given
ed604f6284 Finally eliminate the +lib target. 2024-10-19 13:18:28 +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
a006e0bf6f Overhaul the log stuff to actually work again (better). 2024-10-13 23:26:12 +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
27ab1e3e5a Refactor a lot of the proto stuff. 2024-10-08 23:18:30 +02:00
David Given
817cf03592 Fixup after last checkin. 2024-10-01 20:55:02 +02:00
David Given
c115de9d40 Update to build with ab. 2024-03-29 23:53:05 +01:00
dg
dcb92db519 Remove old build system. 2023-10-26 19:29:01 +00:00
dg
8fd98d674a Additional windows fixes. 2023-10-26 18:26:10 +00:00
David Given
07aa416975 Make the tests work. 2023-10-22 22:57:54 +02:00
David Given
627820cddc Build the utilities. 2023-10-22 21:35:27 +02:00
dg
e61eeb8c6f Fetching the flux source is now done through Config. 2023-05-12 21:25:54 +00:00
dg
68d22e7f54 Fix build error. 2023-05-11 23:31:38 +00:00
dg
715c0a0c42 Move config file loading into config.cc. 2023-05-11 19:58:16 +00:00
dg
baaeb0bca7 Fix mangled formatting caused by clang-format. 2023-05-09 21:39:35 +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
David Given
c5fd24496f Zero-pad files which don't line up with sector boundaries. 2022-08-27 16:04:46 +02:00
David Given
58dbb1c7ef Add a 'binaries' pseudotarget so that just the binaries can be built without
the tests.
2022-06-16 19:41:57 +02:00
David Given
fa760b702c Fix C automatic dependencies to actually work. 2022-06-16 19:39:47 +02:00
David Given
ffece005c5 Use the correct extensions for the output binaries. 2022-06-15 21:46:50 +02:00
David Given
b025e6bb88 Remove dep/fmt completely. 2022-06-14 20:12:55 +02:00
David Given
521bbd4ea5 Make build on Windows (again). 2022-06-14 19:59:49 +02:00
David Given
62258be400 Add missing file. 2022-06-14 01:07:20 +02:00
David Given
f6bcc37168 Remove ackbuilder. Sob. 2022-06-14 00:24:31 +02:00
David Given
58aacd3f28 Finally make build on Windows again. 2022-06-12 12:29:53 +02:00
David Given
dff7502a92 Build the tools. 2022-06-11 23:57:05 +02:00
David Given
1454e200db Create bootable Brother disks. 2022-03-06 01:32:19 +01:00
David Given
752875061c Format. 2022-03-06 00:47:11 +01:00
David Given
6dcd97dedf Create executable files (although possibly not correctly). 2022-03-05 00:15:11 +01:00
David Given
549a984eab Add support for writing 120kB Brother disk images. Also add some utils tests,
because they needed it.
2022-03-04 23:42:29 +01:00
Howard M. Harte
6a1fb3d829 upgrade-flux-file: Fix for Windows
Close the database and remove the input file prior to renaming.
2022-02-19 13:14:25 -08: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
David Given
2520834b18 Add the brother240tool program. 2019-11-24 01:46:02 +01:00
David Given
7658c1d774 Move the fluxtoau tool into the main client. 2019-07-11 12:00:25 +02:00
David Given
31dc3504e6 Move the fluxtovcd file into the main client. 2019-07-11 11:52:38 +02:00
David Given
af0c9d4261 Move cwftoflux into the main client. 2019-07-11 11:45:15 +02:00
David Given
a1d345856e Add a tool for converting flux files directly to mono or stereo au files,
suitable for comparison in Audacity.
2019-07-10 22:56:39 +02:00
David Given
3c4487c42e Add the tool to export flux files as VCD, so that they can be read into
pulseview.
2019-07-09 00:48:35 +02:00
David Given
3b6ea24df5 Rename fnmatchemu to just emu, because I'm sure we'll want to put more stuff
there.
2019-07-08 23:21:49 +02:00
David Given
34a858346e Add our own copy of fnmatch(), which mingw doesn't have --- we need it for the
Brother tool and I'm sure it'll come in useful elsewhere.
2019-07-08 23:12:58 +02:00
David Given
9ae0842c63 New information from mathe1@github suggests that my interpretation of the type
byte was incorrect. Try to fix this.
2019-05-23 23:53:15 +02:00
David Given
db14642504 Beat the Kryoflux stream reader into enough shape that it will handle the weird
Kryoflux index markers; refactor it to use Bytes rather than raw streams
(because streams in C++ are terrible).
2019-04-14 14:35:52 +02:00
David Given
a79f3dff1e Fix OB1 error in the start position of Brother files. Headers and footers
should now be attached to the right file. Thanks to mathe1@github for figuring
this out.

Fixes: #47
2019-03-23 12:14:01 +01:00
David Given
d02e6b5936 Update cwftoflux to handle index information from CWF files. 2019-03-07 00:22:43 +01: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
b312437916 Remember to set the version when creating flux files. 2019-03-04 00:48:41 +01:00
David Given
cf81acd8a5 Add Kryoflux stream decoder tests --- sadly, no bugs. Add a tool to convert CWF
format files to FluxEngine files.
2019-03-02 20:02:24 +01:00
David Schmidt
eb8f3573b3 File sector start addresses are 16 bits long (well, maybe only 9) 2019-02-22 13:45:17 -05:00
David Given
fe307447c4 Okay, I have a better understanding of how Brother 120kB files work now. 2019-02-15 20:39:12 +01:00