VOGONS


USB Support

Topic actions

First post, by ray5450

User metadata
Rank Newbie
Rank
Newbie

Does Dosbox have USB support (a printer, for example)?

Thanks.

Reply 1 of 22, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

No. I think printing is possible using h-a-l-9000's MegaBuild (http://home.arcor.de/h-a-l-9000/index.html), although I've never tried that myself. Generic USB support doesn't exist in DOSBox.

Last edited by Kippesoep on 2010-01-12, 10:46. Edited 1 time in total.

Reply 3 of 22, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

No, it isn't. DOSBox is intended to play DOS games. DOS itself had no USB support and any USB devices that are useful now (storage, mouse, keyboard, joystick and sound) are usable through the host operating system anyway. Printers are not used by games anyway, but h-a-l's build makes it possible.

My site: Ramblings on mostly tech stuff.

Reply 4 of 22, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

And printing to USB *might* not even work with HAL's MegaBuild. I might be wrong, though, I vaguely remember something about it.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 5 of 22, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

I think you must share your USB printer and redirect it to an LPT port, for instance:

net use \\network\printer lpt1: /persistent:yes

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 9 of 22, by ray5450

User metadata
Rank Newbie
Rank
Newbie

Yes, I currently do use another virtualizer, and I also do use Dosbox for old games, but I was hoping to use only one. However, other virtualizers are too slow or have other kinks when it comes to old games, and Dosbox does not handle USB, so I'll still need separate applications. That was my idea, anyway.

Reply 10 of 22, by Malvineous

User metadata
Rank Oldbie
Rank
Oldbie

What sort of USB device are you wanting to connect? I'm curious what sort of DOS program would require a USB dongle or something to work...

Reply 11 of 22, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

he did mention a printer in the first post...
Apart from that I can't think of anything else that USB support would be needed, since Dosbox does "support" some devices you can hook up to your computer via USB. Joysticks, CD-Rom drives, probably USB sound cards are working in Dosbox as long as they work in the host

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 12 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

he did mention a printer in the first post...

He explicitly posted "does it have usb support" mentioning for example printers,
posting in the dev forum. If he only wants printing i'd guess he had asked for it.

Reply 13 of 22, by Malvineous

User metadata
Rank Oldbie
Rank
Oldbie

Not to mention once a solution was offered for printing the OP then said DOSBox still couldn't be used because it doesn't offer USB support.

So perhaps if the specifics could be listed, there might be a better chance of someone coming up with a solution. About the only things I can think of that wouldn't work through DOSBox are an OS with its own USB drivers that directly access the hardware, or something that presents an interface to the host OS that doesn't have an equivalent in DOS (like a USB generic HID device - UPS, dongle, etc.)

Reply 14 of 22, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

From experience with other users who post here, the want for USB support is limited to USB printers and I really can't think of a device you'd need USB support for in Dosbox (printing aside).

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 16 of 22, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

ray, it would be nice if you could elaborate what you mean with otherwise? As you can read we have been discussing it and have no idea what USB-device you'd want to use that isn't supported...

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 17 of 22, by ray5450

User metadata
Rank Newbie
Rank
Newbie

Anything. Everything. It doesn't matter. Are you implying that you have a list of USB devices that do work? If so, maybe I could use it sometime for something, but for now, you all have answered my question. Thanks. You all are very thorough. I wish all forums were like this.

Reply 18 of 22, by Malvineous

User metadata
Rank Oldbie
Rank
Oldbie

The problem is we're all a bit confused why you would ask such a question, unless you have encountered a specific problem. It's like someone asking whether Microsoft Word has USB support - it doesn't need it because Windows, being the operating system, looks after all hardware devices, USB or otherwise. Microsoft Word just talks to Windows and doesn't have to know whether a device is USB, PCI, serial or bluetooth.

Likewise DOSBox uses the operating system to talk to the hardware inside the PC, so it doesn't need USB support to make use of USB devices.

Hence we're all a bit confused about what you meant by "USB support" 😀