🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #12111

Re: 16 bits / 32 bits

#12111
From: Steven Mathers
Date: Mon, 13 Dec 1993 23:32
31 lines
2322 bytes
In article <1993Dec13.142408.6684@news.media.mit.edu>, markk@media-lab.mit.edu (Mark Kortekaas) writes:
|> In article <1993Dec13.004421.12436@trl.oz.au>, mathers@sibelius.trl.OZ.AU (Steven Mathers) says:
|> >
|> >OK, this is definately a stupid question, so pardon my ignorance...
|> >
|> >Can I write a 32 bit program for DOS?  Is the 386 hobbled to run in some
|> >kind of 8086 emulation mode when runnning a DOS application?
|> >
|> >Is there a FAQ that covers this sort of thing?
|> > Thanks.
|> >
|> 
|> The quick answer to your question is yes.  The best thing for you to do
|> is to get the GCC compiler for dos (DJGPP).  I believe the 'home' for this
|> is at omnigate.clarkson.edu (/pub/msdos/djgpp).  
|> 
|> However, this requires that the code only be run in dos mode (does not
|> seem to work in a dos window under windows for me), but this is not a
|> big deal for what I need the 32 bit compiler for.  DJGPP comes with its own
|> memory extender to allow access to the 32bit memory of the chip (which I
|> believe just by-passes dos more than anything else).
|> 
|> If you want a 32 bit compiler for windows, supposedly the new 4.0 Borland
|> compiler will work, but as my copy is on order and has not arrived yet, I 
|> cannot tell you if it works or not.

So you can use a flat memory model with this 'DOS extender`, without
using segment registers and all that hoo-hah?

Steve Mathers
s.mathers@trl.oz.au
Technical Details
Message-ID: <1993Dec13.233245.19934@trl.oz.au>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!agate!msuinfo!harbinger.cc.monash.edu.au!bruce.cs.monash.edu.au!trlluna!titan!sibelius.trl.OZ.AU!mathers
References: <1993Dec13.004421.12436@trl.oz.au> <1993Dec13.142408.6684@news.media.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d683,3b82594a5256624d
X-Google-Attributes: gid10d683,public
X-Google-Thread: f53ba,3b82594a5256624d
X-Google-Attributes: gidf53ba,public
X-Google-ArrivalTime: 1993-12-14 01:51:01 PST
Newsgroups: comp.sys.ibm.pc.misc,aus.computers.ibm-pc
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!agate!msuinfo!harbinger.cc.monash.edu.au!bruce.cs.monash.edu.au!trlluna!titan!sibelius.trl.OZ.AU!mathers
From: mathers@sibelius.trl.OZ.AU (Steven Mathers)
Subject: Re: 16 bits / 32 bits
Message-ID: <1993Dec13.233245.19934@trl.oz.au>
Sender: root@trl.oz.au (System PRIVILEGED Account)
Reply-To: s.mathers@trl.oz.au
Organization: Telecom Research Labs, Melbourne, Australia
References: <1993Dec13.004421.12436@trl.oz.au> <1993Dec13.142408.6684@news.media.mit.edu>
Date: Mon, 13 Dec 1993 23:32:45 GMT
Lines: 31