SPX_FG_MASK
cur_bg = attr & SPX_FG_MASK;
cur_fg = attr & SPX_FG_MASK;
dot_fg = attr & SPX_FG_MASK;
dot_bg = attr & SPX_FG_MASK;
myattr = (fg & SPX_FG_MASK) | ((bg << 4) & SPX_BG_MASK);