libsidplayfp  1.0.3
Public Member Functions
SidBank Class Reference

#include <SidBank.h>

Inheritance diagram for SidBank:
Bank

List of all members.

Public Member Functions

void reset ()
uint8_t peek (uint_least16_t addr)
void poke (uint_least16_t addr, uint8_t data)
void setSID (sidemu *s)
sidemugetSID () const

Detailed Description

SID located at $D400-$D7FF, mirrored each 32 bytes


Member Function Documentation

sidemu* SidBank::getSID ( ) const [inline]

Get SID emulation.

Returns:
the emulation
uint8_t SidBank::peek ( uint_least16_t  address) [inline, virtual]

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 Bank.

void SidBank::poke ( uint_least16_t  address,
uint8_t  value 
) [inline, virtual]

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 Bank.

void SidBank::setSID ( sidemu s) [inline]

Set SID emulation.

Parameters:
sthe emulation

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