Category : C Source Code
Archive   : IMDSRC78.ZIP
Filename : DISPIO.H

 
Output of file : DISPIO.H contained in archive : IMDSRC78.ZIP
/**** DISPIO.H

Header file for DISPIO.H
Built by A. Warnock, ST Systems Corp., NASA/GSFC 5/90

****/

/* * * * Defined Constants * * * */

/* * * * External Function Prototypes * * * */

extern int DisplayOn (void);
extern int DisplayOff (void);
extern int WritePixel (int, int, int);
extern int ReadPixel (int, int, int *);
extern int DisplayLine (unsigned char *,int ,int ,int );
extern int GetLine (unsigned char *,int ,int ,int );
extern int FormatLine (unsigned char *buffer, int nsdd, int nsd, int bitshift, int NoScale, char status[]);
extern int ClearDisplay (int );
extern int Which_Tseng(void);

/* * * * External Global Variables * * * */

extern int atibank;
extern int LastPage;
extern char specname[8];
extern int dispnl, dispns, numDN, numshades, OneScreen;
extern int tseng;

/* DisplayDevice indicates the type of display (CGA=0, EGA=1, PGA=2).
dispnl is the number of lines in the display.
dispns is the number of samples in the display.
numDN is the number of unique pixel values (e.g. 4 bits ->
numDN=16).
numshades is the number of shades each of red, green, and blue
(e.g. numshades=16 gives 16**3 = 4096 possible colors).
OneScreen is true if there is only one screen, i.e. there is not
image screen and a text screen.
*/

extern Color DefaultPalette[256], PaletteTable[256];

extern enum Display
{ DISPLAY_MIN = -1, CGA200, EGA350, PGA, VGA480, VGA200, BIOS,
ORCHID480, ORCHID600, EVGA640, EVGA512, EVGA800, EGA480,
ATI640, ATI800, ATI1024, PARADISE, ORCHID768, TRIDENT, VESA,
VESA800, VESA640, EV629, TEST, DISPLAY_MAX };

extern enum Display DisplayDevice;


  3 Responses to “Category : C Source Code
Archive   : IMDSRC78.ZIP
Filename : DISPIO.H

  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/