Commit Graph

2064 Commits

Author SHA1 Message Date
David Given
5d6f031973 Merge pull request #568 from davidgiven/vfs
Add Macintosh HFS VFS support.
2022-08-29 23:16:40 +02:00
David Given
72c56ee337 Don't use fmt::format to format chrono times, as apparently that's too new for
Ubuntu.
2022-08-29 22:56:41 +02:00
David Given
72498a200a Fetching HFS files now gives you a AppleSingle file with both data and resource
forks.
2022-08-29 22:23:36 +02:00
David Given
1e9e95754c Add a helper routine for ISO-8601 formatting. 2022-08-29 22:22:49 +02:00
David Given
eb99cd895c HFS now works, inasmuch as you can fetch data forks. 2022-08-29 20:24:29 +02:00
dtrg
5625cf5254 More hfs boilerplate. 2022-08-29 13:41:53 +00:00
dtrg
9c6dc0a2f8 Make hfsutils build. 2022-08-29 13:31:08 +00:00
David Given
3458874a68 Raw import of hfsutils. 2022-08-29 01:22:24 +02:00
David Given
4e93b43d8d Merge pull request #567 from davidgiven/vfs
Add basic read-only Amiga FFS support, via adflib.
2022-08-29 01:04:38 +02:00
David Given
b895545ec3 Merge from master. 2022-08-29 00:33:27 +02:00
David Given
92316c4d83 Add read-only Amiga FFS support, via adflib. 2022-08-29 00:33:01 +02:00
David Given
af71409cab Merge pull request #566 from davidgiven/vfs
Add read-only support for CP/M file systems.
2022-08-28 19:50:05 +02:00
David Given
df5a60d946 Make adflib build. 2022-08-28 18:28:13 +02:00
David Given
0181ab1c03 Raw import of adflib. 2022-08-28 18:18:51 +02:00
David Given
1a5ccca67a Add pretty dubious support for logical/physical extents; we can, at least, read
files from my only PF-10 test disk.
2022-08-28 18:01:59 +02:00
David Given
99e1a90729 Implement basic CP/M filesystem support. 2022-08-28 16:37:21 +02:00
David Given
54e11e96e9 Merge pull request #565 from davidgiven/mapper
Remove the sector info from the IBM trackdata in favour of the new layout{} structure.
2022-08-28 00:40:27 +02:00
David Given
b339a776fc Add the new logical sector mappings. 2022-08-28 00:24:13 +02:00
David Given
db1a84b490 Copy the sector mapping stuff into Layout. 2022-08-28 00:15:46 +02:00
David Given
3256b4f627 Eliminate the IBM trackdata sector layout stuff in favour of the layout{}
clause.
2022-08-27 23:23:28 +02:00
David Given
c16ab349b1 Refactor a pile of stuff to allow the physical and logical sector mappings to
be put in the layout{} config section, where they belong.
2022-08-27 19:58:48 +02:00
David Given
a981cb72d0 Merge pull request #564 from davidgiven/vfs
Add filesystem support, allowing direct access to files on disk.
2022-08-27 18:31:07 +02:00
David Given
5251a5f195 Add a couple of missing entrypoints. 2022-08-27 18:10:10 +02:00
David Given
917d5d2dd2 Enable FatFS on a bunch of formats; better error reporting (i.e., some). 2022-08-27 18:07:04 +02:00
David Given
983f6caf46 FatFS works (read-only, lightly tested). 2022-08-27 17:43:46 +02:00
David Given
c9a58e9d57 Allow pulling files off disk. 2022-08-27 16:06:33 +02: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
0d502933ae Refactor a bunch of file stuff to be shorter and cleaner. 2022-08-27 13:21:03 +02:00
David Given
cc4bb3a5ec Undo accidental change. 2022-08-27 13:03:49 +02:00
David Given
b42f82ecb1 Real disk access works, at least for ls. 2022-08-27 12:57:57 +02:00
David Given
b6beaae7da Try and make Acorn DFS writable. 2022-08-27 12:57:41 +02:00
David Given
e698900497 Merge from master. 2022-08-27 01:09:48 +02:00
David Given
bbad2fc1ba Merge pull request #563 from davidgiven/includes
Allow including config files from other config files.
2022-08-27 01:09:04 +02:00
David Given
e9f5087eb6 Don't show the _micropolis include config in the profiles list. 2022-08-27 00:55:51 +02:00
David Given
c1caa22524 Support simple includes in config files, useful for organisation. 2022-08-27 00:52:06 +02:00
David Given
5303903f89 Merge pull request #562 from davidgiven/layout
Refactor disk layout information.
2022-08-27 00:51:44 +02:00
David Given
27d520e42a Merge from master. 2022-08-27 00:16:49 +02:00
David Given
8607f4af57 Add a mode field to the dirent structure. 2022-08-27 00:06:16 +02:00
David Given
f0ec8bd5b9 More SectorInterface refactoring. 2022-08-26 00:43:01 +02:00
David Given
9007e264cf Configure and make fatfs build. 2022-08-26 00:33:38 +02:00
David Given
529bd6fa33 Raw import of fatfs. 2022-08-26 00:21:48 +02:00
David Given
eb8827bdf2 Merge from master. 2022-08-26 00:10:28 +02:00
David Given
be78d91a07 Merge pull request #561 from davidgiven/truncate
Fix CI builds on OSX.
2022-08-26 00:10:08 +02:00
David Given
20b7008994 Move sectorinterface into vfs. 2022-08-26 00:05:58 +02:00
David Given
84d7b1d4ba Or maybe it is. 2022-08-25 23:56:49 +02:00
David Given
0154ed46e8 Looks like truncate is already there? 2022-08-25 23:40:24 +02:00
David Given
5a11fa4704 Try to use coreutils truncate rather than Homebrew truncate, which has gone. 2022-08-25 23:38:17 +02:00
David Given
8b9e153ac4 Use the new layout information for VFS access. 2022-08-25 23:23:07 +02:00
David Given
badc7366c2 Fixup after merge. 2022-08-25 23:21:33 +02:00
David Given
24ef479913 Merge layout stuff. 2022-08-25 22:53:25 +02:00