yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::emu::audio::AudioRam Class Referenceabstract

AudioRam is an interface for the Audio RAM used by the SPC700. More...

#include <spc700.h>

Inheritance diagram for yaze::app::emu::audio::AudioRam:

Public Member Functions

virtual ~AudioRam ()=default
 
virtual void reset ()=0
 
virtual uint8_t read (uint16_t address) const =0
 
virtual uint8_t & mutable_read (uint16_t address)=0
 
virtual void write (uint16_t address, uint8_t value)=0
 
uint8_t operator[] (uint16_t address)
 

Detailed Description

AudioRam is an interface for the Audio RAM used by the SPC700.

Definition at line 18 of file spc700.h.

Constructor & Destructor Documentation

◆ ~AudioRam()

virtual yaze::app::emu::audio::AudioRam::~AudioRam ( )
virtualdefault

Member Function Documentation

◆ reset()

virtual void yaze::app::emu::audio::AudioRam::reset ( )
pure virtual

◆ read()

virtual uint8_t yaze::app::emu::audio::AudioRam::read ( uint16_t address) const
pure virtual

◆ mutable_read()

virtual uint8_t & yaze::app::emu::audio::AudioRam::mutable_read ( uint16_t address)
pure virtual

◆ write()

virtual void yaze::app::emu::audio::AudioRam::write ( uint16_t address,
uint8_t value )
pure virtual

◆ operator[]()

uint8_t yaze::app::emu::audio::AudioRam::operator[] ( uint16_t address)
inline

Definition at line 25 of file spc700.h.

References mutable_read().

Here is the call graph for this function:

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