Mail Archives: djgpp/2002/09/30/05:46:00
>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 -