libsidplayfp  1.8.3
Public Member Functions | List of all members
IOBank Class Reference

#include <IOBank.h>

Inheritance diagram for IOBank:
Bank

Public Member Functions

void setBank (int num, Bank *bank)
 
BankgetBank (int num) const
 
uint8_t peek (uint_least16_t addr)
 
void poke (uint_least16_t addr, uint8_t data)
 

Detailed Description

IO region handler. 4k region, 16 chips, 256b banks.

Located at $D000-$DFFF

Author
Antti Lankila

Member Function Documentation

uint8_t IOBank::peek ( uint_least16_t  address)
inlinevirtual

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 IOBank::poke ( uint_least16_t  address,
uint8_t  value 
)
inlinevirtual

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.


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