Port Access

Scott Amspoker scott at bbxsda.UUCP
Tue Jan 9 03:25:41 AEST 1990


>Scott Amspoker replies:
>> I would be very surprised if UNIX system allowed a user process
>> to access ports directly.
>
>Surprise!
>
>General-purpose access to I/O ports is not supported, but there
>is limited access to display-related ports.
>[...]
>a handful of what are referred to as "VP/ix reserved ioctls", and
>two are...

Well, the 386 CPU does provide an I/O port bit map which allows user-mode
access to selected I/O ports.  This is quite unusual and is inconsistent with
the UNIX model.  However, I consider VP/ix to be a DOS environment rather
than a UNIX one even though it runs under Xenix.  I would be curious to
know what the original poster was trying to do.

-- 
Scott Amspoker
Basis International, Albuquerque, NM
(505) 345-5232
unmvax.cs.unm.edu!bbx!bbxsda!scott



More information about the Comp.lang.c mailing list