Page 1 of 1

RAM below 1MB is...?

Posted: Mon Feb 11, 2013 7:08 am
by OdinVex
RAM below the 1MB extended memory is what? Internal/embedded? Where is it located? Kind is it? Is it borrowed from Extended RAM and used that way? What speed is it? Latencies anyone? Never bothered to think about it until now, hm.

Re: RAM below 1MB is...?

Posted: Mon Feb 11, 2013 7:26 am
by trinopoty
The "RAM" below 1MB is the RAM installed on your PC.

Re: RAM below 1MB is...?

Posted: Tue Feb 12, 2013 10:28 am
by OdinVex
Meaning the physical chips or some soldered RAM (like SPI flash etc)?

Re: RAM below 1MB is...?

Posted: Tue Feb 12, 2013 11:17 am
by Brendan
Hi,
Yuji1 wrote:Meaning the physical chips or some soldered RAM (like SPI flash etc)?
Meaning that all RAM in the entire computer is normally from the same RAM modules and that RAM below 1 MiB and RAM above 1 MiB is identical because it's the exact same chips providing both.

The only thing "special" about the RAM below 1 MiB is that it can be accessed in real mode.


Cheers,

Brendan

Re: RAM below 1MB is...?

Posted: Tue Feb 12, 2013 3:03 pm
by OdinVex
So the BIOS/(UEFI???) first runs off what, before setting up RAM? CPU'd probably be like ARM but BIOS, not sure.

*Edit* Trinopoty, nice avatar, good capture.

Re: RAM below 1MB is...?

Posted: Tue Feb 12, 2013 3:23 pm
by Brendan
Hi,
Yuji1 wrote:So the BIOS/(UEFI???) first runs off what, before setting up RAM? CPU'd probably be like ARM but BIOS, not sure.
For modern 80x86; firmware is in some sort of ROM (e.g. flash ROM) just below 0x100000000. At power on it initialises things (including the RAM controller and detecting RAM sizes, etc). After that, for "PC BIOS" it typically copies part of itself to RAM just below 0x00100000 and tells the chipset to pretend that area is "read only", then goes looking for something to boot.


Cheers,

Brendan

Re: RAM below 1MB is...?

Posted: Fri Feb 15, 2013 1:10 pm
by OdinVex
*Edit [This was answered]

Re: RAM below 1MB is...?

Posted: Fri Feb 15, 2013 2:04 pm
by Combuster
If you read all the hints, there's no silicon difference between "base" and "extended" RAM - in fact all of it is there on the same chip. There's no logic other than checking if an address should be routed to the DRAM chip or to one of the IO buses. That check is baked in silicon and doesn't even take half a clock cycle to run, let alone be so stupid to compare it against each address in turn.

Re: RAM below 1MB is...?

Posted: Sat Feb 16, 2013 5:15 am
by OdinVex
I read again what Brendan said and it makes sense, I must have been tired.