Category : Files from Magazines
Archive   : WDOCT92.ZIP
Filename : C.C

 
Output of file : C.C contained in archive : WDOCT92.ZIP
extern int FormatDiskette (int,int,int,char far *) ;

main() {

int DrvNum ;
int DrvType ;
int Media ;
int Result ;
static char Buf[4680] ;

printf ("Format which physical drive: ") ;
scanf ("%d",&DrvNum) ;

printf ("\nType 1: 360k 5.25-inch 40 tracks\n") ;
printf ("Type 2: 1.2M 5.25-inch 80 tracks\n") ;
printf ("Type 3: 720k 3.5-inch 80 tracks\n") ;
printf ("Type 4: 1.4M 3.5-inch 80 tracks\n") ;
printf ("Drive is what type: ") ;
scanf ("%d",&DrvType) ;

printf ("\n 360 = 360k\n") ;
printf ("1200 = 1.2M\n") ;
printf (" 720 = 720k\n") ;
printf ("1440 = 1.4M\n") ;

printf ("Format to what capacity: ") ;
scanf ("%d",&Media) ;

Result = FormatDiskette(DrvNum,DrvType,Media,(char far *) Buf) ;

Printf ("\nFormatDiskette() returned %d",Result) ;

}


  3 Responses to “Category : Files from Magazines
Archive   : WDOCT92.ZIP
Filename : C.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/