home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_01_03
/
1n03069c
< prev
next >
Wrap
Text File
|
1990-07-06
|
293b
|
22 lines
void DisplayChar(unsigned char line, unsigned char col,
char attr, char ch)
{
union REGS r;
r.h.ah = 2;
r.h.bh = 0;
r.h.dh = line;
r.h.dl = col;
int86(0x10,&r,&r);
r.h.ah = 9;
r.h.al = ch;
r.h.bh = 0;
r.h.bl = attr;
r.x.cx = 1;
int86(0x10,&r,&r);
}