public class T64 extends SidTune
Modifier and Type | Class and Description |
---|---|
static class |
T64.T64Entry |
SidTune.Clock, SidTune.Compatibility, SidTune.Model, SidTune.Speed
Modifier and Type | Field and Description |
---|---|
static byte |
BITMASK_FILETYPE
BITMASK_FILETYPE.
|
static byte |
FILETYPE_PRG
FILETYPE_PRG.
|
protected static MessageDigest |
MD5_DIGEST |
protected byte[] |
program |
protected int |
programOffset |
info, RESET, RESET_INIT_DELAY, USE_KICKASSEMBLER
Constructor and Description |
---|
T64() |
Modifier and Type | Method and Description |
---|---|
T64.T64Entry |
getEntry(byte[] dataBuf,
int entryNum)
Load T64 file entry from buffer.
|
protected long |
getInitDelay()
Return delay in C64 clocks before song init is done.
|
String |
getMD5Digest(MD5Method md5Method)
Calculate MD5 checksum.
|
SidIdInfo.PlayerInfoSection |
getPlayerInfo(String playerName)
Search player ID Info.
|
Collection<String> |
identify()
Identify the player IDs of a program in memory.
|
protected static SidTune |
load(String name,
byte[] dataBuf) |
Integer |
placeProgramInMemory(byte[] mem)
Copy program into C64 memory.
|
void |
save(File file,
byte[] program,
int programOffset,
int c64dataLen,
int loadAddr) |
void |
save(String filename) |
getContents, getInfo, getInitDelay, getPSidHeader, getSIDAddress, getSongSpeed, getSongSpeedWord, isFakeStereoSid, isSIDUsed, isSolelyPrg, load, load, prepare
public static final byte BITMASK_FILETYPE
public static final byte FILETYPE_PRG
protected static final MessageDigest MD5_DIGEST
protected int programOffset
protected byte[] program
protected static SidTune load(String name, byte[] dataBuf) throws SidTuneError
SidTuneError
public T64.T64Entry getEntry(byte[] dataBuf, int entryNum) throws SidTuneError
dataBuf
- buffer with file dataentryNum
- entry number to loadSidTuneError
public void save(File file, byte[] program, int programOffset, int c64dataLen, int loadAddr) throws IOException
IOException
public void save(String filename) throws IOException
save
in class SidTune
filename
- Destination for the file.IOException
public Integer placeProgramInMemory(byte[] mem)
SidTune
placeProgramInMemory
in class SidTune
public Collection<String> identify()
public SidIdInfo.PlayerInfoSection getPlayerInfo(String playerName)
getPlayerInfo
in class SidTune
playerName
- player to get infos forpublic String getMD5Digest(MD5Method md5Method)
getMD5Digest
in class SidTune
protected long getInitDelay()
SidTune
getInitDelay
in class SidTune
Copyright © 2018 Ken Händel. All rights reserved.