| delorie.com/archives/browse.cgi | search |
| From: | NoEmailAds AT execpc DOT com (Chris Giese) |
| Newsgroups: | comp.os.msdos.djgpp,comp.os.msdos.programmer,comp.programming,comp.arch.embedded |
| Subject: | Re: Printing strings in VGA 13h mode (or other graphical mode) |
| Date: | Sun, 19 Dec 1999 03:26:38 GMT |
| References: | <82seje$tom$1 AT nnrp1 DOT deja DOT com> <944889277 DOT 5710 AT neptune DOT uniserve DOT ca> <uOl44.1296$uN2 DOT 44942 AT dfiatx1-snr1 DOT gtei DOT net> <38566DEC DOT 4588FB01 AT aargh DOT franken DOT de> <qux54.1006$rb5 DOT 16086 AT dfiatx1-snr1 DOT gtei DOT net> <385C2E99 DOT 5E60901A AT virtualis DOT com> |
| X-Newsreader: | Forte Free Agent 1.11/32.235 |
| Lines: | 26 |
| Message-ID: | <385c50bc$0$84804@news.execpc.com> |
| Organization: | ExecPC Internet - Milwaukee, WI |
| NNTP-Posting-Host: | cb86e71e.news.execpc.com |
| X-Trace: | Tl\okXWcmL7I5[332>a9Y;bfNiaEHUgJ7RYcgIRLSUE=0DH]?3LhXA;eZ]<aNISO\8SDdbIEfnXb0==5S=i];0A> |
| X-Complaints-To: | abuse AT execpc DOT com |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Alex Mendes da Costa <alexmdc AT virtualis DOT com> wrote:
>"Damian Yerrick" <NOSP AT Musenet@pineight.8m.com> wrote:
>
>> Need source code for "set font"?
>
>Yes Please!!
Is this for VGA? This code might work:
http://www.execpc.com/~geezer/temp/setfont.zip
To compile it, you need NASM. You also need Turbo C or
DJGPP. To restore the original DOS font, type
MODE CO80
More code: this will load BDF bitmap fonts and display them
in VGA mode 12h (640x480x16) or 13h (320x200x256):
http://www.execpc.com/~geezer/software/bdf.zip
Just after main() in BDF.C is a preprocessor #if statement
that selects the video mode.
--
geezer@
execpc.com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |