BIOS
i understand that BIOS is a small program written in some language and stored on a chip/flashmemory.can someone tell me how does this instruction written by us gets stored inside a chip made of transistors?how do they make the instruction get inside a chip made of silicon?
10 comments
[ 3.0 ms ] story [ 35.5 ms ] threadReal microcode is below the level of assembly language. E.g. a horizontal microcode will potentially be controlling the function of each gate or sub-block in a microprocessor.
The clock frequency of a synchronous design is generally the time it takes to execute each microcode instruction. So one machine code op code may translate into several microcode operations to achieve the desired outcome.
Writing microcode is hard.
Doing the microcode for those projects was kind of fun, I miss that kind of work sometimes. Now get off my lawn.
Back in the late '80s a friend who was taking it told me about a contest of sort they had to the side: you were given an instruction set to implement in hardware and firmware (microcode) and on the day of the contest you were given a program to run on it. The fastest implementations after a day of hacking and tuning won.
I notice that the last lab for the above spring 2009 version has a price/performance challenge, which is very apropos to what's hot in this area today (e.g. the ARM, Atom, etc.). You're to minimize the number of gates while still making it run a sample application quickly.
In days of old, ROM chips would be mass produced with their contents literally hard wired as an intrinsic part of the chip layout.
This isn't HN material.
The flash memory is programmed in the factory before being installed into the motherboard and can also be reprogrammed in the field. There are other technologies, such as JTAG which allow you to reprogram flash memories. In effect, part of the memory contains a very simple computer (if you dare call it that) which will communicate with an external device to perform the task.
Older technologies, e.g. EPROMs used high voltages (as in 12V vs. 5V) to program what was in effect a huge array of capacitors which could be erased by ultraviolet light. Before them ROMs were actually programmed by changing the manufacturing masks.