
	; OutRun imager

	; The disk is in a standard Amiga 11-sector format where all
	; sectors (except for the ones on track 0) have changed blockheaders
	; so Amiga DOS cannot read these.

	; The track layout is different to other formats:

	; The disk is double sided, but track 0 to 79 are on cylinder
	; 0 to 79 on side 0, track 80 to 159 are on cylinder 0 to 79 on
	; side 1.

	; Tracks 43 to 45 are not formatted.

		incdir	Includes:
		include	RawDIC.i

		SLAVE_HEADER
		dc.b	1	; Slave version
		dc.b	0	; Slave flags
		dc.l	DSK_1	; Pointer to the first disk structure
		dc.l	Text	; Pointer to the text displayed in the imager window

		dc.b	"$VER:"
Text:		dc.b	"Outrun imager V1.0",10,"by John Selck on 08.03.1999",0
		cnop	0,4

DSK_1:		dc.l	0		; pointer to next disk structure
		dc.w	1		; disk structure version
		dc.w	DFLG_RAWREADONLY|DFLG_DOUBLEINC|DFLG_ERRORS	; flags (look below)
		dc.l	TL_1		; list of tracks which contain data
		dc.l	0		; UNUSED, ALWAYS SET TO 0!
		dc.l	FL_DISKIMAGE	; list of files to be saved
		dc.l	0		; table of certain tracks with CRC values
		dc.l	0		; alternative disk structure, if CRC failed
		dc.l	0		; called before a disk is read
		dc.l	0		; called after a disk has been read

TL_1:		TLENTRY	0,84,$1600,SYNC_STD,DMFM_STD
		TLENTRY	86,118,$1600,SYNC_INDEX,DMFM_NULL	; Errors on tracks 86,88,90. Tracks 92-118 are empty.
		TLENTRY	120,158,$1600,SYNC_STD,DMFM_STD
		TLENTRY	1,159,$1600,SYNC_STD,DMFM_STD
		TLEND

