Category : C Source Code
Archive   : JAZLIB.ZIP
Filename : JZFAT.C

 
Output of file : JZFAT.C contained in archive : JAZLIB.ZIP
/*
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ Title : jzfat ³
³ Purpose : Return file allocation info ³
³ ³
³ Notes : fdrive = 0 for default, 1 for A:, etc ³
³ ³
³ Written by Jack Zucker - 75766,1336 301-794-5950 on ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
*/
/* requires jaz.h */

unsigned char far *jzfat(fdrive , fsect_alloc,fsectsize,fclusters)
unsigned int fdrive ,*fsect_alloc,*fsectsize,*fclusters;
{
TREG wreg;

wreg.h.ah = 0x1c;
wreg.h.dl = fdrive;
msdos(&wreg);

*fsect_alloc = (int) wreg.h.al;
*fsectsize = wreg.x.cx;
*fclusters = wreg.x.dx;
return(LPOINTER(char,wreg.x.ds,wreg.x.bx));
}



  3 Responses to “Category : C Source Code
Archive   : JAZLIB.ZIP
Filename : JZFAT.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/