/* Set the 8x8 mono pattern for following BitBLT functions.  */
void ge2dInitMonoPattern(int opt, int fore_color, int back_color)
/* Set the 8x8 mono pattern for following BitBLT functions.  */
void ge2dInitMonoPattern(int opt, int fore_color, int back_color)
{
    UINT32 color32;
    outpw(REG_GE2D_PTNA, MonoPatternData[opt].PatternA);
    outpw(REG_GE2D_PTNB, MonoPatternData[opt].PatternB);
    color32 = make_color(fore_color);
    outpw(REG_GE2D_FGCOLR, color32);
    color32 = make_color(back_color);
    outpw(REG_GE2D_BGCOLR, color32);
    _PatternType = TYPE_MONO;
}