#include <c64cia.h>
 | 
| 
  | c64cia2 (c64env &env) | 
|   | 
| void  | poke (uint_least16_t address, uint8_t value) override | 
|   | 
| uint8_t  | peek (uint_least16_t address) override | 
|   | 
| void  | setModel (bool newModel) | 
|   | 
| virtual void  | reset () | 
|   | 
| void  | setDayOfTimeRate (unsigned int clock) | 
|   | 
 | 
| void  | interrupt (bool state) override | 
|   | 
|   | MOS6526 (EventScheduler &scheduler) | 
|   | 
| 
virtual void  | portA () | 
|   | 
| 
virtual void  | portB () | 
|   | 
| uint8_t  | read (uint_least8_t addr) | 
|   | 
| void  | write (uint_least8_t addr, uint8_t data) | 
|   | 
CIA 2
Generates NMIs
Located at $DD00-$DDFF 
 
◆ interrupt()
  
  
      
        
          | void libsidplayfp::c64cia2::interrupt  | 
          ( | 
          bool  | 
          state | ) | 
           | 
         
       
   | 
  
inlineoverrideprotectedvirtual   | 
  
 
 
◆ peek()
  
  
      
        
          | uint8_t libsidplayfp::c64cia2::peek  | 
          ( | 
          uint_least16_t  | 
          address | ) | 
           | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
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 libsidplayfp::Bank.
 
 
◆ poke()
  
  
      
        
          | void libsidplayfp::c64cia2::poke  | 
          ( | 
          uint_least16_t  | 
          address,  | 
         
        
           | 
           | 
          uint8_t  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
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.
- Parameters
 - 
  
    | address | address to write to  | 
    | value | value to write  | 
  
   
Implements libsidplayfp::Bank.
 
 
The documentation for this class was generated from the following file: