Category : Files from Magazines
Archive   : ITCMAR91.ZIP
Filename : MCB.H
* MCB.H - definitions & prototypes for handling MCBs *
****************************************************************/
#define mcbRSRVD 11 /* Size of reserved area*/
#define mcbSIZE 16 /* Size of DOS' MCB */
typedef struct
{
char marker; /* Chain status marker */
unsigned int owner; /* Owner of block (PSP) */
unsigned int size; /* Size of block (para) */
unsigned char reserved[mcbRSRVD]; /* Currently unused */
} MCB;
/* Function prototypes of getFirstMCB() and getNextMCB() */
MCB far *getFirstMCB(void); /* Get addr of first MCB*/
MCB far *getNextMCB(MCB far *); /* Get addr of next MCB */
/* macro pseudoFunction for getNextMCB() */
#define getNextMCB(x) ((MCB far *)MK_FP(FP_SEG(x)+x->size+1,0))
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/