The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: korte on September 05, 2006, 04:44:06 PM

Title: usb in dos
Post by: korte on September 05, 2006, 04:44:06 PM
How to access usb device i dos.
PCI USB controller detection ok.
Memory and register address found.

I want to send/rececie byte data to/from usb port.

My usb device simple hw converter chip usb<->rs232 (FT232R)

Title: Re: usb in dos
Post by: farrier on September 06, 2006, 04:00:33 AM
korte,

These are just some random links and text I have from some research I did a while ago.  The thing I was looking for was the ability to access a USB thumb drive as a regular drive letter from within DOS.  Never tried it, but some of these report success.

hth,

farrier


http://www.bootdisk.com/usb.htm
http://www.computing.net/dos/wwwboard/forum/13447.html
http://www.stefan2000.com/darkehorse/PC/DOS/Drivers/USB/
___________________________________________________________________________________________________________________________________________
    I finally got it to work!! I have the following files on my boot disk:

    himem.sys
    ramrd.sys
    usbaspi.sys
    di1000dd.sys

    And my config.sys is as follows:

    dos=high, umb
    lastdrive=z
    device=himem.sys
    device=ramfd.sys
    devicehigh=usbaspi.sys /w /v
    devicehigh=di1000dd.sys /dG

    The file just above assigns my PNY 128MB thumb drive to the G: drive, and I can then access it through DOS. I don't have anything in my autoexec.bat file (don't really need it since I'm not accessing an external cd-rom.

Title: Re: usb in dos
Post by: korte on September 06, 2006, 05:40:31 AM
not.
My device not disk drive. my device simple usb-rs232 physical converter.
Title: Re: usb in dos
Post by: farrier on September 06, 2006, 10:52:03 AM
korte,

You're welcome? ::)

Check the links I provided, some info links are there for, software giving providing information about connected devices, and drivers.  Try it.  The text was just from a .txt file I saved from a long time ago.

farrier