delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Mon, 2 Apr 2007 02:26:03 -0400 |
Message-Id: | <200704020626.l326Q3qV021058@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <tJCdnUJdB6ZZDo3bnZ2dnUVZ_uygnZ2d@comcast.com> (message from Jim |
Michaels on Sun, 01 Apr 2007 22:25:16 -0700) | |
Subject: | Re: cwsdpmi "protected mode not availible" on win2k, stub don't work |
References: | <M_adneBPhb4hK5PbnZ2dnUVZ_qupnZ2d AT comcast DOT com> <4610253F DOT 18094 DOT 166783AF AT gerritvn DOT gpvno DOT co DOT za> <tJCdnUJdB6ZZDo3bnZ2dnUVZ_uygnZ2d AT comcast DOT com> |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> I'm using only the latest binaries from the 2.03 compiler set of DJGPP. Look in pub/djgpp/beta, which is the pre-release for 2.04 > I'm looking at the generated EXE code by gxx and gcc and they both > have this at the top close to somewhere after the MZ signature of a > standard EXE: That's the standard 2kb stub loader, the code that gets your program into 32-bit mode. It talks to DPMI, and knows how to load CWSDPI if no DPMI server is present, but does not *require* CWSDPMI. > The application calls BIOS.H's biosdisk(): under windows XP the > application causes Windows to throw the message: 16-bit MSDOS > Subsystem: An application has attempted to directly access the hard > disk, which cannot be supported. Sounds like XP is doing the right thing, by protecting the OS from rogue programs trying to corrupt the hard drive.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |