Files
fluxengine/lib/drive.proto
David Given d303067deb Massive refactor to work in logical cylinders everywhere. The logical/physical
mapping is now done at the last stage and should, ideally, be automatic. I'm
sure there are bugs everywhere.
2022-03-25 00:22:28 +01:00

35 lines
1.2 KiB
Protocol Buffer

syntax = "proto2";
import "lib/common.proto";
// Next: 13
message DriveProto
{
optional int32 drive = 1
[ default = 0, (help) = "which drive to write to (0 or 1)" ];
optional IndexMode index_mode = 2
[ default = INDEXMODE_DRIVE, (help) = "index pulse source" ];
optional int32 hard_sector_count = 3
[ default = 0, (help) = "number of hard sectors on disk" ];
optional bool high_density = 4
[ default = true, (help) = "set if this is a high density disk" ];
optional bool sync_with_index = 5
[ default = false, (help) = "start reading at index mark" ];
optional double revolutions = 6
[ default = 1.2, (help) = "number of revolutions to read" ];
optional int32 cylinders = 7
[ default = 81, (help) = "Number of cylinders supported by drive" ];
optional int32 heads = 8
[ default = 2, (help) = "Number of heads supported by drive" ];
optional int32 head_bias = 10 [
default = 0,
(help) = "Bias to apply to the head position (in cylinders)"
];
optional int32 head_width = 11
[ default = 1, (help) = "Width of the head (in cylinders)" ];
optional int32 tpi = 9 [ default = 96, (help) = "TPI of drive" ];
}
// vim: ts=4 sw=4 et