Mail Archives: djgpp/1996/07/22/02:31:12
>> 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
- Raw text -