* so, we enumerate over columns (not rows!) to draw every 4th pixel. bit masks are used because of the font bitmap.\r
*\r
* NTS: addr defines what VGA memory address we use, "x" is redundant except to specify which of the 4 pixels we select in the map mask register. */\r
+ word rows = romFonts[t].charSize;\r
word drawaddr;\r
word colm, row;\r
byte fontbyte;\r
for (colm=0;colm < 4;colm++) {\r
drawaddr = addr;\r
modexSelectPlane(PLANE(plane));\r
- for (row=0;row < 8;row++) {\r
+ for (row=0;row < rows;row++) {\r
fontbyte = romFontsData.l[row];\r
vga_state.vga_graphics_ram[drawaddr ] = (fontbyte & m1) ? col : bgcol;\r
vga_state.vga_graphics_ram[drawaddr+1] = (fontbyte & m2) ? col : bgcol;\r