mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Some folks may want to use interfaces besides PC/Shugart ones. Together with https://github.com/adafruit/Adafruit_Floppy/pull/15 and a hand wired board I'm able to read flux from an Apple Disk ][
29 lines
625 B
Protocol Buffer
29 lines
625 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 {
|
|
oneof device {
|
|
string serial = 1
|
|
[(help) = "serial number of FluxEngine or GreaseWeazle device to use"];
|
|
}
|
|
|
|
oneof config {
|
|
GreaseWeazleProto greaseweazle = 2 [(help) = "GreaseWeazle-specific options"];
|
|
}
|
|
}
|