MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / UpdateText80ColorCell

Function UpdateText80ColorCell

source/RGBMonitor.cpp:1090–1101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088}
1089
1090void UpdateText80ColorCell(int x, int y, uint16_t addr, bgra_t* pVideoAddress, uint8_t bits, uint8_t character)
1091{
1092 if (g_RGBVideocard == RGB_Videocard_e::Video7_SL7 && character < 0x80)
1093 {
1094 // in all 80COL modes, the SL7 videocard renders inverse characters as B&W
1095 UpdateDuochromeCell(2, 7, pVideoAddress, bits, 15, 0);
1096 }
1097 else
1098 {
1099 UpdateDuochromeCell(2, 7, pVideoAddress, bits, g_nRegularTextFG, g_nRegularTextBG);
1100 }
1101}
1102
1103//===========================================================================
1104// Duochrome HGR (some RGB cards only)

Callers 1

updateScreenText80RGBFunction · 0.85

Calls 1

UpdateDuochromeCellFunction · 0.85

Tested by

no test coverage detected