libsidplayfp 1.0.3
Public Member Functions | Protected Member Functions
c64cia1 Class Reference

#include <c64cia.h>

Inheritance diagram for c64cia1:
MOS6526 Bank component

List of all members.

Public Member Functions

 c64cia1 (c64env *env)
void poke (uint_least16_t address, uint8_t value)
uint8_t peek (uint_least16_t address)
const char * error () const
void reset ()
uint_least16_t getTimerA () const

Protected Member Functions

void interrupt (bool state)
void portB ()

Detailed Description

CIA 1 Generates IRQs located at $DC00-$DCFF


Member Function Documentation

void c64cia1::interrupt ( bool  state) [inline, protected, virtual]

Signal interrupt.

Parameters:
stateinterrupt state

Implements MOS6526.

uint8_t c64cia1::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 c64cia1::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 c64cia1::reset ( ) [inline, virtual]

Reset CIA.

Reimplemented from MOS6526.


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