Category : C Source Code
Archive   : LSPD05-2.ZIP
Filename : 093.C

 
Output of file : 093.C contained in archive : LSPD05-2.ZIP
/* Light Speed Reference Example Program */
/* Read the graphics mode - no functionality, however */
#include "lspeed.h"

main()
{
/* Find mode, act on it */
switch (get_mode())
{
case EGA_640x350 : /* 640 by 350 graphics mode */ .....
break;
case EGA_640x200 : /* 640 by 200 graphics mode */ .....
break;
case EGA_320x300 : /* 320 by 200 graphics mode */ .....
break;
case EGA_80x25 : /* 80 by 25 text mode */ .....
break;
case EGA_40x25 : /* 40 by 25 text mode */ .....
break;
default : /* Some other mode */ .....
break;
}
}



  3 Responses to “Category : C Source Code
Archive   : LSPD05-2.ZIP
Filename : 093.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/