USB Drivers for DOS (with Source Code to port)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

USB Drivers for DOS (with Source Code to port)

Post 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
User avatar
BenLunt
Member
Member
Posts: 941
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

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

Post 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
Post Reply