From: SerDevian Newsgroups: comp.os.msdos.djgpp Subject: Re: I need help with text modes under DJGPP Date: Tue, 15 Jul 1997 14:44:05 -0600 Organization: XYZZ Software Co. Lines: 24 Message-ID: <33CBE115.794B@CS.ColoState.edu> References: <5q5mpt$dfi$1 AT talia DOT mad DOT ibernet DOT es> NNTP-Posting-Host: degas.vis.colostate.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Grzegorz Hankiewicz wrote: > I've managed to switch the text resolution to 80x50 with this program (a > lot of thanks to Ivan Baldo for his help) > But if you run it with the MS-DOS box maximized, or directly from pure > MS-DOS, the characters look like halved. > Does someone know how to avoid this or change the characters to make them > smaller? Yes -- change the font. I forget the exact details of doing this, but you mostly need to copy the font into the djgpp transfer buffer (it's "__tb"), then call a bios function which reads and sets the font. My code for this isn't with me right now, so I can't give an example. If you have Ralph Browne's Interrupt List (good reference), or "Font Mania", they both can tell you how. Another useful text is the djgpp FAQ, which explains how to call bios interrupts which require a pointer to data (as this does). -- Scott Scriven "May farce the with be you." mailto:scriven AT CS DOT ColoState DOT edu mailto:scriven AT VIS DOT ColoState DOT edu http://www.vis.colostate.edu/~scriven/