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)
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

◆ Y8950Adpcm()

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

Definition at line 47 of file

References clearRam().

Member Function Documentation

◆ calcSample()

int openmsx::Y8950Adpcm::calcSample ( )

Definition at line 431 of file

References openmsx::R07_SP_OFF.

Referenced by sync().

◆ clearRam()

void openmsx::Y8950Adpcm::clearRam ( )

Definition at line 58 of file

References openmsx::TrackedRam::clear().

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

◆ isMuted()

bool openmsx::Y8950Adpcm::isMuted ( ) const

Definition at line 89 of file

References openmsx::R07_SP_OFF.

◆ peekReg()

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

Definition at line 310 of file

References sync().

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

◆ readReg()

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

Definition at line 301 of file

References peekReg(), and sync().

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

◆ reset()

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

◆ resetStatus()

void openmsx::Y8950Adpcm::resetStatus ( )

◆ serialize()

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

◆ sync()

void openmsx::Y8950Adpcm::sync ( EmuTime::param  time)

◆ writeReg()

void openmsx::Y8950Adpcm::writeReg ( byte  rg,
byte  data,
EmuTime::param  time 

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