home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
hamradio
/
bm332c.zip
/
CLS.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-14
|
639b
|
24 lines
/*-----------------------------------------------------------------*/
/* c l s */
/* */
/* Clear screen and home cursor */
/* using BIOS interrupt 10h */
/*-----------------------------------------------------------------*/
#pragma inline
void cls(void)
{
asm mov ax, 0600h;
asm mov bx, 0700h;
asm mov cx, 0;
asm mov dx, 184fh;
asm int 10h;
asm mov ah, 2;
asm mov bh, 0;
asm mov dx, 0;
asm int 10h;
}