|
libsidplayfp
2.0.2
|
#include <SidTuneInfo.h>

Public Types | |
| enum | clock_t { CLOCK_UNKNOWN, CLOCK_PAL, CLOCK_NTSC, CLOCK_ANY } |
| enum | model_t { SIDMODEL_UNKNOWN, SIDMODEL_6581, SIDMODEL_8580, SIDMODEL_ANY } |
| enum | compatibility_t { COMPATIBILITY_C64, COMPATIBILITY_PSID, COMPATIBILITY_R64, COMPATIBILITY_BASIC } |
Public Member Functions | |
| uint_least16_t | loadAddr () const |
| uint_least16_t | initAddr () const |
| uint_least16_t | playAddr () const |
| unsigned int | songs () const |
| unsigned int | startSong () const |
| unsigned int | currentSong () const |
Base addresses | |
The SID chip base address(es) used by the sidtune.
| |
| uint_least16_t | sidChipBase (unsigned int i) const |
| int | sidChips () const |
| int | songSpeed () const |
| uint_least8_t | relocStartPage () const |
| uint_least8_t | relocPages () const |
SID model | |
The SID chip model(s) requested by the sidtune. | |
| model_t | sidModel (unsigned int i) const |
| compatibility_t | compatibility () const |
Tune infos | |
Song title, credits, ...
| |
| unsigned int | numberOfInfoStrings () const |
| The number of available text info lines. | |
| const char * | infoString (unsigned int i) const |
| Text info from the format headers etc. | |
Static Public Attributes | |
| static const int | SPEED_VBI = 0 |
| Vertical-Blanking-Interrupt. | |
| static const int | SPEED_CIA_1A = 60 |
| CIA 1 Timer A. | |
Tune comments | |
| unsigned int | numberOfCommentStrings () const |
| Number of comments. | |
| const char * | commentString (unsigned int i) const |
| Used to stash the MUS comment somewhere. | |
| uint_least32_t | dataFileLen () const |
| uint_least32_t | c64dataLen () const |
| clock_t | clockSpeed () const |
| const char * | formatString () const |
| bool | fixLoad () const |
| const char * | path () const |
| const char * | dataFileName () const |
| const char * | infoFileName () const |
| ~SidTuneInfo () | |
| Number of comments. | |
This interface is used to get values from SidTune objects.
You must read (i.e. activate) sub-song specific information via: const SidTuneInfo* tuneInfo = SidTune.getInfo(); const SidTuneInfo* tuneInfo = SidTune.getInfo(songNumber);
| uint_least32_t SidTuneInfo::c64dataLen | ( | ) | const |
Length of raw C64 data without load address.
| SidTuneInfo::clock_t SidTuneInfo::clockSpeed | ( | ) | const |
The tune clock speed.
| SidTuneInfo::compatibility_t SidTuneInfo::compatibility | ( | ) | const |
Compatibility requirements.
| unsigned int SidTuneInfo::currentSong | ( | ) | const |
The tune that has been initialized.
| uint_least32_t SidTuneInfo::dataFileLen | ( | ) | const |
Length of single-file sidtune file.
| const char * SidTuneInfo::dataFileName | ( | ) | const |
A first file: e.g. "foo.sid" or "foo.mus".
| bool SidTuneInfo::fixLoad | ( | ) | const |
Whether load address might be duplicate.
| const char * SidTuneInfo::formatString | ( | ) | const |
The name of the identified file format.
| const char * SidTuneInfo::infoFileName | ( | ) | const |
A second file: e.g. "foo.str". Returns 0 if none.
| uint_least16_t SidTuneInfo::initAddr | ( | ) | const |
Init Address.
| uint_least16_t SidTuneInfo::loadAddr | ( | ) | const |
Load Address.
| const char * SidTuneInfo::path | ( | ) | const |
Path to sidtune files.
| uint_least16_t SidTuneInfo::playAddr | ( | ) | const |
Play Address.
| uint_least8_t SidTuneInfo::relocPages | ( | ) | const |
Number of pages available for relocation.
| uint_least8_t SidTuneInfo::relocStartPage | ( | ) | const |
First available page for relocation.
| uint_least16_t SidTuneInfo::sidChipBase | ( | unsigned int | i | ) | const |
The number of SID chips required by the tune.
| int SidTuneInfo::sidChips | ( | ) | const |
The number of SID chips required by the tune.
| SidTuneInfo::model_t SidTuneInfo::sidModel | ( | unsigned int | i | ) | const |
Compatibility requirements.
| unsigned int SidTuneInfo::songs | ( | ) | const |
The number of songs.
| int SidTuneInfo::songSpeed | ( | ) | const |
Intended speed.
| unsigned int SidTuneInfo::startSong | ( | ) | const |
The default starting song.
1.8.18