Epson Research and Development
Page 79
Vancouver Design Center
Programming Notes and Examples
S1D13503
Issue Date: 01/01/30
X18A-G-002-06
*+ = (unsigned char) Video;
CheckBank(pVideo, &bank);
Video = 0;
if (val & 0x20)
Video |= (color << 4);
if (val & 0x10)
Video |= color;
*+ = (unsigned char) Video;
CheckBank(pVideo, &bank);
Video = 0;
if (val & 0x08)
Video |= (color << 4);
if (val & 0x04)
Video |= color;
*+ = (unsigned char) Video;
CheckBank(pVideo, &bank);
Video = 0;
if (val & 0x02)
Video |= (color << 4);
if (val & 0x01)
Video |= color;
*+ = (unsigned char) Video;
CheckBank(pVideo, &bank);
pVideoFirst= BytesPerScanLine;
}
pVide= 4; // Point to next character
pVideoFirstColumn = pVideoStart;
}
break;
case 256:
while (*str != 0)
{
ch = *str++;
if ((ch < ' ') || (ch - ' ' > MAX_FONT-1))
ch = '.';
pFont = &font[ch - ' '][0];
for (y = 0; y < 8; ++y)
electronic components distributor