A
A
anton13ms2019-12-24 11:34:53
DOS
anton13ms, 2019-12-24 11:34:53

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

3 answer(s)
C
CityCat4, 2019-12-24
@anton13ms

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.

V
Vadim Priluzkiy, 2019-12-24
@Oxyd

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.

V
Vladimir Korotenko, 2020-04-15
@firedragon

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 question

Ask a Question

731 491 924 answers to any question