BIOS

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
Adek336
Member
Member
Posts: 129
Joined: Thu May 12, 2005 11:00 pm
Location: Kabaty, Warszawa
Contact:

BIOS

Post by Adek336 »

Hi
BIOS is executed on the CPU. So it may not run if no memory is installed. However, a motherboard will beep upon poweron if no memory is installed and it is commonly known as "BIOS beep codes". But BIOS may not run without memory and thus it can't activate the beeps.
Thus it is wrong to call the continous "no-memory" beep signal as "BIOS beep code" and it is controlled by the motherboard, right?
User avatar
Zenith
Member
Member
Posts: 224
Joined: Tue Apr 10, 2007 4:42 pm

Re: BIOS

Post by Zenith »

Well, I'm not too sure.
The BIOS runs in non-volatile memory which is part of the motherboard, so it can still execute. Possibly, there's a routine there somewhere that checks if there is available memory and then beeps if there isn't, thus making it a BIOS-generated beep code. Of course, if you took away the CPU though... :wink:
Why does it matter, anyway?
"Sufficiently advanced stupidity is indistinguishable from malice."
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Re: BIOS

Post by chase »

If I remember correctly the BIOS is memory mapped from CMOS or some type of NVRAM. The cpu jumps to F000:FFF0 and starts running the BIOS. It's later that the BIOS might be moved into your SIPP/SIMM/DIMM type RAM. This is why there is usually a setting in your BIOS config program for BIOS shadow. Without the BIOS shadow turned on it's never moved into RAM.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: BIOS

Post by bewing »

The BIOS starts running from ROM. That is why it will run when there is no RAM -- your BIOS flash ROM is always there.
As chase says, if some RAM is actually detected by the BIOS initialization code, then a small portion of the "run-time" BIOS will be copied into it, later.
Post Reply