🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1377

Re: Extended Mem use on IBM clones using C/C++

#1377
From: vancleef
Date: Fri, 16 Oct 1992 07:06
48 lines
2732 bytes
In article <1b2v97INN6pj@usenet.INS.CWRU.Edu>, mxb8@po.CWRU.Edu (Matthew Bakaitis) writes:
> -Sorry about the first (no subject) message...I though this one would
> be a little more clear when scanning thru the subject list.
> 
> 	Currently, I'm using an IBM clone with 8 meg of extended memory
> to do some statistical analysis for some (boring) classes...I decided to
> try to use a big sample size, but naturally ran into a problem with making
> my arrays larger than allowed than the Turbo C++ 1.0 compiler I'm using.
> 	I tried to use the command _OvrInitEms and _OvrInitExt given in
> the library reference manuals, but I couldn't get either of them to work.
> 
> So, two things:
> 
> 1)  Are there any books out there that are specifically aimed at programming
> 	in C/C++ that deal with using this memory?
> 2)  Are the library functions given in the Borland manuals not the thing to
> 	use?  Are there better PD libraries to use?  etc.
> 
> 	Notes:
> 	I am a decent programmer, but it is not my true vocation it seems.
> I am competent in programming in T-C++ for an IBM, but that's about the
> limit of it.  I _am_ pretty good at this little niche, however.
> 	I am crossposting this to a few groups, so take note.  The post
> is to rec.games.programmer thanks to a note I read about a PBM game that
> had four million planets in it.  I figured that equaled either an incredible
> amount of disk access (that I would like to avoid) or some hefty memory
> use...
> 
> Thanks,
> Matt
> -- 
> Matt Bakaitis
> mxb8@po.cwru.edu		

If you want to access beyond the 640K MS-DOS limit, you really need to
run in protected mode (286+ 24 bit processing 8088 20 bit processing
also known as real mode). I use PharLap 286 Dos Extender. Screw EMS and
the rest, this is the best (you can also run from Windows if you know
how to do it, Windows is a protected mode operating system).

Expect newer operating systems a few years from now to feature protected
mode programming, there is no reason on earth that a 286+ shouldn't
be able to have a contiguous 16MB of memory from base. This is why I think
MSDOS 5.0 is a joke. Big deal if I get an extra 120K or whatnot. I want
access to all of the machines memory, and playing tricks with interrupt 12
is bogus.

-Garrett
Technical Details
Message-ID: <14254.2ade31b6@ohstpy.mps.ohio-state.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!vancleef
References: <1b2v97INN6pj@usenet.INS.CWRU.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!vancleef
From: vancleef@ohstpy.mps.ohio-state.edu
Newsgroups: rec.games.programmer
Subject: Re: Extended Mem use on IBM clones using C/C++
Message-ID: <14254.2ade31b6@ohstpy.mps.ohio-state.edu>
Date: 16 Oct 92 07:06:30 GMT
Article-I.D.: ohstpy.14254.2ade31b6
References: <1b2v97INN6pj@usenet.INS.CWRU.Edu>
Lines: 48