RAM below 1MB is...?

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
OdinVex
Member
Member
Posts: 55
Joined: Tue Sep 07, 2010 11:00 pm

RAM below 1MB is...?

Post 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.
“...No rest, no peace...” ― Odin Vex
User avatar
trinopoty
Member
Member
Posts: 87
Joined: Wed Feb 09, 2011 2:21 am
Location: Raipur, India

Re: RAM below 1MB is...?

Post by trinopoty »

The "RAM" below 1MB is the RAM installed on your PC.
Always give a difficult task to a lazy person. He will find an easy way to do it.
User avatar
OdinVex
Member
Member
Posts: 55
Joined: Tue Sep 07, 2010 11:00 pm

Re: RAM below 1MB is...?

Post by OdinVex »

Meaning the physical chips or some soldered RAM (like SPI flash etc)?
“...No rest, no peace...” ― Odin Vex
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: RAM below 1MB is...?

Post 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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
OdinVex
Member
Member
Posts: 55
Joined: Tue Sep 07, 2010 11:00 pm

Re: RAM below 1MB is...?

Post 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.
“...No rest, no peace...” ― Odin Vex
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: RAM below 1MB is...?

Post 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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
OdinVex
Member
Member
Posts: 55
Joined: Tue Sep 07, 2010 11:00 pm

Re: RAM below 1MB is...?

Post by OdinVex »

*Edit [This was answered]
Last edited by OdinVex on Sat Feb 16, 2013 5:17 am, edited 2 times in total.
“...No rest, no peace...” ― Odin Vex
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: RAM below 1MB is...?

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
OdinVex
Member
Member
Posts: 55
Joined: Tue Sep 07, 2010 11:00 pm

Re: RAM below 1MB is...?

Post by OdinVex »

I read again what Brendan said and it makes sense, I must have been tired.
“...No rest, no peace...” ― Odin Vex
Post Reply