From: Necroscope Newsgroups: comp.os.msdos.djgpp Subject: Re: IO_Port Access in DJGPP + Windows 2000 Message-ID: References: X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 33 Date: Fri, 23 Aug 2002 20:27:19 GMT NNTP-Posting-Host: 24.102.32.191 X-Complaints-To: abuse AT rogers DOT com X-Trace: news04.bloor.is.net.cable.rogers.com 1030134439 24.102.32.191 (Fri, 23 Aug 2002 16:27:19 EDT) NNTP-Posting-Date: Fri, 23 Aug 2002 16:27:19 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 24 Aug 2002 03:49:41 +0900, "H.Shiozaki" wrote: >First of all, sorry my bad English, and I am a newbie. Don't worry, it's understandable. :D >--- >I worry about: generally speaking as, >In Windows NT,2000, >To access IO_Port from a normal win32 program, > there need IO_access_DLL or IO_Driver. [cut] Sorry, I can't help you with this question. I stopped using DJGPP when I made the switch to Windows XP. I just read the group here because it's still fun to learn. >Q3. Which to be use in Win2K, CMD.exe and Command.com? > (What are difference between CMD.EXE and Command.com? > or are there information about it ?) CMD.EXE is a Windows NT native console (text mode) program, that runs in the NT console subsystem. COMMAND.COM is a DOS 16-bit real-mode program that runs in the Windows NT Virtual DOS Machine (NTVDM). The NTVDM pretends to the program that it is running in real-mode DOS (in V86 mode). But, if I'm not mistaken, it doesn't matter which one you run your program in, Windows will automatically load any DOS programs into an NTVDM session regardless of how the program was started. -- Andrew Jones