r/AskComputerScience • • 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

50 comments sorted by

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!

1

u/Successful_Box_1007 Dec 08 '24

Thank you so so much and for your tolerance in accepting my annoying curiosities; you are a gem to this community for nubiles such as myself!

2

u/dancesquared Jan 06 '25

Nubile

adjective

  1. (of a young woman) suitable for marriage, especially in regard to age or physical development; marriageable.
  2. (of a young person, usually a woman) sexually developed and attractive.

1

u/Successful_Box_1007 Jan 06 '25

Bahajajaajajjajaja WTFFFF!??? My professor in college used to always say nubile minds !

2

u/dancesquared Jan 06 '25

I guess in the sense of “fertile” minds ready to be filled with knowledge, but it’s kind of a creepy phrase. Most people use it with “minds” when talking about things like grooming or indoctrination.

1

u/Successful_Box_1007 Jan 06 '25

Wow so basically my professor was misusing it. That’s hilarious. Always said it with a straight face. This was my physics professor.