Home
last modified time | relevance | path

Searched refs:BMASK (Results 1 – 4 of 4) sorted by relevance

/haiku/src/tests/apps/miniterminal/
H A DConsole.cpp295 fAttr = ((fAttr & BMASK) >> 4) | ((fAttr & FMASK) << 4); in SetVT100Attributes()
313 case 40: fAttr = (fAttr & ~BMASK) | (0 << 4); break; // black in SetVT100Attributes()
314 case 41: fAttr = (fAttr & ~BMASK) | (4 << 4); break; // red in SetVT100Attributes()
315 case 42: fAttr = (fAttr & ~BMASK) | (2 << 4); break; // green in SetVT100Attributes()
316 case 43: fAttr = (fAttr & ~BMASK) | (6 << 4); break; // yellow in SetVT100Attributes()
317 case 44: fAttr = (fAttr & ~BMASK) | (1 << 4); break; // blue in SetVT100Attributes()
318 case 45: fAttr = (fAttr & ~BMASK) | (5 << 4); break; // magenta in SetVT100Attributes()
319 case 46: fAttr = (fAttr & ~BMASK) | (3 << 4); break; // cyan in SetVT100Attributes()
320 case 47: fAttr = (fAttr & ~BMASK) | (7 << 4); break; // white in SetVT100Attributes()
H A DConsole.h10 #define BMASK 0x70 macro
/haiku/src/system/kernel/debug/
H A Dblue_screen.cpp30 #define BMASK 0x70 macro
265 sScreen.attr = ((sScreen.attr & BMASK) >> 4) in set_vt100_attributes()
290 case 40: sScreen.attr = (sScreen.attr & ~BMASK) | (0 << 4); break; // black in set_vt100_attributes()
291 case 41: sScreen.attr = (sScreen.attr & ~BMASK) | (4 << 4); break; // red in set_vt100_attributes()
292 case 42: sScreen.attr = (sScreen.attr & ~BMASK) | (2 << 4); break; // green in set_vt100_attributes()
293 case 43: sScreen.attr = (sScreen.attr & ~BMASK) | (6 << 4); break; // yellow in set_vt100_attributes()
294 case 44: sScreen.attr = (sScreen.attr & ~BMASK) | (1 << 4); break; // blue in set_vt100_attributes()
295 case 45: sScreen.attr = (sScreen.attr & ~BMASK) | (5 << 4); break; // magenta in set_vt100_attributes()
296 case 46: sScreen.attr = (sScreen.attr & ~BMASK) | (3 << 4); break; // cyan in set_vt100_attributes()
297 case 47: sScreen.attr = (sScreen.attr & ~BMASK) | (7 << 4); break; // white in set_vt100_attributes()
/haiku/src/add-ons/kernel/drivers/common/
H A Dconsole.cpp27 #define BMASK 0x70 macro
349 console->attr = ((console->attr & BMASK) >> 4) in set_vt100_attributes()
368 case 40: console->attr = (console->attr & ~BMASK) | (0 << 4); break; // black in set_vt100_attributes()
369 case 41: console->attr = (console->attr & ~BMASK) | (4 << 4); break; // red in set_vt100_attributes()
370 case 42: console->attr = (console->attr & ~BMASK) | (2 << 4); break; // green in set_vt100_attributes()
371 case 43: console->attr = (console->attr & ~BMASK) | (6 << 4); break; // yellow in set_vt100_attributes()
372 case 44: console->attr = (console->attr & ~BMASK) | (1 << 4); break; // blue in set_vt100_attributes()
373 case 45: console->attr = (console->attr & ~BMASK) | (5 << 4); break; // magenta in set_vt100_attributes()
374 case 46: console->attr = (console->attr & ~BMASK) | (3 << 4); break; // cyan in set_vt100_attributes()
375 case 47: console->attr = (console->attr & ~BMASK) | (7 << 4); break; // white in set_vt100_attributes()