Answer the question
In order to leave comments, you need to log in
How to create a PCI pseudo device in DOS?
There is DOS on a virtual machine, it has specialized software that does not want to start because it does not see a device on the PCI port (it is not clear to me yet whether it should be some kind of special device or any).
1. That is, in theory, in order for the program to proceed to the next step, you need to emulate a connected PCI device using VirtualBox or DOS itself. How to do it?
2. As far as I know, it is impossible to connect a physical PCI device of the host machine to the VirtualBox virtual machine... Can any other visualization system do this? For example Proxmax?
Answer the question
In order to leave comments, you need to log in
No way.
Programulina does not see the physical device on the PCI bus. As a rule, it is checked simply - a request for a specific port, which should be if there is no response - ala ulu.
You can only write a device driver for the host and forward it to DOS. The task is comparable in complexity to writing your own driver.
That is - if there is a device and it is stuck in PCI (although PCI still needs to be found) - plug it in and forward it. If not, then just write your device simulator.
Virtual DOS Machine(VDM) in OS/2(ArcaOS) can work directly with the hardware, but this is a strong Jedi. It's not easier to put some FreeDOS and a driver for your hardware.
Purely as an interest, but what kind of piece of iron is this. And why do you think that the program will work without it?
And what's the point of her?
If you need to overtake something. Write your driver. Like here for example.
The main idea is to hang an interrupt handler and process it in your code. So
https://www.drdobbs.com/writing-ms-dos-device-driv...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question