
Episode 95: How Computers Work Part V - Assembly Language and the Operating System
The Science of Everything Podcast
00:00
How to Read From a Keyboard Using a Memory Controller
Many peripheral devices have their own set of registers that temporarily store data. In order to perform an i o, all i have to do is either read from or write to tho temporary registers. The specific hardware specific to whatever the periferal device is will take care of the rest. So in this way, i o is just exactly like a memory access. It's just that instead of being sought in main memory, the relevant data is stored with the particular memory controllers of the particular device in question.
Transcript
Play full episode