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 08 '24
Some CPUs will automatically set the Program Counter to a specific value after power-on or reset and expect instructions to be there for it to execute. Some will use a reset vector. Like most things in computing, there is no “one standard” and different manufacturers were free to do whatever they wanted with their designs. Over time, there tend to be some “winning ideas” and others that fade into obscurity. That is the nature of technology!
Bitsavers.org is an amazing resource. I’d recommend starting with 8085 just because it’s so simple. Then if you go to the 8086, you are already somewhat used to the “Intel way” for describing things, versus switching to a different manufacturer’s chip and trying to get used to their writing style (e.g. Motorola 6800 or 68000). Some manufacturer’s writing style will “just click” with you.
A 64-bit CPU will be more complex than an 8-bit CPU because it will usually have more registers, more complex memory management, etc. If you are talking about Complex Instruction Set Computing (CISC) CPUs, like the Intel and AMD x64 CPUs used in PCs, they have some incredibly complex instructions (e.g. the ones used for manipulating multimedia data, e.g. MMX, SSE2, etc.) and the way they handle memory and multiple cores is mind-boggling and overwhelming for newbies. There are also Reduced Instruction Set Computing (RISC) CPUs like the ARM family, but even these can be quite complex.
My recommendation is to start small, get a solid grasp of the concepts, and then move onto harder things. It’s always easier when you have a practical reason for learning, rather than trying to digest hundreds and thousands of pages of technical information about CPUs with no practical project to apply it to (which means the knowledge and understanding will fade).
OK, that’s my last reply on all of this. I hope it has helped!