🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #49

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

#49
From: Manfred Marriott
Date: Fri, 31 Jul 1992 23:03
17 lines
1114 bytes
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
Technical Details
Message-ID: <44qsoB3w164w@mjmnode.equinox.gen.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!waikato.ac.nz!comp.vuw.ac.nz!newshost.wcc.govt.nz!fmcg!equinox!mjmnode!mmarriot
References: <40096@skye.dcs.ed.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!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