Page 58
Epson Research and Development
Vancouver Design Center
SED1352
Programming Notes and Examples
X16-BG-007-04
Issue Date: 98/10/08
//
if (val & 0x80)
Display = color << 4;
else
Display = 0;
if (val & 0x40)
Display |= color;
*p+ = (unsigned char) Display;
if (val & 0x20)
Display = color << 4;
else
Display = 0;
if (val & 0x10)
Display |= color;
*p+ = (unsigned char) Display;
if (val & 0x08)
Display = color << 4;
else
Display = 0;
if (val & 0x04)
Display |= color;
*p+ = (unsigned char) Display;
if (val & 0x02)
Display = color << 4;
else
Display = 0;
if (val & 0x01)
Display |= color;
*p+ = (unsigned char) Display;
pdisplayFirst= BytesPerScanLine;
}
pdispla= 4; // Point to next character
pdisplayFirstColumn = pdisplayStart;
}
}
}
//-------------------------------------------------------------------------
//
// FUNCTION: SplitScreen()
//
// DESCRIPTION: Show split screen.
//
// INPUTS: None.
// RETURN VALUE: None.
//
//-------------------------------------------------------------------------
void SplitScreen(void)
{