/*	Mike's Useful Structures	*/
/*	version = 0.00			*/

/*	Change History:

	0.0a 12/06/83	Initial structures created
	0.0b 01/22/84	Write mode structures added
*/

#include "mpconst.def"

/*=================================================================*/

/*	80/86 GetAssign information structure	*/

struct	GetInfoStruct {
#ifndef cpm80
	CHAR	GetDrv;
	CHAR	GetName[ LENpart];
	CHAR	GetSizeNo;
	CHAR	GetUnit;
	CHAR	GetCtl;
	CHAR	GetVol;
	CHAR	GetType;
	CHAR	GetWMstatus;
	CHAR	unused1;
	CHAR	unused2;
#else
	CHAR	GetDrv;
	CHAR	GetName[ LENpart];
	int	GetSize;
	CHAR	GetSizeNo;
	CHAR	GetUnit;
	CHAR	GetCtl;
	CHAR	GetVol;
	CHAR	GetType;
#endif
	};
/* save old structure for reference
	CHAR	GetDrv;
	CHAR	GetName[ LENpart];
	CHAR	GetPartNo;
	CHAR	GetSizeNo;
	int	GetSize;
	CHAR	GetType;
	CHAR	GetDriveNo;
	CHAR	GetCtl;
*/
/*=================================================================*/

/*	86/80 MakeAssign Information structure 	*/

struct	MakInfoStruct {
#ifdef cpm80
	CHAR	MakCom;		/* network assign command inserted here */
	CHAR	MakName[ LENpart];
	CHAR	MakPass[ LENpass];
	CHAR	MakSize;
	CHAR	MakUnit;
	CHAR	MakCtl;
	CHAR	MakVolume;
#else
	CHAR	MakDrv;
	CHAR	MakName[ LENpart];
	CHAR	MakSize;
	CHAR	MakUnit;
	CHAR	MakCtl;
	CHAR	MakVolume;
	CHAR	MakType;
	CHAR	MakWMstatus;
	CHAR	MakPass[ LENpass];
#endif
	};

/*=================================================================*/
/* write mode send structure */

struct 	WMsend {
	CHAR wmcmd; /* generic command */
	CHAR WMcmd; /* specific command: grt/rel/frc/qry */
	CHAR WMvol;
	CHAR WMunit;
	CHAR WMvalue;
	CHAR WMuserno;
	};
/*=================================================================*/
/* write mode receive structure */

struct	WMrec {
	CHAR WMack;
	CHAR WMstatus;
	CHAR WMuser[ 8];
	};
/*=================================================================*/
/* write mode bios vector structure */

struct	WMstruct {
	struct WMsend wmsend;
	CHAR logdrive;
	struct WMrec wmrec;
	};
/*=================================================================*/
struct	DMSinfo {
	CHAR OStype;
	CHAR prodmap[ 16];
	CHAR optionmap[ 6];
	CHAR netuserno;
	CHAR version [ 4];
	CHAR unused [10];
	};

