openMSX
Public Member Functions | List of all members
openmsx::DummySCSIDevice Class Referencefinal

#include <DummySCSIDevice.hh>

Inheritance diagram for openmsx::DummySCSIDevice:
Inheritance graph
[legend]
Collaboration diagram for openmsx::DummySCSIDevice:
Collaboration graph
[legend]

Public Member Functions

void reset () override
 
bool isSelected () override
 
unsigned executeCmd (const byte *cdb, SCSI::Phase &phase, unsigned &blocks) override
 
unsigned executingCmd (SCSI::Phase &phase, unsigned &blocks) override
 
byte getStatusCode () override
 
int msgOut (byte value) override
 
byte msgIn () override
 
void disconnect () override
 
void busReset () override
 
unsigned dataIn (unsigned &blocks) override
 
unsigned dataOut (unsigned &blocks) override
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
- Public Member Functions inherited from openmsx::SCSIDevice
virtual ~SCSIDevice ()=default
 

Additional Inherited Members

- Static Public Attributes inherited from openmsx::SCSIDevice
static constexpr unsigned BIT_SCSI2 = 0x0001
 
static constexpr unsigned BIT_SCSI2_ONLY = 0x0002
 
static constexpr unsigned BIT_SCSI3 = 0x0004
 
static constexpr unsigned MODE_SCSI1 = 0x0000
 
static constexpr unsigned MODE_SCSI2 = 0x0003
 
static constexpr unsigned MODE_SCSI3 = 0x0005
 
static constexpr unsigned MODE_UNITATTENTION = 0x0008
 
static constexpr unsigned MODE_MEGASCSI = 0x0010
 
static constexpr unsigned MODE_NOVAXIS = 0x0100
 
static constexpr unsigned BUFFER_SIZE = 0x10000
 

Detailed Description

Definition at line 8 of file DummySCSIDevice.hh.

Member Function Documentation

◆ busReset()

void openmsx::DummySCSIDevice::busReset ( )
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 48 of file DummySCSIDevice.cc.

◆ dataIn()

unsigned openmsx::DummySCSIDevice::dataIn ( unsigned &  blocks)
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 53 of file DummySCSIDevice.cc.

◆ dataOut()

unsigned openmsx::DummySCSIDevice::dataOut ( unsigned &  blocks)
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 59 of file DummySCSIDevice.cc.

◆ disconnect()

void openmsx::DummySCSIDevice::disconnect ( )
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 43 of file DummySCSIDevice.cc.

◆ executeCmd()

unsigned openmsx::DummySCSIDevice::executeCmd ( const byte cdb,
SCSI::Phase phase,
unsigned &  blocks 
)
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 16 of file DummySCSIDevice.cc.

◆ executingCmd()

unsigned openmsx::DummySCSIDevice::executingCmd ( SCSI::Phase phase,
unsigned &  blocks 
)
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 23 of file DummySCSIDevice.cc.

◆ getStatusCode()

byte openmsx::DummySCSIDevice::getStatusCode ( )
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 28 of file DummySCSIDevice.cc.

References openmsx::SCSI::ST_CHECK_CONDITION.

◆ isSelected()

bool openmsx::DummySCSIDevice::isSelected ( )
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 11 of file DummySCSIDevice.cc.

◆ msgIn()

byte openmsx::DummySCSIDevice::msgIn ( )
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 38 of file DummySCSIDevice.cc.

◆ msgOut()

int openmsx::DummySCSIDevice::msgOut ( byte  value)
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 33 of file DummySCSIDevice.cc.

◆ reset()

void openmsx::DummySCSIDevice::reset ( )
overridevirtual

Implements openmsx::SCSIDevice.

Definition at line 6 of file DummySCSIDevice.cc.

◆ serialize()

template<typename Archive >
void openmsx::DummySCSIDevice::serialize ( Archive &  ar,
unsigned  version 
)

Definition at line 66 of file DummySCSIDevice.cc.


The documentation for this class was generated from the following files: