Hi, and I apologise immediately for the fact that this has the
OT-Nature, but I can’t seem to find an answer anywhere else, and I
reckon the list is about as close to the horse’s mouth as I’m likely to
get…
I have recently taken over a project running under W98/W2K/XP.
There is a custom card with an OX16PCI954, and some Oxford drivers,
which provides two extra COM ports and one extra LPT port.
For better or worse, the application talks “directly” from <*ducks*>
USER mode to the fifo/status/etc registers of these various ports.
Surprisingly, it actually works.
At least to the extent that it’s not currently broken: unfortunately,
it relies completely on the current registry layout in order to retrieve
the base-addresses for the port-registers, and jumps through
lexicographic hoops to get them anyway.
I’m guessing (newbie) that there must be a better way to go from a known
COMn to it’s associated base-address, possibly using the SetupApi and/or
ConfigMgr.
Clues, anyone?
jim spriggs < xxxxx@t-online.de >