mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-24 11:11:02 -07:00
33 lines
885 B
Protocol Buffer
33 lines
885 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "lib/config/common.proto";
|
|
|
|
message GreaseweazleProto {
|
|
enum BusType { /* note that these must match CMD_SET_BUS codes */
|
|
BUSTYPE_INVALID = 0;
|
|
IBMPC = 1;
|
|
SHUGART = 2;
|
|
APPLE2 = 3;
|
|
};
|
|
|
|
optional string port = 1
|
|
[(help) = "Greaseweazle serial port to use"];
|
|
optional BusType bus_type = 2
|
|
[(help) = "which FDD bus type is in use", default = IBMPC];
|
|
}
|
|
|
|
message ApplesauceProto {
|
|
optional string port = 1
|
|
[(help) = "Applesauce serial port to use"];
|
|
optional bool verbose = 2
|
|
[(help) = "Enable verbose protocol logging", default = false];
|
|
}
|
|
|
|
message UsbProto {
|
|
optional string serial = 1
|
|
[(help) = "serial number of FluxEngine or Greaseweazle device to use"];
|
|
|
|
optional GreaseweazleProto greaseweazle = 2 [(help) = "Greaseweazle-specific options"];
|
|
optional ApplesauceProto applesauce = 3 [(help) = "Applesauce-specific options"];
|
|
}
|