Page 1 of 1

USB Drivers for DOS (with Source Code to port)

Posted: Mon Jul 18, 2016 12:13 pm
by ~
I found a set of binary COM programs for MS-DOS/FreeDOS. These allow to enable UHCI USB hubs, keyboards, mice and mass storage devices like USB sticks.

It can be useful as an USB programming example for porting the driver logic to other programs.

It seems that this is a good resource to learn about USB programming, giving the lack of other USB projects:

Binaries:
Image usbdos.zip

Code: Select all

USBUHCIL.COM -- Main UHCI driver; Run First
USBUHCI.COM  -- Main UHCI driver
USBHUB.COM   -- Hub driver
USBKEYB.COM  -- Keyboard
USBMOUSE.COM -- Mouse
USBDRIVE.COM -- Mass storage
USBPRINT.COM -- Printer
USBJSTIK.COM -- Joystick
USBHOSTS.COM
USBDEVIC.COM
VENDORID.COM
USBUPT1.COM


Source Code:
http://bretjohnson.us/source/usbsourc.Zip
http://bretjohnson.us/source/usbsourc_2009-06-30.Zip
http://bretjohnson.us/source/usbsourc_2009-07-10.Zip
http://bretjohnson.us/source/usbsourc_2009-08-16.Zip
http://bretjohnson.us/source/usbsourc_2009-08-20.Zip
http://bretjohnson.us/source/usbsourc_2009-09-23.Zip
http://bretjohnson.us/source/usbsourc_2010-01-25.zip
http://bretjohnson.us/source/usbsourc_2010-01-27.zip
http://bretjohnson.us/source/usbsourc_2010-01-30.zip


Some more information:
FreeDOS Mailing List

Re: USB Drivers for DOS (with Source Code to port)

Posted: Mon Jul 18, 2016 3:42 pm
by BenLunt
Or if you would rather have a good book that explains UHCI, OHIC, EHCI, *and* xHCI, then have a look at my work.

http://www.fysnet.net/the_universal_serial_bus.htm

Ben