How does an OS communicate with other hardware components?

Posted by Jack on Super User See other posts from Super User or by Jack
Published on 2010-03-11T21:47:47Z Indexed on 2010/03/19 18:31 UTC
Read the original article Hit count: 246

How can a program running on a CPU (mostly OS) access other PC hardware? Such as Graphic card, HDD and so?

From what I read, in DOS, this was done using BIOS calls, specifically the INT instruction. But, the INT instruction should only jump to the certain space in RAM. So how can some program stored in RAM access other computer hardware, when the CPU can only access RAM, and receive interrupts?

Does Windows use INT instructions as well, or is there a new way to communicate with the hardware?

© Super User or respective owner

Related posts about communication

Related posts about Hardware