//////////////////////////////////////////////////////////////// void ROMPrintChar( char c, int x, int y, int color, int transp ) { long destOffset; long srcOffset; int i, j; unsigned char bitMask, charRow; srcOffset = ROM_CHAR_SET_OFF + (c*ROM_CHAR_HEIGHT); destOffset = VIDEO_OFFSET + x + (y<<6) + (y<<8); // draw each row of the character for(j=0; j>=1; } // move to the next row in each buffer srcOffset++; destOffset += SCREEN_WIDTH; } } ////////////////////////////////////////////////////////////////