![]() |
Table of contents |
ZXSTDSKFILEEach +3 disk drive that has a disk inserted in it will have one of these blocks. They follow the ZXSTPLUS3 block which identifies the number of drives.
// +3 Disk image
// Each drive that has a disk in it has one of
// these blocks.
#define ZXSTDSKF_COMPRESSED 1
#define ZXSTDSKF_EMBEDDED 2
typedef struct _tagZXSTDSKFILE
{
ZXSTBLOCK blk;
WORD wFlags;
BYTE chDriveNum;
DWORD dwUncompressedSize;
BYTE chData[1];
} ZXSTDSKFILE, *LPZXSTDSKFILE;
Membersblk
The block header. The block id is ZXSTBID_DSKFILE ('D', 'S', 'K', 0).
wFlags
Various flags. This can be a combination of:
chDriveNum
Specifies which drive to insert this disk image into. It will either be 0 (A:) or 1 (B:)
dwUncompressedSize
The length of the filename at chData
chData
The file name of the disk file (.dsk) which should be opened and inserted into this drive
RemarksThese blocks follow the ZXSTPLUS3 block which identifies the number of drives. Revision historyAvailable since version 1.0 |
| Copyright © 2001 - 2008 Jonathan Needle | |