www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/19/19:00:37

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 32 Bit Dos Programming with Allegro and djgpp .....I need your expert advice
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <gtpfss4jvkbd2pi1ip1e51v6mcr7jgfke2@4ax.com>
References: <77 DOT 9bc2e30 DOT 26f8d603 AT aol DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 84
X-Trace: 9mzmw68PXEfsovgC4m5WcynO8HS7evTZgKJS8VhGYfVmFAjNyI8vwN1ALMNTHjjz7gbBlZ9zGxKg!Zx7VHJx+Zz0UuHrpmvRszDC/3xzc0+KzNt9IOngyVm0O0Ku8Jm9qyBLK3XysqGQAnRIO6sVu9NOF!LQ==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Tue, 19 Sep 2000 22:33:21 GMT
Distribution: world
Date: Tue, 19 Sep 2000 22:33:21 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 19 Sep 2000 10:45:18 EDT, Vicmiller1 AT aol DOT com wrote:

>Hello ...from Victor L. Miller
>
>I have been using the Allegro graphics library with the DJGPP for
>over a year and it is excellent...... I find the bitmap rotation
>and palette / true color modes excellent.... I have made some
>larger scientific visualization programs with Allegro / DJGPP
>
>Now,  the company I work for has switched to WindowsNT

So switch the company you work for :-)
Also switch your ISP if you can.
  http://anti-aol.org/

Now, to steer it back on topic...

>and the first thing I realized is that WindowsNT does NOT run DPMI
>(Protected Mode) programs

Wrong.  NT runs DPMI programs, but its VDM has a hard time
virtualizing certain operations through HAL.

>or what I think of as 32-bit DOS Extended
>programs that do their own 32-bit memory addressing.

NT denies all DPMI map_physical_memory requests because if it
didn't, a misbehaving DOS program could map the Windows kernel
into its address space.

>Now,  what I discovered is that WindowsNT runs "standard" 16-bit
>executables (exe's) fine but it won't run 32-bit DOS applications
>(which is what DJGPP C programs are of course).  Now I have also
>confirmed that it is nothing unique to Allegro /  DJGPP but no
>32-bit DOS programs run.

Have you tried running a text-mode DJGPP hello.exe?  Or gcc itself?

>Now,  I would like your thoughts / confirmation of what I am
>saying and what have people done to create and run 32-bit DOS
>programs on WindowsNT.

gcc works fine on NT 4.03.

>Does Allegro / DJGPP (and I am also using RHIDE environment)
>have NT versions, etc ?

MinGW is a minimalist GNU environment (just enough to get GCC working)
that uses msvcrt.dll as its libc.
  http://www.mingw.org/
Allegro 3.9.x also works on MinGW; it uses DirectX there.

>What about RHIDE ?

RHIDE is a DOS-based IDE that works fine on NT.  The 1.4.7.x series
maintained by Andris Pavenis also supports the mouse.

>Has anyone come up with something that you can put on your NT
>system which will allow 32-bit DOS programs to run in NT ?

The latest service pack?

>I am concerned because even though Win98 still runs / supports
>32-bit DOS stuff I think that eventually windows will be Windows
>2000 (Windows Millenium is just a bloated version of Win 98) which
>is really WindowsNT under the hood, and does that signal the end
>of 32-bit DOS forever ?

Microsoft seems to have no interest in fixing show-stopper bugs (such
as the limit of two nested DPMI programs in Windows 2000) in NT's DOS
emulator (NTVDM).

>I would appreciated your expert comments ,advice, and knowledge
>related to this subject.

Please turn on word wrapping (around 70 characters).

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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