Commit Graph

17 Commits

Author SHA1 Message Date
David Given
7983a4b883 Move the external file format stuff into its own module. 2024-10-15 00:46:46 +02:00
David Given
817cf03592 Fixup after last checkin. 2024-10-01 20:55:02 +02:00
David Given
627820cddc Build the utilities. 2023-10-22 21:35:27 +02: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
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
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
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 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
David Given
4102e3bd41 Add brother120tool for extracting files from Brother 120kB floppy images. 2019-02-15 20:28:30 +01:00