31 void reset(
bool scsiReset);
35 [[nodiscard]] uint8_t
peekDREG()
const;
39 template<
typename Archive>
40 void serialize(Archive& ar,
unsigned version);
45 void setACKREQ(uint8_t& value);
47 [[nodiscard]] uint8_t getSSTS()
const;
50 static constexpr unsigned MAX_DEV = 8;
52 std::array<std::unique_ptr<SCSIDevice>, MAX_DEV> dev;
59 unsigned blockCounter = 0;
66 std::array<uint8_t, 16> regs;
73 std::array<uint8_t, 12> cdb;