libsidplayfp  2.0.2
Public Member Functions | Protected Member Functions | List of all members
libsidplayfp::c64vic Class Referencefinal

#include <c64vic.h>

Inheritance diagram for libsidplayfp::c64vic:
Inheritance graph
[legend]
Collaboration diagram for libsidplayfp::c64vic:
Collaboration graph
[legend]

Public Member Functions

 c64vic (c64env &env)
 
void poke (uint_least16_t address, uint8_t value) override
 
uint8_t peek (uint_least16_t address) override
 
- Public Member Functions inherited from libsidplayfp::MOS656X
void event () override
 
void chip (model_t model)
 
void triggerLightpen ()
 
void clearLightpen ()
 
void reset ()
 

Protected Member Functions

void interrupt (bool state) override
 
void setBA (bool state) override
 
- Protected Member Functions inherited from libsidplayfp::MOS656X
 MOS656X (EventScheduler &scheduler)
 
uint8_t read (uint_least8_t addr)
 
void write (uint_least8_t addr, uint8_t data)
 

Additional Inherited Members

- Public Types inherited from libsidplayfp::MOS656X
enum  model_t {
  MOS6567R56A = 0, MOS6567R8, MOS6569, MOS6572,
  MOS6573
}
 
- Static Public Member Functions inherited from libsidplayfp::MOS656X
static const char * credits ()
 

Detailed Description

VIC-II

Located at $D000-$D3FF

Member Function Documentation

◆ peek()

uint8_t libsidplayfp::c64vic::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
addressvalue to read from
Returns
value at address

Implements libsidplayfp::Bank.

◆ poke()

void libsidplayfp::c64vic::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
addressaddress to write to
valuevalue to write

Implements libsidplayfp::Bank.


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