Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

I have "inherited" a DOS application that uses direct access (using inp/outp) to the parallel port registers for reading and writing to the port.

I am trying to run this application on my Fedora Linux system using DOSBox-X. I have no way to recompile the DOS application, I am supplied with a DOS executable.

My system has a PCI board providing the parallel port. This means that the address of the port register are different from the "standard" 0x3bc, 0x378, etc. The proper address can be obtained via 'lspci -v' on the Linux system. The DOS application has a configuration capability that lets me set the proper address.

I have written and tested a simple C program that uses inp/outp to assure that the PCI parallel port can be accessed. What I have run into is that the Linux system first requires a call to ioperm in order to access the port, and the application must be running in root for proper authority.

How do I execute this DOS program under DOSBox-X given the Linux constraints I mentioned?

Thanks for the help.

Regards,
Bill Lee

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...