Classes | Public Member Functions | List of all members
openmsx::Y8950Adpcm Class Referencefinal

#include <Y8950Adpcm.hh>

Inheritance diagram for openmsx::Y8950Adpcm:
Inheritance graph
Collaboration diagram for openmsx::Y8950Adpcm:
Collaboration graph

Public Member Functions

 Y8950Adpcm (Y8950 &y8950, const DeviceConfig &config, const std::string &name, unsigned sampleRam)
 ~Y8950Adpcm ()
void clearRam ()
void reset (EmuTime::param time)
bool isMuted () const
void writeReg (byte rg, byte data, EmuTime::param time)
byte readReg (byte rg, EmuTime::param time)
byte peekReg (byte rg, EmuTime::param time) const
int calcSample ()
void sync (EmuTime::param time)
void resetStatus ()
template<typename Archive >
void serialize (Archive &ar, unsigned version)
- Public Member Functions inherited from openmsx::Schedulable
 Schedulable (const Schedulable &)=delete
Schedulableoperator= (const Schedulable &)=delete
virtual void schedulerDeleted ()
 Just before the the Scheduler is deleted, it calls this method of all the Schedulables that are still registered. More...
SchedulergetScheduler () const
EmuTime::param getCurrentTime () const
 Convenience method: This is the same as getScheduler().getCurrentTime(). More...
template<typename Archive >
void serialize (Archive &ar, unsigned version)

Additional Inherited Members

- Static Public Member Functions inherited from openmsx::Schedulable
template<typename Archive >
static std::vector< SyncPointBWserializeBW (Archive &ar)
template<typename Archive >
static void restoreOld (Archive &ar, std::vector< Schedulable * > schedulables)
- Protected Member Functions inherited from openmsx::Schedulable
 Schedulable (Scheduler &scheduler)
 ~Schedulable ()
void setSyncPoint (EmuTime::param timestamp)
bool removeSyncPoint ()
void removeSyncPoints ()
bool pendingSyncPoint () const
bool pendingSyncPoint (EmuTime &result) const

Detailed Description

Definition at line 15 of file Y8950Adpcm.hh.

Constructor & Destructor Documentation

openmsx::Y8950Adpcm::Y8950Adpcm ( Y8950 y8950,
const DeviceConfig config,
const std::string &  name,
unsigned  sampleRam 

Definition at line 46 of file

References clearRam().

openmsx::Y8950Adpcm::~Y8950Adpcm ( )

Definition at line 57 of file

Member Function Documentation

int openmsx::Y8950Adpcm::calcSample ( )

Definition at line 424 of file

Referenced by sync().

void openmsx::Y8950Adpcm::clearRam ( )

Definition at line 61 of file

References openmsx::Ram::clear().

Referenced by openmsx::Y8950::clearRam(), and Y8950Adpcm().

bool openmsx::Y8950Adpcm::isMuted ( ) const

Definition at line 92 of file

byte openmsx::Y8950Adpcm::peekReg ( byte  rg,
EmuTime::param  time 
) const

Definition at line 303 of file

References sync().

Referenced by openmsx::Y8950::peekReg(), and readReg().

byte openmsx::Y8950Adpcm::readReg ( byte  rg,
EmuTime::param  time 

Definition at line 294 of file

References peekReg(), and sync().

Referenced by openmsx::Y8950::readReg().

void openmsx::Y8950Adpcm::reset ( EmuTime::param  time)
void openmsx::Y8950Adpcm::resetStatus ( )

Definition at line 326 of file

References openmsx::Y8950::setStatus(), and openmsx::Y8950::STATUS_BUF_RDY.

Referenced by openmsx::Y8950::writeReg().

template<typename Archive >
void openmsx::Y8950Adpcm::serialize ( Archive &  ar,
unsigned  version 
void openmsx::Y8950Adpcm::sync ( EmuTime::param  time)
void openmsx::Y8950Adpcm::writeReg ( byte  rg,
byte  data,
EmuTime::param  time 

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