Package libsidplay.sidtune
Klasse SidTuneInfo
java.lang.Object
libsidplay.sidtune.SidTuneInfo
An instance of this structure is used to transport values to and from SidTune
objects.
- Autor:
- Ken Händel
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected intlength of raw C64 data without load addressprotected SidTune.Clockintended speed, see topprotected Collection<String> Used to stash the MUS comment somewhere.protected SidTune.Compatibilitycompatibility requirementsprotected intThe one song that has been initializedprotected intCalculated driver address for PSID driver (0 if none).protected intLength of driver.protected Collection<String> Holds text info from the format headers etc.protected intLoad/Init and Play address.protected intLoad/Init and Play address.protected intLoad/Init and Play address.protected shortNumber of pages available for relocationprotected shortFirst available page for relocationprotected int[]The SID chip base address for each SID.protected SidTune.Model[]SID Model for each SID.protected intTotal number of songs contained in a tune.protected intStart song number. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal intfinal SidTune.Clockfinal Collection<String> final SidTune.Compatibilityfinal intfinal intfinal intfinal Collection<String> final intfinal intfinal intfinal shortfinal shortintfinal intgetSIDChipBase(int sidNum) final SidTune.ModelgetSIDModel(int sidNum) final intgetSongs()final intintiomap(int addr) Temporary hack till real bank switching code addedfinal voidsetSelectedSong(Integer song) Select sub-song number (null = default starting song).
-
Felddetails
-
loadAddr
protected int loadAddrLoad/Init and Play address. -
initAddr
protected int initAddrLoad/Init and Play address. -
playAddr
protected int playAddrLoad/Init and Play address. -
songs
protected int songsTotal number of songs contained in a tune. -
startSong
protected int startSongStart song number. -
currentSong
protected int currentSongThe one song that has been initialized -
sidChipBase
protected int[] sidChipBaseThe SID chip base address for each SID. -
sidModel
SID Model for each SID. -
relocStartPage
protected short relocStartPageFirst available page for relocation -
relocPages
protected short relocPagesNumber of pages available for relocation -
clockSpeed
intended speed, see top -
compatibility
compatibility requirements -
infoString
Holds text info from the format headers etc. Song title, credits, ... 0 = Title, 1 = Author, 2 = Copyright/Publisher -
commentString
Used to stash the MUS comment somewhere. MUS comments (2 entries when STR also has comment) -
c64dataLen
protected int c64dataLenlength of raw C64 data without load address -
determinedDriverAddr
protected int determinedDriverAddrCalculated driver address for PSID driver (0 if none). -
determinedDriverLength
protected int determinedDriverLengthLength of driver.
-
-
Konstruktordetails
-
SidTuneInfo
public SidTuneInfo()
-
-
Methodendetails
-
getLoadAddr
public final int getLoadAddr() -
getInitAddr
public final int getInitAddr() -
getPlayAddr
public final int getPlayAddr() -
getSongs
public final int getSongs() -
getStartSong
public final int getStartSong() -
getSIDChipBase
public final int getSIDChipBase(int sidNum) -
getSIDModel
-
getCurrentSong
public final int getCurrentSong() -
getClockSpeed
-
getRelocStartPage
public final short getRelocStartPage() -
getRelocPages
public final short getRelocPages() -
getCompatibility
-
getInfoString
-
getCommentString
-
getC64dataLen
public final int getC64dataLen() -
getDeterminedDriverAddr
public final int getDeterminedDriverAddr() -
getDeterminedDriverLength
public final int getDeterminedDriverLength() -
setSelectedSong
Select sub-song number (null = default starting song).- Parameter:
song- The chosen song.
-
getSelectedSong
public int getSelectedSong()- Gibt zurück:
- The active sub-song number
-
iomap
public int iomap(int addr) Temporary hack till real bank switching code added- Parameter:
addr- A 16-bit effective address- Gibt zurück:
- A default bank-select value for $01.
-
getAudioTypeString
-