15 class SectorAccessibleDisk;
43 template<
typename Archive>
44 void serialize(Archive& ar,
unsigned version);
61 void executeCommand();
63 void send(
byte value);
64 void send16(
word value);
74 unsigned getSectorAmount()
const;
75 unsigned getStartSector()
const;
76 unsigned getStartAddress()
const;
77 unsigned getCurrentAddress()
const;
82 void transferSectors(
unsigned transferAddress,
unsigned amount);
83 void transferSectorsBackwards(
unsigned transferAddress,
unsigned amount);
89 unsigned getFCB()
const;
90 std::string extractName(
int begin,
int end)
const;
91 unsigned readHelper1(
unsigned dev,
char* buffer);
92 void readHelper2(
unsigned len,
const char* buffer);
93 int getDeviceNum()
const;
94 int getFreeDeviceNum();
100 void callImage(
const std::string& filename);
103 static const unsigned MAX_DEVICES = 16;
107 std::deque<byte> hostToMsxFifo;
110 std::unique_ptr<std::fstream>
fs;
112 } devices[MAX_DEVICES];
115 std::vector<byte> buffer;
121 unsigned transferSize;
123 byte extraData[240 + 2];
126 bool allowOtherDiskroms;
127 bool enablePhantomDrives;
132 #endif // NOWINDHOST_HH