delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/26/06:51:20

From: ccurley AT wyoming DOT com (Charles Curley)
Subject: Re: Using GCC
26 Oct 1997 06:51:20 -0800 :
Message-ID: <3.0.2.32.19971026070541.00808580.cygnus.gnu-win32@mailhost.wyoming.com>
References: <Pine DOT BSF DOT 3 DOT 96 DOT 971025131758 DOT 5226A-100000 AT zippy DOT dyn DOT ml DOT org>
Mime-Version: 1.0
To: Alex <garbanzo AT hooked DOT net>
Cc: gnu-win32 AT cygnus DOT com

At 13:18 25/10/97 -0700, Alex wrote:
>
>
>On Sat, 25 Oct 1997, Fernandes, Hilton wrote:
>
>> Win32 is supposed to be a real operating system, so it won't let you access
>> the hardware directly in an application program.  As far as i know, if you
>> really need to do this, you have to write a device driver. 
>> 
>> That means inp and outp are not available in gnu-win32.
>
>Although dangerous, couldn't someone right a device driver that would
>allow you to use inp and outp?

Sure. Why don't you?

If the inputs to the device driver are port or port and count (for reads)
and port and datum or port, pointer to data and count (for writes) I think
you would have a nice generic testbed driver. I think I'd put some range
checks on it so I don't shoot myself in the foot with it.

Next question, for the folks who know Cygwin better than I: does Cygwin GCC
include the tools necessary to make a device driver?



		-- C^2

Looking for fine software and/or web pages?
http://web.idirect.com/~ccurley
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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