delorie.com/archives/browse.cgi | search |
From: | "Ben Peddell" <killer DOT lightspeed AT bigpond DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <BQ2S9.280216$a8 DOT 123208 AT news4 DOT srv DOT hcvlny DOT cv DOT net> <3e18ff2f DOT sandmann AT clio DOT rice DOT edu> <avavsl$dpf6g$1 AT ID-175126 DOT news DOT dfncis DOT de> |
Subject: | Re: Generate real-mode 386 DOS executables? |
Lines: | 23 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
Message-ID: | <_yYS9.19409$jM5.53659@newsfeeds.bigpond.com> |
Date: | Thu, 9 Jan 2003 02:54:19 +1000 |
NNTP-Posting-Host: | 144.134.89.16 |
X-Trace: | newsfeeds.bigpond.com 1042044218 144.134.89.16 (Thu, 09 Jan 2003 03:43:38 EST) |
NNTP-Posting-Date: | Thu, 09 Jan 2003 03:43:38 EST |
Organization: | Telstra BigPond Internet Services (http://www.bigpond.com) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
BIG Real Mode is possible! You first switch to protected mode, then jump to a code segment with the same base as the old one, except with the limit set to 0xFFFFFFFF and the code size set to 32-bit. Then you switch back out of Protected Mode, and, wallah, you are in Big Real mode, with full access to all of the memory. But be warned, as soon as you call something that switches to protected mode, Big Real Mode goes *poof*. Vinzent Hoefler <JeLlyFish DOT software AT gmx DOT net> wrote in message news:avavsl$dpf6g$1 AT ID-175126 DOT news DOT dfncis DOT de... > Charles Sandmann <sandmann AT clio DOT rice DOT edu> wrote: > > >> So... can I use DJGPP to generate a 32-bit real mode DOS application? > > > >Not easily - but it's not clear why you would want this (unless you spend > >most of the time making BIOS calls). > > I'd guess, making BIOS calls in a 32-Bit-*Real*-Mode would simply > crash the system. :-) > > > Vinzent.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |