Open Torinde opened 2 years ago
That would be cool, but to get there, DOSBox-X will first need USB host controller emulation (as a PCI device of course).
VirtualBox does that - user can connect/disconnect any USB device from the host and use it in the guest - and afterwards, when disconnected from guest the device re-connects to the host. I don't know if some code can be reused from there?
Also related - scanner/webcam emulation from picture/video file (not sure of the use case though).
Virtualbox - The EHCI and XHCI USB controller devices are now part of the open source base package
QEMU and Bochs also support USB emulation.
@crazii, how will your https://github.com/crazii/USBDDOS fit with such a feature? Have you seen any potential implementations for "USB host controller emulation"?
I don't think so. It is merely a dos driver that won't support win9x guest and no host emulation at all.
There are external USB-to-ISA adapters 1 2 - they even sell dosbox-x.conf and win9x.img files! I wonder how they get access to the USB-attached ISA slots in DOSbox-X - my assumptions are either:
The second option will be relevant for this Issue, although I think the first is more likely (because they mention a Win7/10 ISA SDK/software layer).
Where does it say that those config files are meant for use with those ISA to USB adapters?
My understanding is that they are selling a pre-installed Win98SE/WinME OS image + dosbox-x config files.
So, first it's stated that along with the USB2ISA you need to consider power, enclosure, cable, software.
For the software it's written than "installation software" is sufficient, but "if you have access to the ISA software source code" you can buy an extra SDK. Elsewhere they write that they "offer support for DOS under Widows operating systems".
Then, there are the same 4 options to choose: power enclosure, cable, software. Here the software is "OS images for dosbox-x" consisting of DOSbox-X.conf and Win9x.IMG. True that they don't even state DOSbox-X itself is included.
But still, the question remains - how do you access those ISA-over-USB ports in DOSbox?
USB pass-through (storage, audio, webcam, scanner and other devices - like a second mouse) from host into DOSbox-X. Mostly useful for Win9x, but also can help with for dual mouse games. Here is shown an example set of USB drivers for DOS - USBUHCI, USBMOUSE, CuteMouse
Originally posted by @Torinde in https://github.com/joncampbell123/dosbox-x/issues/2412#issuecomment-1008162065