/* Library source file - VMODE.C
* by Gary Neal, Jr.
*
* Allows us to set the video mode between modes 13h and the text mode.
* Provides information about mode 13h (height, width, and no of colors).
* Allows us to set pixels and blank the screen.
*/
#include "vmode.h" /* Header file for this library */
/* Sets a global pointer to video memory */
unsigned char far *videoMem = (unsigned char far *)0xA0000000L;
void SetVideoMode(int mode)
{
union REGS regs; /* Define register variable */
regs.x.ax = mode; /* Set video mode */
/* Call interrupt to complete the task */
int86(0x10, ®s, ®s);
}
               (
geocities.com/garyneal_71/GameLib)                   (
geocities.com/garyneal_71)