home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
C-ASM_VI.ARJ
/
PROGC.ZIP
/
PROGC012.C
< prev
next >
Wrap
Text File
|
1988-05-15
|
661b
|
18 lines
/************************************************************************/
/* Test low level example: Use Video_BIOS library function to use BIOS */
/************************************************************************/
test_video_BIOS()
{
int i;
static char string[] = "Print string using BIOS function E";
/* Move cursor to row Ahex column 20hex using function 2 */
video_BIOS(0x0200, 0, 0, 0x0A20);
/* Print a string at current cursor position using function E */
for (i = 0; string[i] != NULL; i++)
video_BIOS(0x0E00 + string[i]);
}