delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/29/22:57:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: How to access /dev/port?
Date: Wed, 30 Jun 2004 11:04:05 +0800
Message-ID: <6334E09627481B4AA5C8DE1E69E19D3B013DEA2D@SSLEXCHANGE.solomonsystech.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: <jackylam AT solomon-systech DOT com>
To: <marcel AT telka DOT sk>
Cc: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i5U2vqrH012747

I take your advice and try that. It is really great but I got some
problem to use it.

I am using Windows XP. I rewrite my program to initialize my port by 
ioperm(0x378,3,1);

Before running my program, I install the ioperm service by:
ioperm.exe -i

My Windows XP complains fail to start the system service.

Any suggestion?

Thanks.


-----Original Message-----
From: Marcel Telka [mailto:marcel AT telka DOT sk] 
Sent: Wednesday, 30 June, 2004 4:14
To: Jacky Lam
Cc: cygwin AT cygwin DOT com
Subject: Re: How to access /dev/port?

On Tue, Jun 29, 2004 at 09:41:34AM +0800, jackylam AT solomon-systech DOT com
wrote:
>    I use outb() in my program to acces ports. But it cannot be
compiled
> because of undefined function name. How can I solve this?

You could try the ioperm package...


Regards.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel AT telka DOT sk  |
|                homepage: http://telka.sk/ |
|                jabber:   marcel AT jabber DOT sk |
+-------------------------------------------+

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019