libsidplayfp 2.6.0
|
#include <c64cia.h>
Public Member Functions | |
c64cia2 (c64env &env) | |
void | poke (uint_least16_t address, uint8_t value) override |
uint8_t | peek (uint_least16_t address) override |
![]() | |
void | setModel (model_t model) |
virtual void | reset () |
void | setDayOfTimeRate (unsigned int clock) |
Protected Member Functions | |
void | interrupt (bool state) override |
![]() | |
MOS652X (EventScheduler &scheduler) | |
virtual void | portA () |
virtual void | portB () |
uint8_t | adjustDataPort (uint8_t data) |
uint8_t | read (uint_least8_t addr) |
void | write (uint_least8_t addr, uint8_t data) |
Additional Inherited Members | |
![]() | |
enum | model_t { MOS6526 = 0 , MOS8521 , MOS6526W4485 } |
![]() | |
static const char * | credits () |
![]() | |
EventScheduler & | eventScheduler |
Event context. | |
uint8_t & | pra |
Ports. | |
uint8_t & | prb |
uint8_t & | ddra |
uint8_t & | ddrb |
uint8_t | regs [0x10] |
These are all CIA registers. | |
TimerA | timerA |
Timers A and B. | |
TimerB | timerB |
std::unique_ptr< InterruptSource > | interruptSource |
Interrupt Source. | |
Tod | tod |
TOD. | |
SerialPort | serialPort |
Serial Data Registers. | |
EventCallback< MOS652X > | bTickEvent |
Events. | |
CIA 2
Generates NMIs
Located at $DD00-$DDFF
|
inlineoverridevirtual |
Bank read. You probably should override this method, except if the Bank is only used in write context.
address | value to read from |
Implements libsidplayfp::Bank.
|
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.
address | address to write to |
value | value to write |
Implements libsidplayfp::Bank.