🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #52

Re: How do I get a the memory above 1M ?

#52
From: Patrick Taylor
Date: Mon, 03 Aug 1992 16:55
34 lines
2396 bytes
In article <44qsoB3w164w@mjmnode.equinox.gen.nz> mmarriot@mjmnode.equinox.gen.nz (Manfred Marriott) writes:
>Path: exucom.exu.ericsson.se!ericom!sunic!psinntp!psinntp!rpi!usc!cs.utexas.edu!uunet!decwrl!waikato.ac.nz!comp.vuw.ac.nz!newshost.wcc.govt.nz!fmcg!equinox!mjmnode!mmarriot
>Newsgroups: alt.msdos.programmer
>Subject: Re: How do I get a the memory above 1M ?
>Message-ID: <44qsoB3w164w@mjmnode.equinox.gen.nz>
>From: mmarriot@mjmnode.equinox.gen.nz (Manfred Marriott)
>Date: Fri, 31 Jul 92 23:03:14   M
>References: <40096@skye.dcs.ed.ac.uk>
>Organization: Not an organisation
>Lines: 17

>kc@dcs.ed.ac.uk (Kenneth Cameron) writes:

>> Whats the cleanest way to get at the memory above the 1Meg mark,given the
>> following conditions ?
>> 
>> The application has to run under MS-DOS, on a 486dx. In other words it
>> has to be in real mode most of the time.
>> I'd like to be able to get at it from within an iterrupt routine
>> running at 8KHz. (Although not essential, access from within the main
>> program would do).
>> I'm working with Borland C++ 3.1.
>> I don't want to use a DOS extender like Phar Laps.

>Have you considered accessing the memory through himem.sys services?
>I've seen example code around locally, email me if you want more details.

>Manfred Marriott

Not to belabour the point, but I agree that XMS calls would probably 
serve you best.  I have access to routines for TP5/6.
                                                                                        "This must be Thursday.  I never could get the hang of Thursdays"                                                                     - D Adams
  - Patrick Taylor
    Ericsson Network Systems                                                        exuptr@exu.ericsson.se             "Don't let the .se fool you"                 alternately, exuptr@ZGNews.Lonestar.Org
Technical Details
Message-ID: <exuptr.151.712860900@exu.ericsson.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ericom!exucom.exu.ericsson.se!news
References: <40096@skye.dcs.ed.ac.uk> <44qsoB3w164w@mjmnode.equinox.gen.nz>

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ericom!exucom.exu.ericsson.se!news
From: exuptr@exu.ericsson.se (Patrick Taylor)
Subject: Re: How do I get a the memory above 1M ?
Message-ID: <exuptr.151.712860900@exu.ericsson.se>
Sender: news@exu.ericsson.se
Nntp-Posting-Host: exupc31.exu.ericsson.se
Organization: Ericsson Network Systems, Inc.
References: <40096@skye.dcs.ed.ac.uk> <44qsoB3w164w@mjmnode.equinox.gen.nz>
Date: Mon, 3 Aug 1992 16:55:00 GMT
Lines: 34