home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource5
/
361_01
/
setmode.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1991-09-19
|
215 b
|
15 lines
/* Taken from CUG-273 */
#include <stdek.h>
#include <gadgets.h>
#include <dos.h>
void SetVideoMode(int Mode)
{
union REGS rg;
rg.h.ah = 0x00; rg.h.al = Mode; int86(0x10, &rg, &rg);
}