Package libsidplay.sidtune
Klasse PSidHeader
java.lang.Object
libsidplay.sidtune.PSidHeader
Header has been extended for 'RSID' format
The following changes are present:
The following changes are present:
- id = 'RSID'
- version = 2 or 3 only
- play, load and speed reserved 0
- psid specific flag reserved 0
- init cannot be under ROMS/IO
- load cannot be less than 0x0801 (start of basic)
- Autor:
- Ken Händel
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibung(Package privat) byte[]ASCII strings, 31 characters long and terminated by a trailing zero For version 0x0003, all 32 chars can be used without zero termination. if less than 32 chars are used then it should be terminated with a trailing zero(Package privat) short16-bit offset to binary data in filestatic final int(Package privat) shortonly version 0x0002+(Package privat) byte[]Magic (PSID or RSID)(Package privat) short16-bit C64 address of init subroutine(Package privat) static final Charset(Package privat) short16-bit C64 address to load file to(Package privat) byte[]ASCII strings, 31 characters long and terminated by a trailing zero For version 0x0003, all 32 chars can be used without zero termination. if less than 32 chars are used then it should be terminated with a trailing zero(Package privat) short16-bit C64 address of play subroutine(Package privat) byte[]ASCII strings, 31 characters long and terminated by a trailing zero For version 0x0003, all 32 chars can be used without zero termination. if less than 32 chars are used then it should be terminated with a trailing zero(Package privat) byteonly version 0x0002+(Package privat) byteonly version 0x0002+(Package privat) byteonly version 0x0003 to indicate second SID chip address(Package privat) byteonly version 0x0004 to indicate third SID chip addressstatic final int(Package privat) shortnumber of songs(Package privat) int32-bit speed info:
bit: 0=50 Hz, 1=CIA 1 Timer A (default: 60 Hz)(Package privat) shortstart song out of [1..256](Package privat) short0x0001, 0x0002, 0x0003 or 0x0004 -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Felddetails
-
ISO_8859_1
-
SIZE
public static final int SIZE- Siehe auch:
-
DATA_OFFSET_FIELD
public static final int DATA_OFFSET_FIELD- Siehe auch:
-
id
byte[] idMagic (PSID or RSID) -
version
short version0x0001, 0x0002, 0x0003 or 0x0004 -
data
short data16-bit offset to binary data in file -
load
short load16-bit C64 address to load file to -
init
short init16-bit C64 address of init subroutine -
play
short play16-bit C64 address of play subroutine -
songs
short songsnumber of songs -
start
short startstart song out of [1..256] -
speed
int speed32-bit speed info:
bit: 0=50 Hz, 1=CIA 1 Timer A (default: 60 Hz) -
name
byte[] nameASCII strings, 31 characters long and terminated by a trailing zero For version 0x0003, all 32 chars can be used without zero termination. if less than 32 chars are used then it should be terminated with a trailing zero -
author
byte[] authorASCII strings, 31 characters long and terminated by a trailing zero For version 0x0003, all 32 chars can be used without zero termination. if less than 32 chars are used then it should be terminated with a trailing zero -
released
byte[] releasedASCII strings, 31 characters long and terminated by a trailing zero For version 0x0003, all 32 chars can be used without zero termination. if less than 32 chars are used then it should be terminated with a trailing zero -
flags
short flagsonly version 0x0002+ -
relocStartPage
byte relocStartPageonly version 0x0002+ -
relocPages
byte relocPagesonly version 0x0002+ -
sidChip2MiddleNybbles
byte sidChip2MiddleNybblesonly version 0x0003 to indicate second SID chip address -
sidChip3MiddleNybbles
byte sidChip3MiddleNybblesonly version 0x0004 to indicate third SID chip address
-
-
Konstruktordetails
-
PSidHeader
public PSidHeader(byte[] header) -
PSidHeader
PSidHeader()
-
-
Methodendetails
-
getArray
public byte[] getArray() -
getString
-
getName
-
getAuthor
-
getReleased
-