VOGONS

Common searches


First post, by aries-mu

User metadata
Rank Member
Rank
Member

Hi guys,

I recently realized something very weird happened about 26 years ago with a PC.

Being it a 286, I could not use EMM386, but I could and did use HIMEM.SYS (MS-DOS 5.0).

Now, we all know that the HMA consists in the first 64 KB of RAM above the first 1024 KB of memory. Which means it is the space located between 1024 KB and 1088 KB, that is between 1 MB and 1.0625 MB.

At the boot, somewhere (I can't recall if it was some bios screen or DOS/Himem screen) the computer mentioned the high memory (which is the HMA).
Mainly, when I added the string DOS=HIGH to the Config.sys, it worked! Most of the DOS kernel was loaded in the HMA rather than the conventional memory, which was freed a little bit!

Now, the question is:
My 286 only had 1 MB RAM! Where/how could it "use" the 1024 to 1088 KB segment if it's above 1024???

Any clue?

Thanks!

They said therefore to him: Who are you?
Jesus said to them: The beginning, who also speak unto you

Reply 1 of 3, by VileR

User metadata
Rank Oldbie
Rank
Oldbie

That 1 megabyte isn't mapped to the CPU's addressing space in a linear fashion, but I guess the exact mapping depends on the chipset. As far as the addressing space goes, the area between the 640K and 1024K boundaries is for hardware devices and ROM, never RAM (unless shadowing is enabled); so typically the "excess" 384K of RAM is mapped above the 1024K boundary.

web  /   blog   /   tube

Reply 2 of 3, by aries-mu

User metadata
Rank Member
Rank
Member
VileRancour wrote:

That 1 megabyte isn't mapped to the CPU's addressing space in a linear fashion, but I guess the exact mapping depends on the chipset. As far as the addressing space goes, the area between the 640K and 1024K boundaries is for hardware devices and ROM, never RAM (unless shadowing is enabled); so typically the "excess" 384K of RAM is mapped above the 1024K boundary.

Thanks so much for your explanation!

They said therefore to him: Who are you?
Jesus said to them: The beginning, who also speak unto you

Reply 3 of 3, by Matth79

User metadata
Rank Oldbie
Rank
Oldbie

With 1MB, there is usually a BIOS choice as to how to use the extra 384k
1. shadowing the ROM (usually forced if more than 1MB is fitted)
2. Extended memory (for HIMEM / HMA)
3. If supported, chipset based EMS (driver required)

I remember a 286 with 1MB that had been brought in to demo, in the Win 3.1 days, so I had the job of setting up 3.1 to test.
"it'll only be real mode", to which I answered "no, Standard mode", and accessed the BIOS to flip the extra from shadow to extended - the guy didn't know it could do that