Michael wrote:
>Then you have to set horizontal sync frequency and vertical refresh rate 
>range into the bounds defined in XF86Config. It is quite simple -
>in XF86config, there can be multiple monitors, devices, and whatever,
>while in libvga.config, there is only one global set of parameters, 
>so only one monitor can be configured at one time.

This is not entirely true, in the 2.0.0 pre and development versions that
exists - they can support two video cards (and therefor two monitors).

>But most users haven't ever heard about Irq and Base address. I also
>had know idea what it means, before I started to using my first
>internal modem ... originaly on COM3 Irq5, later moved (using hardare
>switches! Seems like steam engine today ;-) to COM3 Irq4 to achieve
>compatibility with some Fidonet software using fixed Irqs....

Who cares about the users? I'm talking about what you write to pppdrc.cfg.
Let the user choose COMx if they want (I would) but don't write it to
pppdrc.cfg (you would still need it in arachne.cfg for miniterm). Let the
users choose like this (or whatever):

basic setup:

com1 [ ] com2[ ]
com3 [ ] com4[ ]

advanced:

irq  [_____________]
base [_____________]

>Users know, that they have two slots marked COM1 and COM2 in their PC,
>so they want to choose COM2 for modem connected to COM2, and that's it.
>Arachne can try to quess which irq/base is default to COM2, that's
>true... but I think that users who know what Irqs and Base addresses are
>can enter it to Arachne.

Does it make a diffrence (for you - it does memory wise) if Epppd or
Arachne guesses?

unsigned short _seg *combiosp = (unsigned short _seg *)0x0040;
int base = *(combiosp + comx_value - 1);
int irq = 3;
if((comx_value % 2))
 irq++;

And then Arachne can guess and epppd can be reduced (not by much but
atleast it's better than nothing).

And of course if comx_value didn't happen to be between 1 and 4 check if
base and irq are set. No matter what all you ever write to pppdrc.cfg will
be base and irq and this will work for everyone (that have filled in the
advanced one correct of course).
//Bernie
http://bernie.arachne.cz/ DOS programs, Star Wars ...

Reply via email to