🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2159

Re: access to i/o ports?

#2159
From: Barry King
Date: Sat, 26 Sep 1992 22:00
13 lines
903 bytes
In a msg on <Sep 22 14:25>, Mark Saum of 42:1000/2 writes:

 -> What ports?  If you mean the low-level I/O ports, you would need 
 -> to run at ring 0 I believe.  That means writing your own 
 -> device driver.

You can write 'normal' OS/2 programs with IOPL which gives the program code direct access to the hardware ports.  C Set/2 does not include a function to write to the ports directly but MSC 6 does.

Regards,
 
Barry

 * Origin: The OS/2 Connection - Edmonton, Alberta, Canada (42:100/31)
Technical Details
Message-ID: <717580774.0@ttlg.ttlg.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!wupost!micro-heart-of-gold.mit.edu!uw-beaver!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!alberta!ugc!nebulus!ttlg!postmaster

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!wupost!micro-heart-of-gold.mit.edu!uw-beaver!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!alberta!ugc!nebulus!ttlg!postmaster
From: Barry.King@ttlg.UUCP (Barry King)
Newsgroups: comp.os.os2.programmer
Subject: Re: access to i/o ports?
Message-ID: <717580774.0@ttlg.ttlg.UUCP>
Date: 26 Sep 92 22:00:42 GMT
Sender: postmaster@ttlg.UUCP
Lines: 13