Commit graph

12 commits

Author SHA1 Message Date
snow flurry 7f7b05cf05 dosfs: parsing fixes
* don't include spaces in fext
* read fat12 chains properly
2020-11-17 12:55:16 -08:00
snow flurry cfc1f19ec6 config: deal with whitespace at line start 2020-11-16 22:56:40 -08:00
snow flurry be27cccf45 config: fix some glaring errors...
... like not properly initializing the config struct. Sigh.
2020-11-16 20:56:25 -08:00
snow flurry 6e9a68711d config: "line ends early" is now a fatal error 2020-11-16 20:31:42 -08:00
snow flurry 50f3806f15 dosfs: get_byte_offset requires an unsigned offset
No reason for it to be negative, and gcc -Wextra complains when
it's signed.
2020-11-16 20:30:41 -08:00
snow flurry c8494b86bd config: multiple parser fixes
Still need to confirm it actually parses, but we're getting there?
2020-11-16 19:46:51 -08:00
snow flurry e7b8a47e49 debug: remove some parentheses 2020-11-16 19:42:27 -08:00
snow flurry c35c6f0389 config: it compiles???
broken though
2020-11-16 19:25:07 -08:00
snow flurry dccbb40798 config: add (non-working) implementation
I believe there's a lot that's missing here, and honestly I don't
like how messy it feels. I can already see a couple edge cases
where things might break or work weirdly, but for now we can probably
gloss over them...
2020-11-16 17:32:03 -08:00
snow flurry 9d18bc84d0 dosfs: Remove dos_fread(), add get_byte_offset()
A read() analogue wouldn't be particularly useful here since we're
just poking at bytes, but having a way to get the "real" offset in
a file sure would be!
2020-11-14 14:11:34 -08:00
snow flurry cd49319674 config: forgot some struct fields 2020-11-13 22:09:38 -08:00
snow flurry a6d33cae7c Initial commit 2020-11-13 21:43:35 -08:00