Klasse SidTuneInfo

java.lang.Object
libsidplay.sidtune.SidTuneInfo

public class SidTuneInfo extends Object
An instance of this structure is used to transport values to and from SidTune objects.
Autor:
Ken Händel
  • Felddetails

    • loadAddr

      protected int loadAddr
      Load/Init and Play address.
    • initAddr

      protected int initAddr
      Load/Init and Play address.
    • playAddr

      protected int playAddr
      Load/Init and Play address.
    • songs

      protected int songs
      Total number of songs contained in a tune.
    • startSong

      protected int startSong
      Start song number.
    • currentSong

      protected int currentSong
      The one song that has been initialized
    • sidChipBase

      protected int[] sidChipBase
      The SID chip base address for each SID.
    • sidModel

      protected SidTune.Model[] sidModel
      SID Model for each SID.
    • relocStartPage

      protected short relocStartPage
      First available page for relocation
    • relocPages

      protected short relocPages
      Number of pages available for relocation
    • clockSpeed

      protected SidTune.Clock clockSpeed
      intended speed, see top
    • compatibility

      protected SidTune.Compatibility compatibility
      compatibility requirements
    • infoString

      protected Collection<String> infoString
      Holds text info from the format headers etc. Song title, credits, ... 0 = Title, 1 = Author, 2 = Copyright/Publisher
    • commentString

      protected Collection<String> commentString
      Used to stash the MUS comment somewhere. MUS comments (2 entries when STR also has comment)
    • c64dataLen

      protected int c64dataLen
      length of raw C64 data without load address
    • determinedDriverAddr

      protected int determinedDriverAddr
      Calculated driver address for PSID driver (0 if none).
    • determinedDriverLength

      protected int determinedDriverLength
      Length 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

      public final SidTune.Model getSIDModel(int sidNum)
    • getCurrentSong

      public final int getCurrentSong()
    • getClockSpeed

      public final SidTune.Clock getClockSpeed()
    • getRelocStartPage

      public final short getRelocStartPage()
    • getRelocPages

      public final short getRelocPages()
    • getCompatibility

      public final SidTune.Compatibility getCompatibility()
    • getInfoString

      public final Collection<String> getInfoString()
    • getCommentString

      public final Collection<String> getCommentString()
    • getC64dataLen

      public final int getC64dataLen()
    • getDeterminedDriverAddr

      public final int getDeterminedDriverAddr()
    • getDeterminedDriverLength

      public final int getDeterminedDriverLength()
    • setSelectedSong

      public final void setSelectedSong(Integer song)
      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

      public String getAudioTypeString()