Hello All,
Well, I am planning on making an operating system and it'll be a long jump but still...I have the hardware but the other levels are problems. Here:
Applications
I/O Management
Device Drivers
Memory Management
CPU Management
Hardware
I'm now focusing on the Device Drivers section. I need to now some code snippets, structure, and anything else on Device Drivers.
Any other info would be helpful.
Thanks.
Device Drivers
Started by hetra, Mar 08 2010 02:07 AM
3 replies to this topic
#1
Posted 08 March 2010 - 02:07 AM
|
|
|
#2
Posted 08 March 2010 - 01:35 PM
Eh...device drivers for what? Mouse, keyboard, hard drive... They're very different.
sudo rm -rf /
#3
Posted 09 March 2010 - 02:27 AM
You know when you got a character to print to the screen? That was basically a device driver.
Most of the basic stuff is just a matter of finding out where what needs to go and in what order, or which port to put data in and pull data out of or which flags need to be checked and where they are.
You could start with just a generic keyboard driver and I'm certain you can find examples, if not just look at the linux .01 kernel source.
Most of the basic stuff is just a matter of finding out where what needs to go and in what order, or which port to put data in and pull data out of or which flags need to be checked and where they are.
You could start with just a generic keyboard driver and I'm certain you can find examples, if not just look at the linux .01 kernel source.
"The best optimizer is between your ears" - Michael Abrash
Saying you can optimize a program is like saying you understand how a program works on every level of every facet on a specific machines configuration.
Saying you can optimize a program is like saying you understand how a program works on every level of every facet on a specific machines configuration.
#4
Posted 09 March 2010 - 02:35 AM
These are relatively straightforward
Keyboard controller specifications
Mouse controller specifications (You need to scroll down nearly halfway to get to the actual port specifications. You should skim the material before it, though.)
Kung fu.
Parallel port I/O specifications
Keyboard controller specifications
Mouse controller specifications (You need to scroll down nearly halfway to get to the actual port specifications. You should skim the material before it, though.)
Kung fu.
Parallel port I/O specifications
sudo rm -rf /


Sign In
Create Account


Back to top










