Add read-only support for LIF filesystems.

This commit is contained in:
dg
2023-05-04 21:04:55 +00:00
parent baf02cb849
commit 2dc649ef09
8 changed files with 251 additions and 23 deletions

View File

@@ -59,26 +59,33 @@ message CbmfsProto
message ProdosProto {}
message AppledosProto {
optional uint32 filesystem_offset_sectors = 1 [
default = 0,
(help) = "offset the entire offset up the disk this many sectors"
];
message AppledosProto
{
optional uint32 filesystem_offset_sectors = 1 [
default = 0,
(help) = "offset the entire offset up the disk this many sectors"
];
}
message Smaky6FsProto {}
message PhileProto {
optional uint32 block_size = 1 [
default = 1024,
(help) = "Phile filesystem block size"
];
message PhileProto
{
optional uint32 block_size = 1
[ default = 1024, (help) = "Phile filesystem block size" ];
}
// NEXT_TAG: 14
message LifProto
{
optional uint32 block_size = 1
[ default = 256, (help) = "LIF filesystem block size" ];
}
// NEXT_TAG: 15
message FilesystemProto
{
enum FilesystemType {
enum FilesystemType
{
NOT_SET = 0;
ACORNDFS = 1;
BROTHER120 = 2;
@@ -88,12 +95,14 @@ message FilesystemProto
MACHFS = 6;
CBMFS = 7;
PRODOS = 8;
SMAKY6 = 9;
APPLEDOS = 10;
PHILE = 11;
SMAKY6 = 9;
APPLEDOS = 10;
PHILE = 11;
LIF = 12;
}
optional FilesystemType type = 10 [default = NOT_SET, (help) = "filesystem type"];
optional FilesystemType type = 10
[ default = NOT_SET, (help) = "filesystem type" ];
optional AcornDfsProto acorndfs = 1;
optional Brother120FsProto brother120 = 2;
@@ -103,9 +112,11 @@ message FilesystemProto
optional MacHfsProto machfs = 6;
optional CbmfsProto cbmfs = 7;
optional ProdosProto prodos = 8;
optional AppledosProto appledos = 12;
optional Smaky6FsProto smaky6 = 11;
optional PhileProto phile = 13;
optional SectorListProto sector_order = 9 [(help) = "specify the filesystem order of sectors"];
optional AppledosProto appledos = 12;
optional Smaky6FsProto smaky6 = 11;
optional PhileProto phile = 13;
optional LifProto lif = 14;
optional SectorListProto sector_order = 9
[ (help) = "specify the filesystem order of sectors" ];
}