🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #125

Re: Adress of memory beyond 1M on PC

#125
From: Michael van Elst
Date: Wed, 22 Jul 1992 16:35
43 lines
2524 bytes
Hello,

first, your news system seems to be misconfigured as it doesn't put a
valid reply address in the header. You may ask your sysadm to fix the
problem.

In <1992Jul22.064616.3401@swanee.ee.uwa.oz.au> zhang@zeus (Zhang Ya Xin) writes:

>    We have a TANG IBM/PC 386 which has 4M of memory. Normally the adress
>of memory in the PC consists of a segment plus an offset, say, ****:****.
>1M is the limitation. My question is how can I access the memory beyond 1M?
>In other words, is there an adress of the memory beyond 1M in the PC?

A 80386 processor can work in several modes (assuring backwards compatibility
with older processors). If you use MS-DOS then use the processor in 8086
compatibility or _real_ mode which is indeed limited to 1MB. The higher
modes of the processor (so-called protected modes) can access up to 4GB.
There are several methods to access that memory.

From MS-DOS you can access the memory as 'Expanded memory'. The EMM386
driver supports accessing the memory above 1Meg in 64k chunks. This needs
quite some work and special treatment of that memory in your programs.
You can also access it as 'Extended memory' which means that you temporarily
swithch to protected mode and use protected mode instructions to address
that memory. This can go as far as running your complete application in
protected mode under control of a 'DOS extender' which traps calls to
the operating system and restores real mode for the duration of the
system call.
There are special versions of the common compilers that can generate
protected mode programs.

As far as I know there's better support for protected mode under Windows
or OS/2.

If you choose to run UNIX as an operating system everything will run in
protected mode.

Hope this helps,
-- 
Michael van Elst
UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
                                "A potential Snark may lurk in every tree."
Technical Details
Message-ID: <1992Jul22.163525.3983@mpifr-bonn.mpg.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!mpifr-bonn.mpg.de!speckled.mpifr-bonn.mpg.de!mlelstv
References: <1992Jul22.064616.3401@swanee.ee.uwa.oz.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.dsp
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!mpifr-bonn.mpg.de!speckled.mpifr-bonn.mpg.de!mlelstv
From: mlelstv@speckled.mpifr-bonn.mpg.de (Michael van Elst)
Subject: Re: Adress of memory beyond 1M on PC
Message-ID: <1992Jul22.163525.3983@mpifr-bonn.mpg.de>
Sender: news@mpifr-bonn.mpg.de
Nntp-Posting-Host: speckled
Organization: Max-Planck-Institut f"ur Radioastronomie
References: <1992Jul22.064616.3401@swanee.ee.uwa.oz.au>
Date: Wed, 22 Jul 1992 16:35:25 GMT
Lines: 43