	IFND	LIBRARIES_THXPLAY_I
LIBRARIES_THXPLAY_I	SET	1

**
**	$VER: libraries/thxplay.i 5.2 (10.06.98)
**
**	A few simple facts about the THX module header.
**
**	(C) Copyright 1997-1998 Kyzer/CSG
**	All Rights Reserved.
**

	IFND	EXEC_TYPES_I
	INCLUDE	"exec/types.i"
	ENDC

THX_ID		EQU	$54485800
THX2_ID 	EQU	$54485801

    STRUCTURE	thxHeader,0
	ULONG	thxh_id		; header ID (THX_ID or THX2_ID)
	UWORD	thxh_skip	; skipvalue (ignore)
	UWORD	thxh_len	; (thxh_len & 0xfff) = length of position list
				; ((thxh_len & 0x7000) >> 12) = cia speed
				; ((thxh_len & 0x8000) != 0) = BOOL trk0here
    	UWORD	thxh_res	; (thxh_res & 0xfff) = restart position
    	UBYTE	thxh_trl	; length of each track
    	UBYTE	thxh_trk	; number of tracks
    	UBYTE	thxh_smp	; number of samples
    	UBYTE	thxh_ss		; number of subsongs
	LABEL	thxh_SIZEOF

    	ENDC
