Mail Archives: djgpp/2002/10/09/07:00:12
From: | "H.Shiozaki" <hshiozaki AT nifty DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: IO_Port Access in DJGPP + Windows 2000 + GIVEIO.SYS
|
Date: | Wed, 09 Oct 2002 19:52:42 +0900
|
Organization: | @nifty netnews service
|
Lines: | 45
|
Message-ID: | <3DA40A7A.3070904@nifty.com>
|
References: | <3D96D414 DOT 6010609 AT nifty DOT com> <fi6gpucgfjokaj95mraeg6nn8d9c1dikq6 AT 4ax DOT com>
|
NNTP-Posting-Host: | nttkyo025212.tkyo.nt.isdn.ppp.infoweb.ne.jp
|
Mime-Version: | 1.0
|
X-Trace: | news521.nifty.com 1034160578 11684 61.121.9.212 (9 Oct 2002 10:49:38 GMT)
|
X-Complaints-To: | -
|
NNTP-Posting-Date: | Wed, 9 Oct 2002 10:49:38 +0000 (UTC)
|
User-Agent: | Mozilla/5.0 (Windows; U; Win98; ja-JP; rv:1.0.1) Gecko/20020823 Netscape/7.0
|
X-Accept-Language: | ja, en-us
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Thank you Andrew Cottrell
I checked cygwin.
Is it correct that we can not make interrupt routine
in [ cygwin + Win_NT/2k ] environment, like the BCC V5.5 ?
Direct IO matter is solved by using GIVEIO.SYS.
I also checked RSXDJNT.
But it's seems to me that can not make interrupt routine.
Is it correct?
Regard.
----------------
Andrew Cottrell wrote:
>>Please Help me.
>>--------------
>>I found and install GIVEIO.SYS in my Win_2k PC.
>>And there is a sample "testio.c" with GIVEIO.SYS.
>>I compile it using "cygwin", and work it fine.
>>#include <windows.h> is need to use giveio.sys,
>>But "cygwin" do not support hardware Interrupt.
>>I wont to make a program that need
>>1) do Direct IO and 2) Hardware Interrupt
>>But in DJGPP, there is not windows.h
>>below is a some part of testio.c
>
> Cygwin is compiler that produces Win32 Executables that only run on
> Windows 95,98,Me, NT,2000 or XP.
>
> DJGPP and GCC 3.2 (&other packages) produce executables that are DOS
> Based using a DOS Protected Mode Interface (DPMI). These executables
> run under DOS with a DPMI server and Windows 95,98,Me,NT,2000 & XP. I
> have a comms data logger that is built with DJGPP and third party
> timers and comms library and it works on everything DOS, Win
> 95,98,Me,NT,2000 and XP.
>
> If you need to produce a Windows GUI based application the DJGPP is
> not for you. If you need to produce an application that works under
> Windows, but is also required to work on DOS then DJGPP is for you.
>
> DJGPP does not support programming Windows applications, there is an
> add on called RSXDJNT, but I would use CYGWIN or MINGW or Borland C++
> 5.5 (free download, no IDE).
>
>
>
- Raw text -