mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
25 lines
602 B
Protocol Buffer
25 lines
602 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "lib/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 UsbProto {
|
|
optional string serial = 1
|
|
[(help) = "serial number of FluxEngine or Greaseweazle device to use"];
|
|
|
|
optional GreaseweazleProto greaseweazle = 2 [(help) = "Greaseweazle-specific options"];
|
|
}
|