EasyManua.ls Logo

Ovation 1C31169G01 - Page 66

Ovation 1C31169G01
73 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A-2. Example Functions
2/99 A-3 U3-1021
Westinghouse Proprietary Class 2C
/* store real with status (format 2) in OIOB register */
void str_fm2(int reg, format2 value)
{
int far *base = (int far *) 0xa0000000;
((format2) *(reg + base)) = value;
}
/* set LED state */
void lc_led(char status)
{
outp(0x980,status);
}
/* read LC status */
int lc_stat()
{
return(inp(0x0a00));
}
/* write string to dumb terminal */
void string_out ( char *str )
{
int i;
for (i =0; i <strlen(str); i++)
_bios_serialcom(_COM_SEND,0,str[i]);
}

Related product manuals