delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/24/15:19:32

From: Necroscope <guln AT rogers DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: IO_Port Access in DJGPP + Windows 2000
Message-ID: <ae6dmuk6h1n5426m2k88k81n9c3kupi6dp@4ax.com>
References: <ak6079$gjb$2 AT news521 DOT nifty DOT com>
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
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" <hshiozaki AT nifty DOT com>
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

- Raw text -


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