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

Output of file : 080.C contained in archive : LSPD05-2.ZIP
/* Light Speed Reference Example Program */
/* Find display size */
#include "lspeed.h"

/* Variables */
int height, width;

/* Set a screen mode */

/* Assign values */
height = ega_displayheight();
width = ega_displaywidth();

/* Report values, restore 80x25 and exit */
printf("Screen height is %d\n", height);
printf("Screen width is %d\n", width);
printf("Press a key...");

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