DOS Guest and LPT port

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.
Post Reply
trippingslowly
Posts: 12
Joined: 6. Mar 2015, 22:45

DOS Guest and LPT port

Post by trippingslowly »

I have a DOS 6.22 guest on Windows 10 host. I followed this guide to enable a LPT port on the VM: viewtopic.php?f=24&t=54187

Specifically (substituting my VM name in the quotes):

Code: Select all

VBoxManage modifyvm "My VM Name" --lptmode1 "LPT1:"
VBoxManage modifyvm "My VM Name" --lpt1 0x378 7
However, when I boot the VM, MSD reports 0 LPT ports. Using the same procedure on a WinXP guest does result in a LPT port appearing in Device Manager.

Has anyone had success installing a LPT port in a DOS guest?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: DOS Guest and LPT port

Post by mpack »

I can't think why that should be. VirtualBox is a hardware simulator, not an OS simulator - the OS is real, and if one OS detects the hardware then any others should detect it too. I wonder if it's the type of parallel port that is the issue (e.g. legacy vs EPP vs ECP)? VirtualBox seems to emulate the latter, which is the newest variant. I know nothing about parallel ports, but I would have expected the register API to be backwards compatible.
trippingslowly
Posts: 12
Joined: 6. Mar 2015, 22:45

Re: DOS Guest and LPT port

Post by trippingslowly »

Thanks for the reply. I tried again and instead of MSD, I used NSSI and it did successfully detect the LPT port under DOS.
Post Reply