Extending the simulated UART support on Win NT/2000

On Win NT/2000 MS provides virtual uart support on

COM1 - 3F8 irq 4
COM2 - 2F8 irq 3
COM3 - 3E8 irq 4
COM4 - 2E8 irq 3

I need access beyond this for a legacy serial driver.

COM5 - 100 irq 5
COM6 - 108 irq 5
COM7 - 110 irq 5
ect.

It looks like the
options are to develop a virtual device driver or find one which has
already been developed. The sample VDD in the DDK named COM_VDD appears
to have similar functionality but does not handle interrupts
correctly. It will not initialize on Win2000 but works on NT.

This looks like the best starting point for developing the driver.

Any feedback on this would be appreciated.
Has anyone already developed a solution for this type of serial port
access?


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

If you look at the serial sample in the WinNT DDK you will see that the
standard serial port driver can take parameters that will let you define
other 16550 compatible UARTS in the system. Look at the at line 5195 of
INITUNLO.C in the serial sample for the parameters that the driver is
querying.

One thing that I have found though is that the serial driver will not
support UARTS that are in memory space. Even though there is a parameter
to specify memory space, all the macros to read/write the registers are of
the WRITE_PORT_XX and READ_PORT_XX variety and not the WRITE_REGISTER_XX
and READ_REGISTER_XX variety.

Shaun Ruffell


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com