mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
The disks are expected to contain 100,000 bitcells, so clock_period_us and rotational_period_ms need to align.
25 lines
670 B
Protocol Buffer
25 lines
670 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "lib/common.proto";
|
|
|
|
message MicropolisDecoderProto {
|
|
enum ChecksumType {
|
|
AUTO = 0;
|
|
MICROPOLIS = 1;
|
|
MZOS = 2;
|
|
}
|
|
|
|
optional int32 sector_output_size = 1 [default = 256,
|
|
(help) = "How much of the raw sector should be saved. Must be 256 or 275"];
|
|
optional ChecksumType checksum_type = 2 [default = AUTO,
|
|
(help) = "Checksum type to use: AUTO, MICROPOLIS, MZOS"];
|
|
}
|
|
|
|
message MicropolisEncoderProto {
|
|
optional double clock_period_us = 1
|
|
[ default = 2.0, (help) = "clock rate on the real device" ];
|
|
optional double rotational_period_ms = 2
|
|
[ default = 200.0, (help) = "rotational period on the real device" ];
|
|
}
|
|
|