Class FileLoader.SpectrumHeader
java.lang.Object
net.emustudio.emulib.io.FileLoader.SpectrumHeader
- Enclosing class:
FileLoader
ZX Spectrum tape header (the 17 bytes after flag 0).
-
Method Summary
-
Method Details
-
getType
public int getType()- Returns:
- 0 = program, 1 = number array, 2 = character array, 3 = code (memory block)
-
getFileName
- Returns:
- file name, padded with spaces to 10 characters
-
getDataLength
public int getDataLength()- Returns:
- length of the following data block
-
getParameter1
public int getParameter1()- Returns:
- autostart line (program), variable name in high byte (arrays) or start address (code)
-
getParameter2
public int getParameter2()- Returns:
- program length without variables (program) or 32768 (code)
-