delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/30/05:46:00

From: Andrew Cottrell <andnews AT ihug DOT com DOT oz DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: IO_Port Access in DJGPP + Windows 2000 + GIVEIO.SYS
Date: Mon, 30 Sep 2002 19:40:31 +1000
Organization: ECLiPSE
Lines: 31
Message-ID: <fi6gpucgfjokaj95mraeg6nn8d9c1dikq6@4ax.com>
References: <3D96D414 DOT 6010609 AT nifty DOT com>
NNTP-Posting-Host: p211-tnt7.syd.ihug.com.au
Mime-Version: 1.0
X-Trace: lust.ihug.co.nz 1033378833 2339 203.173.144.211 (30 Sep 2002 09:40:33 GMT)
X-Complaints-To: abuse AT ihug DOT co DOT nz
NNTP-Posting-Date: Mon, 30 Sep 2002 09:40:33 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>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 -


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