#include <emucfg.h>
Collaboration diagram for emuEngine:
Public Member Functions | |
IMPORT_C | emuEngine () |
virtual | ~emuEngine () |
IMPORT_C bool | setConfig (struct emuConfig &) |
set configuration for SID emulation engine. | |
IMPORT_C void | getConfig (struct emuConfig &) |
void | returnConfig (emuConfig &inEmuCfg) |
void | setDefaultFilterStrength () |
bool | setVoiceVolume (int voice, ubyte leftLevel, ubyte rightLevel, uword total) |
uword | getVoiceVolume (int voice) |
uword | returnVoiceVolume (int voice) |
operator bool () | |
bool | getStatus () |
bool | returnStatus () |
bool | reset () |
bool | resetSampleEmu () |
void | amplifyThreeVoiceTunes (bool isThreeVoiceTune) |
IMPORT_C bool | verifyEndianess () |
IMPORT_C void | FillBuffer (sidTune &thistune, void *buffer, udword bufferLen) |
IMPORT_C int | getSecondsThisSong () |
IMPORT_C int | getSecondsTotal () |
void | resetSecondsThisSong () |
Public Attributes | |
friend | sidEmu |
C6510 * | iThe6510 |
pointer to the 6510 which we own | |
sidEmu * | iTheSidEmu |
pointer to the sidEmu (6581) object | |
Mixer * | iTheMixer |
sbyte * | ampMod1x8 |
emuConfig | config |
udword | bytesCount |
used for fading and duration | |
int | secondsTotal |
listening mileage | |
int | secondsThisSong |
listening mileage | |
ubyte | bufferScale |
ubyte | playRamRom |
ubyte | oldValues [numberOfC64addr] |
for the player | |
ubyte | randomSeed |
bool | MPUstatus |
bool | isThreeVoiceAmplified |
keep track of current mixer state | |
bool | isThreeVoiceTune |
this toggled from outside | |
bool | isReady |
Protected Member Functions | |
virtual void | setRandomSeed () |
Private Member Functions | |
void | MPUreset () |
ubyte * | MPUreturnRAMbase () |
bool | freeMem () |
bool | allocMem () |
void | configureSID () |
void | initMixerEngine () |
void | initMixerFunction () |
void | setDefaultVoiceVolumes () |
void | filterTableInit () |
Friends | |
bool | sidEmuInitializeSongOld (emuEngine &, sidTune &, uword songNum) |
|
|
Definition at line 74 of file eeconfig.cpp. References DTOR, freeMem(), iThe6510, iTheMixer, and iTheSidEmu. |
|
Definition at line 368 of file eeconfig.cpp. References ampMod1x8, freeMem(), iTheMixer, sbyte, Mixer::signedPanMix16, Mixer::signedPanMix8, and sword. Referenced by emuEngine(). |
|
Definition at line 447 of file eeconfig.cpp. References isThreeVoiceTune. Referenced by sidEmuInitializeSong(), and sidEmuInitializeSongOld(). |
|
Definition at line 455 of file eeconfig.cpp. References config, iTheSidEmu, and sidEmu::sidEmuConfigure(). Referenced by emuEngine(), and setConfig(). |
|
Definition at line 334 of file eeconfig.cpp. References buffer, iTheSidEmu, and sidEmu::sidEmuFillBuffer(). Referenced by main(), SidPlayerThread(), and CSidPlayer::Thread(). |
|
Definition at line 752 of file eeconfig.cpp. References sidEmu::bandPassParam, config, emuConfig::filterFm, emuConfig::filterFs, emuConfig::filterFt, sidEmu::filterResTable, sidEmu::filterTable, iTheSidEmu, and uword. Referenced by setConfig(), and setDefaultFilterStrength(). |
|
Definition at line 354 of file eeconfig.cpp. References ampMod1x8, iTheMixer, Mixer::signedPanMix16, and Mixer::signedPanMix8. Referenced by allocMem(), and ~emuEngine(). |
|
Definition at line 310 of file eeconfig.cpp. References config. Referenced by CSidPlayAppUi::HandleCommandL(), CSidPlayer::InitL(), InitMainL(), main(), and returnConfig(). |
|
Referenced by CSidPlayerTimeView::Draw(). |
|
Referenced by CSidPlayerTimeView::Draw(). |
|
Definition at line 290 of file emucfg.h. References isReady. Referenced by returnStatus(). |
|
Definition at line 814 of file eeconfig.cpp. References iTheSidEmu, sidEmu::sidEmuReturnVoiceVolume(), and uword. Referenced by returnVoiceVolume(). |
|
|
|
|
Definition at line 389 of file eeconfig.cpp. References C6510::c64memClear(), C6510::c64memReset(), emuConfig::clockSpeed, config, C6510::initInterpreter(), iThe6510, emuConfig::memoryMode, MPUstatus, and randomSeed. Referenced by emuEngine(), and sidEmuInitializeSongOld(). |
|
Definition at line 399 of file eeconfig.cpp. References C6510::c64mem1, iThe6510, MPUstatus, and ubyte. Referenced by sidEmuInitializeSongOld(). |
|
Definition at line 289 of file emucfg.h. References isReady. |
|
Definition at line 417 of file eeconfig.cpp. References config, emuConfig::digiPlayerScans, initMixerEngine(), isReady, isThreeVoiceAmplified, isThreeVoiceTune, iTheSidEmu, resetSampleEmu(), and sidEmu::sidEmuReset(). Referenced by emuEngine(), and sidEmuInitializeSongOld(). |
|
Definition at line 441 of file eeconfig.cpp. References sidEmu::iTheSampler, iTheSidEmu, and Sample::sampleEmuReset(). Referenced by reset(). |
|
Definition at line 307 of file emucfg.h. References secondsThisSong. Referenced by sidEmuInitializeSongOld(). |
|
Definition at line 261 of file emucfg.h. References getConfig(). Referenced by main(). |
|
Definition at line 291 of file emucfg.h. References getStatus(). |
|
Definition at line 285 of file emucfg.h. References getVoiceVolume(), and uword. |
|
|
Definition at line 315 of file eeconfig.cpp. References config, emuConfig::filterFm, emuConfig::filterFs, emuConfig::filterFt, filterTableInit(), SIDEMU_DEFAULTFILTERFM, SIDEMU_DEFAULTFILTERFS, and SIDEMU_DEFAULTFILTERFT. Referenced by emuEngine(). |
|
Definition at line 717 of file eeconfig.cpp. References emuConfig::channels, config, setVoiceVolume(), SIDEMU_MONO, SIDEMU_STEREOSURROUND, and emuConfig::volumeControl. Referenced by emuEngine(), and setConfig(). |
|
Definition at line 411 of file eeconfig.cpp. References randomSeed, and ubyte. Referenced by emuEngine(). |
|
Definition at line 801 of file eeconfig.cpp. References emuConfig::channels, config, iTheSidEmu, SIDEMU_MONO, SIDEMU_NONE, sidEmu::sidEmuSetVoiceVolume(), and emuConfig::volumeControl. Referenced by main(), and setDefaultVoiceVolumes(). |
|
Definition at line 323 of file eeconfig.cpp. References readBEword(), ubyte, and writeLEword(). Referenced by CSidPlayer::InitL(), InitMainL(), and main(). |
|
Definition at line 86 of file player.cpp. |
|
Definition at line 332 of file emucfg.h. Referenced by allocMem(), freeMem(), initMixerEngine(), sidEmu::waveCalcNormal(), and sidEmu::waveCalcRangeCheck(). |
|
Definition at line 344 of file emucfg.h. Referenced by initMixerEngine(), and sidEmu::sidEmuFillBuffer(). |
|
used for fading and duration
Definition at line 339 of file emucfg.h. Referenced by emuEngine(), and sidEmu::sidEmuFillBuffer(). |
|
Definition at line 336 of file emucfg.h. Referenced by configureSID(), emuEngine(), filterTableInit(), getConfig(), initMixerEngine(), MPUreset(), reset(), setConfig(), setDefaultFilterStrength(), setDefaultVoiceVolumes(), setVoiceVolume(), sidEmu::sidEmuFillBuffer(), sidEmuInitializeSong(), and sidEmuInitializeSongOld(). |
|
Definition at line 358 of file emucfg.h. Referenced by emuEngine(), getStatus(), operator bool(), reset(), sidEmu::sidEmuFillBuffer(), and sidEmuInitializeSongOld(). |
|
keep track of current mixer state
Definition at line 356 of file emucfg.h. Referenced by initMixerEngine(), and reset(). |
|
this toggled from outside
Definition at line 357 of file emucfg.h. Referenced by amplifyThreeVoiceTunes(), emuEngine(), initMixerEngine(), and reset(). |
|
pointer to the 6510 which we own
Definition at line 329 of file emucfg.h. Referenced by emuEngine(), MPUreset(), MPUreturnRAMbase(), sidEmuInitializeSong(), sidEmuInitializeSongOld(), SidPlayExceptionHandler(), and ~emuEngine(). |
|
Definition at line 331 of file emucfg.h. Referenced by allocMem(), emuEngine(), freeMem(), initMixerEngine(), sidEmu::sidEmuFillBuffer(), and ~emuEngine(). |
|
pointer to the sidEmu (6581) object
Definition at line 330 of file emucfg.h. Referenced by configureSID(), emuEngine(), FillBuffer(), filterTableInit(), getVoiceVolume(), reset(), resetSampleEmu(), setConfig(), setVoiceVolume(), sidEmuInitializeSongOld(), and ~emuEngine(). |
|
Definition at line 353 of file emucfg.h. Referenced by emuEngine(), MPUreset(), and MPUreturnRAMbase(). |
|
for the player
Definition at line 347 of file emucfg.h. Referenced by sidEmuInitializeSong(), and sidEmuInitializeSongOld(). |
|
Definition at line 345 of file emucfg.h. Referenced by sidEmu::sidEmuFillBuffer(), sidEmuInitializeSong(), and sidEmuInitializeSongOld(). |
|
Definition at line 352 of file emucfg.h. Referenced by MPUreset(), and setRandomSeed(). |
|
listening mileage
Definition at line 341 of file emucfg.h. Referenced by emuEngine(), resetSecondsThisSong(), and sidEmu::sidEmuFillBuffer(). |
|
listening mileage
Definition at line 340 of file emucfg.h. Referenced by emuEngine(), and sidEmu::sidEmuFillBuffer(). |
|
Definition at line 266 of file emucfg.h. Referenced by emuEngine(). |