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 ][
This commit is contained in:
Jeff Epler
2022-04-19 08:35:42 -05:00
parent 8baf4ffd2f
commit 5e4c7719ff
3 changed files with 10 additions and 5 deletions

View File

@@ -75,9 +75,10 @@ extern Bytes stripPartialRotation(const Bytes& fldata);
/*
* CMD_SET_BUS CODES
*/
#define BUS_NONE 0
#define BUS_IBMPC 1
#define BUS_SHUGART 2
#define BUS_NONE 0
#define BUS_IBMPC 1
#define BUS_SHUGART 2
#define BUS_APPLE2 3
/*

View File

@@ -3,7 +3,7 @@ syntax = "proto2";
import "lib/common.proto";
message GreaseWeazleProto {
enum BusType {
enum BusType { /* note that these must match CMD_SET_BUS codes */
BUSTYPE_INVALID = 0;
IBMPC = 1;
SHUGART = 2;