mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-20 15:31:10 +00:00
22 lines
501 B
C++
22 lines
501 B
C++
//
|
|
// DirectAccessDevice.cpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 22/08/2019.
|
|
// Copyright © 2019 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#include "DirectAccessDevice.hpp"
|
|
|
|
using namespace SCSI;
|
|
|
|
bool DirectAccessDevice::read(const Target::CommandState &state, Target::Responder &responder) {
|
|
std::vector<uint8_t> data(512);
|
|
|
|
responder.send_data(std::move(data), [] (const Target::CommandState &state, Target::Responder &responder) {
|
|
responder.end_command();
|
|
});
|
|
|
|
return true;
|
|
}
|