Nick Downing
08f870dd38
Fix critical bug with saving that prevents BLOAD/BRUN working on the saved file
2022-06-09 17:56:46 -04:00
Vince Weaver
87f7fc15f5
dos33: fix some issues when copying files off disk image
...
ran across this when trying to debug a different issue
by default we can only get total sector size from the T/S lists
(which is only a multiple of 256 bytes) but in addition A (basic)
and B (binary) files also tell you the exact length. So we used that
to truncate to the exact length
Only it turns out some programs (I'm looking at you, cracked version
of WAVY NAVY) intentionally set the file size to be wrong and so
we were truncating things improperly
I think this updated code is a bit more clear. Hopefully it doesn't
break anything, I need a better test suite.
2022-06-09 16:46:17 -04:00
Vince Weaver
db49ead0b6
dos33: try to propogate errors a bit better
2022-06-06 17:01:07 -04:00
Vince Weaver
6b5c3612b0
dos33: fix disk corruption on DELETE
...
was using &vtoc where it should have just been vtoc so writing the
pointer value rather than the buffer. urgh
2021-08-24 18:15:00 -04:00
Vince Weaver
0b52583de6
dos33: add debugging
...
chasing a weird corruption issue on DELETE
2021-08-24 17:06:05 -04:00
Vince Weaver
5e04bbf227
prodos: implement RENAME support
2021-08-03 13:33:29 -04:00
Vince Weaver
468387a47f
dos33: make catalog printing a bit more robust
...
had a (corrupted?) LOGO data disk that was causing issues
2021-07-26 16:58:18 -04:00
Vince Weaver
a49b1d8c85
hgrmist: work on autodetect of sound
2021-07-08 00:36:35 -04:00
Vince Weaver
6475967948
dos33_raw: add some sanity checks
...
try to warn a bit if we write beyond the end of what we expect
2021-04-26 15:24:48 -04:00
Vince Weaver
fc2c2f3f91
dos33: split off the dump code
2021-03-29 16:28:14 -04:00
Vince Weaver
c3a278b76a
utils: dos33: split off catalog code
2021-03-29 16:02:55 -04:00
Vince Weaver
8e05dc8b32
utils: mkdos33fs: improve some more
2021-03-29 14:25:58 -04:00
Vince Weaver
a2a9d6ef52
utils: dos33: whitespace cleanup
2021-03-29 13:45:15 -04:00
Vince Weaver
7458087e2d
utils: dos33: split out the vtoc_bitmap code so we can share it
2021-03-29 13:33:03 -04:00
Vince Weaver
a64a65ccdd
dos33fs: allow ignoring file errors to create fancy CATALOGs
2021-03-01 22:46:19 -05:00
Vince Weaver
7736360c30
utils: fix up so all compiles again
2021-01-05 16:13:43 -05:00
Vince Weaver
b1238af49d
re-arranged the entire directory structure
...
this will probably upset people
2021-01-05 15:29:31 -05:00