Xref: news2.mv.net comp.os.msdos.djgpp:6247 From: jpdelprat AT teaser DOT fr (Jean-Pierre Delprat ) Newsgroups: comp.os.msdos.djgpp Subject: Re: GNU Make, DJP, JPTUI etc. Date: Mon, 22 Jul 1996 05:32:43 GMT Organization: Guest of France-Teaser Lines: 29 Message-ID: <4svane$1o0@news.teaser.fr> References: <4sp310$qlk AT news DOT teaser DOT fr> <4stqo9$6e9 AT news DOT teaser DOT fr> NNTP-Posting-Host: ppp2816-ft.teaser.fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >> Now about that video mode stuff... You see, non-standard video modes use >>different sizes of character bitmaps. It should all be in your video card's >>documentation. Aside from that I believe there are int $0x10 subfunctions >>to determine the size of the character. Determining the dimensions of the >>screen is even simplier: see source for ScreenLines() and ScreenColumns() in >>libc. BTW, did you know most video cars have 9x16 fonts these days? E.g. on >>my TGUI9440, mode 03h is 80x25, 9x16. Mode 58h is 132x30, 9x16, while mode >>54h is 132x30, 8x16 and the characters look much nicer in 9x16. Somehow BIOS >>font reloading functions work with 9x16 as well, though the mouse pointer >>acts like "wider-thinner" when being dragged horizontally arcross character >>cell boundaries. >It shouldn't be a problem. The problem is that I use direct memory >access to define chars and put characters to screen. I hope the memory >organization is the same in non-standard video modes. I'll check and >add a text mode at a time. For the time being I've nearly added >support for 80x50 and I've defined fonts 9x16 (8x16 in fact) and 8x8. This week-end, I've added support for any text mode that uses 8x16, 9x16, 8x8 or 8x14 fonts. For non-standard modes, you 'll only have to give me a pointer to a function that sets the mode you want and to give me some information (screen size, font to use...). Hope it'll meet your needs. --------------------------------------------------- Jeepy (Jean-Pierre Delprat) email : jpdelprat AT teaser DOT fr web : www.teaser.fr/~jpdelprat