libsidplayfp  2.0.2
Public Member Functions | Protected Member Functions | List of all members
libsidplayfp::c64sid Class Referenceabstract

#include <c64sid.h>

Inheritance diagram for libsidplayfp::c64sid:
Inheritance graph
[legend]
Collaboration diagram for libsidplayfp::c64sid:
Collaboration graph
[legend]

Public Member Functions

virtual void reset (uint8_t volume)=0
 
void reset ()
 
void poke (uint_least16_t address, uint8_t value) override
 
uint8_t peek (uint_least16_t address) override
 

Protected Member Functions

virtual uint8_t read (uint_least8_t addr)=0
 
virtual void write (uint_least8_t addr, uint8_t data)=0
 

Detailed Description

SID interface.

Member Function Documentation

◆ peek()

uint8_t libsidplayfp::c64sid::peek ( uint_least16_t  address)
inlineoverridevirtual

Bank read. You probably should override this method, except if the Bank is only used in write context.

Parameters
addressvalue to read from
Returns
value at address

Implements libsidplayfp::Bank.

◆ poke()

void libsidplayfp::c64sid::poke ( uint_least16_t  address,
uint8_t  value 
)
inlineoverridevirtual

Bank write.

Override this method if you expect write operations on your bank. Leave unimplemented if it's logically/operationally impossible for writes to ever arrive to bank.

Parameters
addressaddress to write to
valuevalue to write

Implements libsidplayfp::Bank.


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