Jump to content
LaunchBox Community Forums

BillLee

Members
  • Posts

    2
  • Joined

  • Last visited

BillLee's Achievements

1-Bit Wonder

1-Bit Wonder (1/7)

0

Reputation

  1. Thanks for the response. I have been searching for the "proper" forum for several days.
  2. 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
×
×
  • Create New...