Category : Files from Magazines
Archive   : DDJ9407C.ZIP
Filename : RAYSVGA.H

 
Output of file : RAYSVGA.H contained in archive : DDJ9407C.ZIP
/***********************************************************************/
/*** (C) Copyright A.MANGEN 1994 ***/
/***********************************************************************/
/*** PROJECT : RAY TRACING PROGRAM ***/
/*** PROGRAM NAME: RAYSVGA.H ***/
/*** VERSION : 1.1 ***/
/***-----------------------------------------------------------------***/
/*** DESCRIPTION : VESA SVGA Interface - Include File ***/
/***********************************************************************/

const FALSE=0;
const TRUE =1;

const VESA_OK = 0x004F; // Return Code if OK

const VESA_320x200x256 = 0x013; // All VESA Modes
const VESA_640x400x256 = 0x100;
const VESA_640x480x256 = 0x101;
const VESA_800x600x16 = 0x102;
const VESA_800x600x256 = 0x103;
const VESA_1024x768x16 = 0x104;
const VESA_1024x768x256 = 0x105;
const VESA_1280x1024x16 = 0x106;
const VESA_1280x1024x256 = 0x107;

const VESA_Max_Width = 1280; // Maximum width for VESA

int VESA_SetMode(int Mode,int GetMaxX,int GetMaxY);
int VESA_Close();
int VESA_GetMode();
int VESA_SetBank(int N);
void VESA_PutPixel(int x,int y,int color);
void VESA_WritePixel(int x,int y,int n,char *color);
void VESA_ShowPalette();
void VESA_LoadBlackPalette();
void VESA_LoadBWPalette();
void VESA_LoadColor(int i,int R,int G,int B);
void VESA_ActivatePalette();
void Beep();


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