Home |
RTTarget-32 Programming Manual Function RTDisplayCharAt System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTDisplayCharAtFunction RTDisplayCharAt displays a characeter at a specific location on the screen: void RTDisplayCharAt(int Col, int Row, WORD Ch); ParametersColColumn. As long as RTDisplaySet has not been called, only values between 0..79 are supported. RowAs long as RTDisplaySet has not been called, only values between 0..25 are supported. ChThe character to display (code page OEM 437). The upper 8 bits may contain text mode attributes (see below). This function displays a character on the target's screen if the screen is being operated in RT_DISP_SCREEN or RT_DISP_GRAPHICS mode. For all other modes, this function does nothing. The current cursor position is not affected by this function. The optional text mode attribute in the upper 8 bits of parameter Ch define the foreground (lows 4 bits) and background (upper 4 bits) color of the character, both in RT_DISP_SCREEN and RT_DISP_GRAPHICS mode. The colors are:
Please note that some VGA displays in text mode interpret attribute bit 0 as underline and bit 7 as blinking. If no attribute bits are set, the default color (white on blank) or the attribute specified with function RTDisplaySet is used.
|