29 void reset(
bool scsiReset);
33 [[nodiscard]] uint8_t
peekDREG()
const;
37 template<
typename Archive>
38 void serialize(Archive& ar,
unsigned version);
43 void setACKREQ(uint8_t& value);
45 [[nodiscard]] uint8_t getSSTS()
const;
48 static constexpr unsigned MAX_DEV = 8;
50 std::array<std::unique_ptr<SCSIDevice>, MAX_DEV> dev;
57 unsigned blockCounter = 0;
64 std::array<uint8_t, 16> regs;
71 std::array<uint8_t, 12> cdb;