Files
fluxengine/lib/usb/usb.proto
Jeff Epler 5e4c7719ff Add support for the interfacing to an Apple Disk ][
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 ][
2022-04-19 08:51:16 -05:00

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"];
}
}