Package libsidplay.sidtune
Klasse Mus
java.lang.Object
libsidplay.sidtune.SidTune
libsidplay.sidtune.Prg
libsidplay.sidtune.PSid
libsidplay.sidtune.Mus
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen libsidplay.sidtune.SidTune
SidTune.Clock, SidTune.Compatibility, SidTune.Model, SidTune.Speed -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungKnown SID names.private static final intprivate static final Stringprivate static final Stringprivate static final intprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final intprivate intNeeded for MUS/STR player installation.private KickAssemblerResultprivate KickAssemblerResultVon Klasse geerbte Felder libsidplay.sidtune.Prg
program, programOffsetVon Klasse geerbte Felder libsidplay.sidtune.SidTune
info, RESET, RESET_INIT_DELAY, USE_KICKASSEMBLER -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprivate voidassembleAndinstallMusPlayers(byte[] c64buf) private voidcheckLabels(String asmSource, Map<String, Integer> resolvedSymbols, String data_low, String data_high, String init, String start) private intprivate StringgetCredits(byte[] musBuf, int voice3DataEnd) private static FilegetStereoTune(File file) Get stereo music file by naming convention.private voidinstallMusPlayer(byte[] c64buf, int musDataAddr, byte[] driver, Integer data_low, Integer data_high) protected static SidTuneLoad MUS mono or stereo tune (find paired stereo files: MUS/STR or _A.MUS/_B.MUS)private voidloadWithProvidedMetadata(File musFile, byte[] musBuf) placeProgramInMemory(byte[] c64buf) Copy program into C64 memory.voidprepare()Linux ALSA is very sensible for timing: therefore we assemble before we open AudioLineprivate voidrelocateAndInstallMusPlayers(byte[] c64buf) voidVon Klasse geerbte Methoden libsidplay.sidtune.PSid
findPlaceForDriver, getInitDelay, getMD5Digest, getPSidHeader, getSongSpeed, getSongSpeedWord, load, placeProgramInMemoryVon Klasse geerbte Methoden libsidplay.sidtune.Prg
getPlayerInfo, identify, identifyVon Klasse geerbte Methoden libsidplay.sidtune.SidTune
getContents, getInfo, getInitDelay, getSIDAddress, isFakeStereoSid, isSIDUsed, load, load
-
Felddetails
-
MUS_DRIVER1_ASM
- Siehe auch:
-
MUS_DRIVER1_BIN
- Siehe auch:
-
MUS_DRIVER2_ASM
- Siehe auch:
-
MUS_DRIVER2_BIN
- Siehe auch:
-
DEFAULT_MUS_NAMES
Known SID names. MUS loader scans for these. -
ERR_SIDTUNE_INVALID
- Siehe auch:
-
ERR_SIDTUNE_2ND_INVALID
- Siehe auch:
-
MUS_HLT_CMD
private static final int MUS_HLT_CMD- Siehe auch:
-
MUS_DATA_ADDR
private static final int MUS_DATA_ADDR- Siehe auch:
-
DUAL_SID_BASE
private static final int DUAL_SID_BASE- Siehe auch:
-
musDataLen
private int musDataLenNeeded for MUS/STR player installation. -
preparedDriver
-
preparedStereoDriver
-
-
Konstruktordetails
-
Mus
Mus()
-
-
Methodendetails
-
placeProgramInMemory
Beschreibung aus Klasse kopiert:SidTuneCopy program into C64 memory.- Setzt außer Kraft:
placeProgramInMemoryin KlassePSid- Parameter:
c64buf-- Gibt zurück:
- play driver address
-
detect
- Löst aus:
SidTuneError
-
load
Load MUS mono or stereo tune (find paired stereo files: MUS/STR or _A.MUS/_B.MUS)- Löst aus:
SidTuneError
-
loadWithProvidedMetadata
- Löst aus:
SidTuneError
-
getCredits
-
getStereoTune
Get stereo music file by naming convention. Couples are *.mus/*.str or *_a.mus/*_b.mus .- Parameter:
file- file to get the stereo tune for (e.g. name.mus).- Gibt zurück:
- stereo file (e.g. name.str)
-
prepare
public void prepare()Linux ALSA is very sensible for timing: therefore we assemble before we open AudioLine -
assembleAndinstallMusPlayers
private void assembleAndinstallMusPlayers(byte[] c64buf) -
checkLabels
-
relocateAndInstallMusPlayers
private void relocateAndInstallMusPlayers(byte[] c64buf) -
installMusPlayer
-
save
- Setzt außer Kraft:
savein KlassePSid- Parameter:
name- Destination for the file.- Löst aus:
IOException
-