openMSX
|
#include <SCSIHD.hh>
Public Member Functions | |
SCSIHD (const SCSIHD &)=delete | |
SCSIHD & | operator= (const SCSIHD &)=delete |
SCSIHD (const DeviceConfig &targetConfig, AlignedBuffer &buf, unsigned mode) | |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Public Member Functions inherited from openmsx::HD | |
HD (const DeviceConfig &config) | |
~HD () override | |
const std::string & | getName () const |
const Filename & | getImageName () const |
void | switchImage (const Filename &filename) |
std::string | getTigerTreeHash () |
void | getMediaInfo (TclObject &result) override |
This method gets called when information is required on the media inserted in the media slot of the provider. | |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
MSXMotherBoard & | getMotherBoard () const |
Public Member Functions inherited from openmsx::SectorAccessibleDisk | |
void | readSector (size_t sector, SectorBuffer &buf) |
void | writeSector (size_t sector, const SectorBuffer &buf) |
void | readSectors (std::span< SectorBuffer > buffers, size_t startSector) |
void | writeSectors (std::span< const SectorBuffer > buffers, size_t startSector) |
size_t | getNbSectors () const |
bool | isWriteProtected () const |
void | forceWriteProtect () |
virtual bool | isDummyDisk () const |
void | applyPatch (Filename patchFile) |
std::vector< Filename > | getPatches () const |
bool | hasPatches () const |
Sha1Sum | getSha1Sum (FilePool &filePool) |
Calculate SHA1 of the content of this disk. | |
virtual void | readSectorImpl (size_t sector, SectorBuffer &buf) |
Public Member Functions inherited from openmsx::DiskContainer | |
DiskContainer (const DiskContainer &)=delete | |
DiskContainer & | operator= (const DiskContainer &)=delete |
DiskContainer ()=default | |
virtual | ~DiskContainer ()=default |
bool | isRomDisk () const |
template<typename Archive > | |
void | serialize (Archive &, unsigned) |
Public Member Functions inherited from openmsx::MediaInfoProvider | |
MediaInfoProvider (const MediaInfoProvider &)=delete | |
MediaInfoProvider & | operator= (const MediaInfoProvider &)=delete |
Public Member Functions inherited from openmsx::SCSIDevice | |
virtual | ~SCSIDevice ()=default |
Additional Inherited Members | |
Public Types inherited from openmsx::HD | |
using | HDInUse = std::bitset< MAX_HD > |
Static Public Member Functions inherited from openmsx::HD | |
static std::shared_ptr< HDInUse > | getDrivesInUse (MSXMotherBoard &motherBoard) |
Static Public Attributes inherited from openmsx::HD | |
static constexpr unsigned | MAX_HD = 26 |
Static Public Attributes inherited from openmsx::SectorAccessibleDisk | |
static constexpr size_t | SECTOR_SIZE = sizeof(SectorBuffer) |
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 |
Protected Member Functions inherited from openmsx::SectorAccessibleDisk | |
SectorAccessibleDisk () | |
~SectorAccessibleDisk () | |
void | setPeekMode (bool peek) |
bool | isPeekMode () const |
virtual void | checkCaches () |
virtual void | flushCaches () |
Protected Member Functions inherited from openmsx::TTData | |
~TTData ()=default | |
Protected Member Functions inherited from openmsx::MediaInfoProvider | |
MediaInfoProvider ()=default | |
~MediaInfoProvider ()=default | |
|
delete |
openmsx::SCSIHD::SCSIHD | ( | const DeviceConfig & | targetConfig, |
AlignedBuffer & | buf, | ||
unsigned | mode | ||
) |
void openmsx::SCSIHD::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |