Reply 80 of 84, by vladr
- Rank
- Oldbie
wrote:I'll even upload it so you can check it out since it is used to map ports, perhaps it can even be used to map the ports of the soundcard ?
As you've already found out (the hard way), mapping the ports is not enough. There is the entire business of IRQs and DMA that has to be taken care of, and that's impossible to do with aprogram like USERPORT.SYS or GIVEIO.SYS.
Thanks for the file. Sno, if you feel courageous you can write a small app that:
1) enumerates all the services in HKLM\SYSTEM\CurrentControlSet\Services
2) For every service obtains the filename by reading the ImagePath subkey (e.g. HKLM\SYSTEM\CurrentControlSet\Services\GIVEIO\ImagePath )
3) For every valid file-name open the file as read-only and look for one of the following three strings (as either UNICODE or ANSI strings, since different drivers/services can be built either UNICODE or ANSI):
Ke386IoSetAccessProcess
Ke386SetIoAccessMap
SetTSSLimit
You will find, BTW, that videoprt.sys (by MS) has the two top functions; that's becauuse Windows uses that to open up the video range of I/O ports to DOS apps when they go full-screen (if I'm not mistaken).
4) Report the suspect SYS files to the unweary user.
Cheers,
V.