[comp.sys.ibm.pc] Help needed with graphics fonts on Hercules card

ee161aba@sdcc18.ucsd.EDU (David L. Smith) (01/04/87)

I have a Hercules clone graphics card and I'm trying to write up a console
driver to run in graphics mode.  Graphics themselves are no problem, but
I need a font.  Is there any way to get the font out of the ROM on the card?
My documentation on it is pretty sketchy.  Ciarcia, in the January Byte says
something about the card taking characters from the ROM and dumping them into 
the display buffer, but it sounds like he's talking thru his hat.  Is there
any source for fonts (preferably free)?  I really hate bitmapping and typing
the damn things in.

			Thanks in advance,
			David L. Smith
			{ucbvax, ihnp4}!sdcsvax!sdcc18!ee161aba
			UC Sandy Eggo

root@softart.UUCP (01/05/87)

> 
> 
> I have a Hercules clone graphics card and I'm trying to write up a console
> driver to run in graphics mode.  Graphics themselves are no problem, but
> I need a font.  Is there any way to get the font out of the ROM on the card?
> My documentation on it is pretty sketchy.  Ciarcia, in the January Byte says
> something about the card taking characters from the ROM and dumping them into 
> the display buffer, but it sounds like he's talking thru his hat.  Is there
> any source for fonts (preferably free)?  I really hate bitmapping and typing
> the damn things in.
> 

Steve was right in a sense.  In normal text mode, the card pulls the font out
of its rom and creates the bit raster on the fly.  It doesn't dump the font
into the RAM buffer.  If you want an 8x8 font, there is one built into the
IBM (AND just about any other clone BIOS) ROMS.  I forget what the address is
but I have used it and it works!  It is not as good as the 9x15 font that
the card uses, but with an 8x8 font, you get a 90x43 screen!  Hope this
helps.

> 			Thanks in advance,
> 			David L. Smith
> 			{ucbvax, ihnp4}!sdcsvax!sdcc18!ee161aba
> 			UC Sandy Eggo

-------------------------
Ashok C. Patel
Softart Microsystems Inc.