Memory initialization

From AMC-OS Developers
Revision as of 17:28, 18 April 2020 by Kindman (talk | contribs) (Created page with "==During AMC-OS Loader== To get size and map of memory, AMC-OS Loader now relies mainly on BIOS instead of probing, which was the preferred way in AMC-OS <2.10. AMC-OS Loade...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

During AMC-OS Loader

To get size and map of memory, AMC-OS Loader now relies mainly on BIOS instead of probing, which was the preferred way in AMC-OS <2.10.

AMC-OS Loader proceed this way :

  • Try INT 15H, function E820 to get memory map.
  • Try INT 15H, function E801 to get size of memory below 16MB and above 16MB
  • Try INT 15H, function 88 to get effective size of extended memory
  • Get configured size of extended memory in CMOS

Depending on functions supported by BIOS, map will be more or less precise, and memory might be lost if ISA Hole in the 15-16M area is configured.

Kernel start