I know its possible to write DOS drivers, but I was wondering if there are still books or people out there with that knowledge. I want to run FreeDOS and be able to use my USB keyboard and mouse, and I am guessing I need to write USB drivers.
Where would I even begin?
DOS maintains a linked list of these drivers, with new drivers being added to the head of the list. When a device driver is accessed, the list is searched from the head. The latest driver is found first and is subsequently used.
Two types of character device drivers are standard character device drivers and STREAMS device drivers.
MS-DOS device drivers Most of the device drivers on MS-DOS are part of the operating system such as keyboard and screen console drivers, floppy and hard-disk drivers, printer port driver, serial port driver etc.
Take a look here: http://www.drdobbs.com/writing-ms-dos-device-drivers/184402277
Also, check out CuteMouse(http://cutemouse.sourceforge.net) for mouse drivers. Maybe this will give you an idea of how they are written.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With