Searched refs:attrbyte (Results 1 – 1 of 1) sorted by relevance
303 uint8_t attrbyte; in pcdisplay_getwschar() local319 attrbyte = (chardata & 0xFF00) >> 8; in pcdisplay_getwschar()320 if ((attrbyte & 0x08)) wschar->flags |= WSDISPLAY_CHAR_BRIGHT; in pcdisplay_getwschar()321 if ((attrbyte & 0x80)) wschar->flags |= WSDISPLAY_CHAR_BLINK; in pcdisplay_getwschar()322 wschar->foreground = attrbyte & 0x07; in pcdisplay_getwschar()323 wschar->background = (attrbyte >> 4) & 0x07; in pcdisplay_getwschar()333 uint8_t attrbyte; in pcdisplay_putwschar() local341 attrbyte = wschar->background & 0x07; in pcdisplay_putwschar()342 if (wschar->flags & WSDISPLAY_CHAR_BLINK) attrbyte |= 0x08; in pcdisplay_putwschar()343 attrbyte <<= 4; in pcdisplay_putwschar()[all …]