libsidplayfp 2.15.0
|
#include <c64.h>
Public Types | |
using | model_t = enum { PAL_B=0,NTSC_M,OLD_NTSC_M,PAL_N,PAL_M } |
using | cia_model_t = enum { OLD=0,NEW,OLD_4485 } |
Public Member Functions | |
EventScheduler * | getEventScheduler () |
uint_least32_t | getTimeMs () const |
void | clock () |
void | debug (bool enable, FILE *out) |
void | reset () |
void | resetCpu () |
void | setModel (model_t model) |
void | setCiaModel (cia_model_t model) |
double | getMainCpuSpeed () const |
void | setBaseSid (c64sid *s) |
bool | addExtraSid (c64sid *s, int address) |
void | clearSids () |
const char * | cpuCredits () const |
const char * | ciaCredits () const |
const char * | vicCredits () const |
sidmemory & | getMemInterface () |
uint_least16_t | getCia1TimerA () const |
unsigned int | installedSIDs () const |
Commodore 64 emulation core.
It consists of the following chips:
bool libsidplayfp::c64::addExtraSid | ( | c64sid * | s, |
int | address | ||
) |
Add an extra SID.
s | the sid emu to set |
sidAddress | base address (e.g. 0xd420) |
void libsidplayfp::c64::clearSids | ( | ) |
Remove all the SIDs.
|
inline |
Clock the emulation.
haltInstruction |
|
inline |
Get the components credits
|
inline |
Get C64's event scheduler
|
inline |
Get the CPU clock speed.
void libsidplayfp::c64::setBaseSid | ( | c64sid * | s | ) |
Set the base SID.
s | the sid emu to set |
void libsidplayfp::c64::setCiaModel | ( | cia_model_t | model | ) |
Set the cia model.
void libsidplayfp::c64::setModel | ( | model_t | model | ) |
Set the c64 model.