pouët.net

Go to bottom

dos- vga font

category: general [glöplog]
 
It's been awhile since I've done anything in dos. Where's the vga-font stored in the video bios again? Where's that address? I've been googling around to no avail.
added on the 2010-04-29 03:55:21 by sigflup sigflup
Code: const unsigned char *ptr = (unsigned char *)0xf0000 + 0xfa6e + 8*character;

added on the 2010-04-29 05:19:08 by iq iq
AHH!! There it is!! Thank you, I would of never found it- I was scanning the c000:0000 region!!
added on the 2010-04-29 05:36:36 by sigflup sigflup
What's next? CP/M ?
added on the 2010-04-29 10:15:15 by trc_wm trc_wm
@trc_wm: which variety?
added on the 2010-04-29 10:25:52 by sol_hsa sol_hsa
As far a I remember you cant know for sure of a universal way to retrieve it on all hardware. I also remember there was a bios int that was suposed to return you a pointer to this data, but no more certainity it works everywhere either...though i guess you could get away with using the seemingly most accepted answer.
animating character 255 is a good trick :)
added on the 2010-04-29 13:36:09 by jaw jaw
BB Image
this font?
added on the 2010-04-29 21:13:17 by neoneye neoneye
no no- this font mate
BB Image
added on the 2010-04-29 21:20:12 by sigflup sigflup
given that table, why would you want to animate character 255?
added on the 2010-04-29 21:44:12 by shuffle2 shuffle2
neoneye: Most likely no.
added on the 2010-04-29 23:33:08 by El Topo El Topo
IIRC in DOS character 255 is blank and almost never used.
so can be used for a fake space or for other purpouses.
added on the 2010-04-30 00:56:53 by jaw jaw
...and for Win/Linux there's Fixedsys Excelsior.
added on the 2010-04-30 02:13:42 by ie ie
You can also find the rom-dumped font data in textfx sources.
added on the 2010-04-30 07:16:45 by sol_hsa sol_hsa

login

Go to top