#include <c64cia.h>
|
|
| c64cia1 (c64env *env) |
| |
| void | poke (uint_least16_t address, uint8_t value) |
| |
| uint8_t | peek (uint_least16_t address) |
| |
| void | reset () |
| |
|
uint_least16_t | getTimerA () const |
| |
| virtual void | reset () |
| |
| void | setDayOfTimeRate (unsigned int clock) |
| |
| virtual void | reset ()=0 |
| |
| virtual void | poke (uint_least16_t address, uint8_t value)=0 |
| |
| virtual uint8_t | peek (uint_least16_t address)=0 |
| |
|
| static const char * | credits () |
| |
|
uint8_t | regs [0x10] |
| | These are all CIA registers.
|
| |
|
uint8_t & | pra |
| | Ports.
|
| |
|
uint8_t & | prb |
| |
|
uint8_t & | ddra |
| |
|
uint8_t & | ddrb |
| |
|
TimerA | timerA |
| | Timers A and B.
|
| |
|
TimerB | timerB |
| |
|
uint8_t | sdr_out |
| | Serial Data Registers.
|
| |
|
bool | sdr_buffered |
| |
|
int | sdr_count |
| |
|
uint8_t | icr |
| | Interrupt control register.
|
| |
|
uint8_t | idr |
| | Interrupt data register.
|
| |
|
EventContext & | event_context |
| | Event context.
|
| |
|
Tod | tod |
| | TOD.
|
| |
|
bool | triggerScheduled |
| | Have we already scheduled CIA->CPU interrupt transition?
|
| |
|
EventCallback< MOS6526 > | bTickEvent |
| | Events.
|
| |
|
EventCallback< MOS6526 > | triggerEvent |
| |
|
EventCallback< MOS6526 > | spEvent |
| |
CIA 1
Generates IRQs
Located at $DC00-$DCFF
◆ interrupt()
| void c64cia1::interrupt |
( |
bool |
state | ) |
|
|
inlineprotectedvirtual |
Signal interrupt.
- Parameters
-
Implements MOS6526.
◆ peek()
| uint8_t c64cia1::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
-
| address | value to read from |
- Returns
- value at address
Implements Bank.
◆ poke()
| void c64cia1::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
-
| address | address to write to |
| value | value to write |
Implements Bank.
◆ portB()
◆ reset()
Reset CIA.
Reimplemented from MOS6526.
The documentation for this class was generated from the following file: