Package libsidutils.prg2tap
Klasse PRG2TAP
java.lang.Object
libsidutils.prg2tap.PRG2TAP
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibung(Package privat) static final intprivate static final int[]private static final Stringprivate static final Stringprivate static final intprivate byteprivate intprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate booleanstatic boolean -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidadd(PRG2TAPProgram program) Add program to TAP file.voidaddAssembled(PRG2TAPProgram program) Add program to TAP file.voidaddBin(PRG2TAPProgram program, byte[] turboHeaderBin, byte[] turboDataBin, byte[] slowHeaderBin) Add program to TAP file.voidaddSilence(int ncycles) Add silence for n cyclesvoidclose()Close TAP fileprivate byte[]private byte[]compileAssembled(HashMap<String, String> globals, String resource) private StringgetName(PRG2TAPProgram program) byte[]voidopen()Open TAP filefinal voidsetTapVersion(byte tapVersion) final voidsetThreshold(int threshold) final voidsetTurboTape(boolean turboTape) private voidslowConvert(byte[] data, int startAddr, int length, int leadinLen) private voidslowWriteByte(byte byt) private voidturbotapeConvert(PRG2TAPProgram program) private voidturbotapeWriteByte(byte byt)
-
Felddetails
-
TURBO_HEADER_ASM
- Siehe auch:
-
TURBO_DATA_ASM
- Siehe auch:
-
SLOW_HEADER_ASM
- Siehe auch:
-
TURBO_HEADER_BIN
- Siehe auch:
-
TURBO_DATA_BIN
- Siehe auch:
-
SLOW_HEADER_BIN
- Siehe auch:
-
USE_KICKASSEMBLER
public static boolean USE_KICKASSEMBLER -
MAX_NAME_LENGTH
static final int MAX_NAME_LENGTH- Siehe auch:
-
TAP_HEADER_SIZE
private static final int TAP_HEADER_SIZE- Siehe auch:
-
PULSE_LENGTH
private static final int[] PULSE_LENGTH -
tapVersion
private byte tapVersion -
threshold
private int threshold -
turboTape
private boolean turboTape -
result
-
-
Konstruktordetails
-
PRG2TAP
public PRG2TAP()
-
-
Methodendetails
-
setTapVersion
public final void setTapVersion(byte tapVersion) -
setThreshold
public final void setThreshold(int threshold) -
setTurboTape
public final void setTurboTape(boolean turboTape) -
add
Add program to TAP file.- Löst aus:
IOException
-
addAssembled
Add program to TAP file.- Löst aus:
IOException
-
addBin
public void addBin(PRG2TAPProgram program, byte[] turboHeaderBin, byte[] turboDataBin, byte[] slowHeaderBin) throws IOException Add program to TAP file.- Löst aus:
IOException
-
compileAssembled
-
compile
-
getName
-
addSilence
Add silence for n cycles- Parameter:
ncycles- cycles of silence to add (1000000 ~ 1 sec)- Löst aus:
IOException
-
open
Open TAP file- Löst aus:
IOException
-
close
public void close()Close TAP file -
getResult
public byte[] getResult() -
slowConvert
- Löst aus:
IOException
-
slowWriteByte
- Löst aus:
IOException
-
turbotapeConvert
- Löst aus:
IOException
-
turbotapeWriteByte
- Löst aus:
IOException
-