|
libsidplayfp
1.2.2
|
#include <c64.h>
Public Types | |
| enum | model_t { PAL_B = 0, NTSC_M, OLD_NTSC_M, PAL_N } |
Public Member Functions | |
| void | debug (bool enable, FILE *out) |
| void | reset () |
| void | resetCpu () |
| void | setModel (model_t model) |
| void | setRoms (const uint8_t *kernal, const uint8_t *basic, const uint8_t *character) |
| double | getMainCpuSpeed () const |
| void | setSid (unsigned int i, c64sid *s) |
| void | setSecondSIDAddress (int sidChipBase2) |
| sidmemory * | getMemInterface () |
| uint_least16_t | getCia1TimerA () const |
| EventScheduler * | getEventScheduler () |
| const EventScheduler & | getEventScheduler () const |
| const char * | cpuCredits () const |
| const char * | ciaCredits () const |
| const char * | vicCredits () const |
Static Public Attributes | |
| static const unsigned int | MAX_SIDS = 2 |
Commodore 64 emulation core.
It consists of the following chips: PLA, MOS6510, MOS6526(a), VIC 6569(PAL)/6567(NTSC), RAM/ROM.
| enum c64::model_t |
|
inline |
Get the components credits
|
inline |
Get the components credits
|
inline |
Get C64's event scheduler
|
inline |
Get C64's event scheduler
|
inline |
Get the CPU clock speed.
| void c64::setSecondSIDAddress | ( | int | sidChipBase2 | ) |
Set the base address of a stereo SID chip.
Valid addresses includes the SID area ($d400-$d7ff) and the IO Area ($de00-$dfff).
| sidChipBase2 | base address (e.g. 0xd420) 0 to remove second SID |
| void c64::setSid | ( | unsigned int | i, |
| c64sid * | s | ||
| ) |
Set the requested SID
| i | sid number to set |
| s | the sid emu to set, or 0 to remove |
|
inline |
Get the components credits
|
static |
Maximum number of supported SIDs (mono and stereo)
1.8.6