public class SidTuneInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
c64dataLen
length of raw C64 data without load address
|
protected SidTune.Clock |
clockSpeed
intended speed, see top
|
protected Collection<String> |
commentString
Used to stash the MUS comment somewhere.
|
protected SidTune.Compatibility |
compatibility
compatibility requirements
|
protected int |
currentSong
The one song that has been initialized
|
protected int |
determinedDriverAddr
Calculated driver address for PSID driver (0 if none).
|
protected int |
determinedDriverLength
Length of driver.
|
protected Collection<String> |
infoString
Holds text info from the format headers etc.
|
protected int |
initAddr
Load/Init and Play address.
|
protected int |
loadAddr
Load/Init and Play address.
|
protected int |
playAddr
Load/Init and Play address.
|
protected short |
relocPages
Number of pages available for relocation
|
protected short |
relocStartPage
First available page for relocation
|
protected int[] |
sidChipBase
The SID chip base address for each SID.
|
protected SidTune.Model[] |
sidModel
SID Model for each SID.
|
protected int |
songs
Total number of songs contained in a tune.
|
protected int |
startSong
Start song number.
|
Constructor and Description |
---|
SidTuneInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getC64dataLen() |
SidTune.Clock |
getClockSpeed() |
Collection<String> |
getCommentString() |
SidTune.Compatibility |
getCompatibility() |
int |
getCurrentSong() |
int |
getDeterminedDriverAddr() |
int |
getDeterminedDriverLength() |
Collection<String> |
getInfoString() |
int |
getInitAddr() |
int |
getLoadAddr() |
int |
getPlayAddr() |
short |
getRelocPages() |
short |
getRelocStartPage() |
int |
getSelectedSong() |
int |
getSIDChipBase(int sidNum) |
SidTune.Model |
getSIDModel(int sidNum) |
int |
getSongs() |
int |
getStartSong() |
int |
iomap(int addr)
Temporary hack till real bank switching code added
|
void |
setSelectedSong(Integer song)
Select sub-song number (null = default starting song).
|
protected int loadAddr
protected int initAddr
protected int playAddr
protected int songs
protected int startSong
protected int currentSong
protected int[] sidChipBase
protected SidTune.Model[] sidModel
protected short relocStartPage
protected short relocPages
protected SidTune.Clock clockSpeed
protected SidTune.Compatibility compatibility
protected Collection<String> infoString
protected Collection<String> commentString
protected int c64dataLen
protected int determinedDriverAddr
protected int determinedDriverLength
public final int getLoadAddr()
public final int getInitAddr()
public final int getPlayAddr()
public final int getSongs()
public final int getStartSong()
public final int getSIDChipBase(int sidNum)
public final SidTune.Model getSIDModel(int sidNum)
public final int getCurrentSong()
public final SidTune.Clock getClockSpeed()
public final short getRelocStartPage()
public final short getRelocPages()
public final SidTune.Compatibility getCompatibility()
public final Collection<String> getInfoString()
public final Collection<String> getCommentString()
public final int getC64dataLen()
public final int getDeterminedDriverAddr()
public final int getDeterminedDriverLength()
public final void setSelectedSong(Integer song)
song
- The chosen song.public int getSelectedSong()
public int iomap(int addr)
addr
- A 16-bit effective addressCopyright © 2018 Ken Händel. All rights reserved.