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

#include <SCSILS120.hh>

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

Public Member Functions

 SCSILS120 (const DeviceConfig &targetConfig, AlignedBuffer &buf, unsigned mode)
 
 SCSILS120 (const SCSILS120 &)=delete
 
 SCSILS120 (SCSILS120 &&)=delete
 
SCSILS120 operator= (const SCSILS120 &)=delete
 
SCSILS120 operator= (SCSILS120 &&)=delete
 
 ~SCSILS120 () override
 
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)
 
- Public Member Functions inherited from openmsx::SCSIDevice
virtual ~SCSIDevice ()=default
 
- Public Member Functions inherited from openmsx::SectorAccessibleDisk
void readSector (size_t sector, SectorBuffer &buf) const
 
void writeSector (size_t sector, const SectorBuffer &buf)
 
void readSectors (std::span< SectorBuffer > buffers, size_t startSector) const
 
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< FilenamegetPatches () 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 ()=default
 
 DiskContainer (const DiskContainer &)=delete
 
 DiskContainer (DiskContainer &&)=delete
 
DiskContaineroperator= (const DiskContainer &)=delete
 
DiskContaineroperator= (DiskContainer &&)=delete
 
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 (MediaInfoProvider &&)=delete
 
MediaInfoProvideroperator= (const MediaInfoProvider &)=delete
 
MediaInfoProvideroperator= (MediaInfoProvider &&)=delete
 

Friends

class LSXCommand
 

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
 
- Static Public Attributes inherited from openmsx::SectorAccessibleDisk
static constexpr size_t SECTOR_SIZE = sizeof(SectorBuffer)
 
- 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::MediaInfoProvider
 MediaInfoProvider ()=default
 
 ~MediaInfoProvider ()=default
 

Detailed Description

Definition at line 44 of file SCSILS120.hh.

Constructor & Destructor Documentation

◆ SCSILS120() [1/3]

openmsx::SCSILS120::SCSILS120 ( const DeviceConfig targetConfig,
AlignedBuffer buf,
unsigned  mode 
)

◆ SCSILS120() [2/3]

openmsx::SCSILS120::SCSILS120 ( const SCSILS120 )
delete

◆ SCSILS120() [3/3]

openmsx::SCSILS120::SCSILS120 ( SCSILS120 &&  )
delete

◆ ~SCSILS120()

openmsx::SCSILS120::~SCSILS120 ( )
override

Member Function Documentation

◆ getMediaInfo()

void openmsx::SCSILS120::getMediaInfo ( TclObject result)
overridevirtual

This method gets called when information is required on the media inserted in the media slot of the provider.

The provider must attach the info as a dictionary to the given TclObject.

Implements openmsx::MediaInfoProvider.

Definition at line 128 of file SCSILS120.cc.

References openmsx::TclObject::addDictKeyValue(), openmsx::File::getURL(), and openmsx::File::is_open().

◆ operator=() [1/2]

SCSILS120 openmsx::SCSILS120::operator= ( const SCSILS120 )
delete

◆ operator=() [2/2]

SCSILS120 openmsx::SCSILS120::operator= ( SCSILS120 &&  )
delete

◆ serialize()

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

Definition at line 820 of file SCSILS120.cc.

References openmsx::File::getURL(), and openmsx::File::is_open().

Friends And Related Symbol Documentation

◆ LSXCommand

friend class LSXCommand
friend

Definition at line 127 of file SCSILS120.hh.


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