Commit Graph

1897 Commits

Author SHA1 Message Date
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
David Given
1dd94a7d82 Refactor disk layout information out of ImgReaderWriterProto into a new
top-level config paragraph.
2022-08-25 22:51:26 +02:00
David Given
40d5d92dbc More API overhauling. 2022-08-25 21:40:21 +02:00
David Given
0cc3433d6d API cleanup; you can now view file metadata. 2022-08-25 19:37:41 +02:00
David Given
0e157af8d9 DFS and Brother120 can now list files (more or less). 2022-08-24 23:31:17 +02:00
David Given
0e719c2b86 More VFS boilerplate. 2022-08-24 20:21:55 +02:00
David Given
82fd336792 Prototype VFS API. 2022-08-24 00:32:36 +02:00
David Given
e733dc90d8 Merge pull request #550 from tdaede/d88_fix_sector_id
D88: Fix sector ID conditions when writing.
2022-08-10 11:35:04 +02:00
David Given
9985d80432 Merge pull request #549 from tdaede/d88_dd_sector_gaps
Add n88basic sector gaps to d88 reader for PC-88 DD disks.
2022-08-10 11:34:16 +02:00
Thomas Daede
7177a781dc D88: Fix sector ID conditions when writing.
This was failing to write the last sector in the image.
2022-08-09 22:46:43 -07:00
Thomas Daede
498558c2b1 Add n88basic sector gaps to d88 reader for PC-88 DD disks.
The values used for 1.2MB HD disks are too narrow for the
PC-88's disk controller.
2022-08-09 21:47:34 -07:00
David Given
c8e6795a90 Merge pull request #546 from wybren1971/IMDwriter
Im dwriter
2022-08-07 20:45:36 +02:00
David Given
1edc51c067 Merge pull request #547 from davidgiven/driveselect
Add a flux visualiser to the GUI.
2022-08-07 18:36:48 +02:00
David Given
6f7054c4b2 Set useful titles to all the windows. Also fix a nasty spurious drag caused by creating a
window with the left mouse button held down.
2022-08-07 18:12:57 +02:00
David Given
03d2a3a685 Windows are properly stacked and destructed in the right order. 2022-08-07 17:26:17 +02:00
David Given
1d4dccf454 Dataless sectors don't confuse the visualiser any more. 2022-08-07 17:17:24 +02:00
David Given
cb93890d13 Hex viewer windows are sized properly on Windows. 2022-08-07 17:13:35 +02:00
David Given
f39b2801b8 Make sure that drags are processed only when the left button is pressed. 2022-08-07 17:04:43 +02:00