r/AskComputerScience • u/Successful_Box_1007 • Dec 01 '24
How does Bios Transfer access, read, and transfer entire OS in ROM quickly enough to RAM where it’s better to do this than just keep OS in the slower-accessible ROM?
Hi everybody,
A bit confused about something: How does Bios Transfer access, read, and transfer entire OS in ROM quickly enough to RAM where it’s better to do this than just keep OS in the slower-accessible ROM?
Thanks so much!
5
Upvotes
View all comments
Show parent comment
2
u/ElevatorGuy85 Dec 07 '24
The nature of your ongoing questions suggests that you don’t have any concept of the functional blocks that make up a microprocessor (CPU) or the rest of the devices that it connects to.
Rather than looking for information on modern microprocessors, you might want to read some of the earliest reference manuals, e.g. for Intel’s 8085 processor, mainly because they are very simple devices and so there’s far more focus on the important characteristics rather than more modern CPUs where they do so much more. This manual may be 41 years old, but it’s very clear and concise.
http://www.bitsavers.org/components/intel/MCS80/MCS80_85_Users_Manual_Jan83.pdf
Regarding BIOS, it can be stored in any sort of non-volatile memory.
In the early days it was ROMs (Read-Only Memories), which could have been:
These devices were not in-system programmable.
Later on came FLASH memory, which was electrically reprogrammable, similar to the SD card you might use in a digital camera, and could be reprogrammed in-system. This is what most PCs use for their BIOS. To re-program them, you are generally erasing an entire “page” or “sector” or “block” of memory and then programming that area again, i.e. not byte-by-byte programmable.
As for EEPROMs, these are Electrically Erasable Programmable Read-Only Memories, which sounds like FLASH, except that it is byte-by-byte re-programmable. Generally, they come in small-ish capacities and are not fast enough or large enough to contain an entire BIOS.