Mail Archives: djgpp/1996/07/20/12:00:18
On Fri, 19 Jul 1996, Jean-Pierre Delprat wrote:
>
> >Conerning JPTUI, I have two further suggestions:
> > 1. Why does it require mouse driver to be installed - pretty annoying when
> >one (as me) doesn't have mouse driver installed in AUTO*.BAT - I need to
> >install the driver everytime. The library should work also without driver in
> >memory.
>
> Ok, I'll fix that.
>
I've been thinking about that kinda stuff too, but... [1] How will you
determine port and irq settings? [2] are you aware that different kinds of
mice (eg. PS/2 vs Logitech) send data to ports in different formats? Anyway,
if you are still willing to try, I've some documentation on that, let me
know and I'll mail it to you.
BTW, sorry for the misleading post about seeing jptui32s.zip. I never
saw it, I just thought I saw it. There were so many jptui* files in v2tk
that I got mistaken... sorry again.
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.
BTW, here's a question to Shawn Hargreaves: how do you manage to turn on this
cool 80x30 mode in FED? My card has a mode 80x30, but when I turn it on the
character cells are 8x16, and I hate that nasty font. However, when I run
FED, or DOS Navigator, they seem to turn on 80x30 and the font is still 9x16.
How on earth? Thanks.
Martynas
- Raw text -