Emulator with Native PCI support

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
flanet
Posts: 1
Joined: Sun Oct 16, 2011 4:04 pm

Emulator with Native PCI support

Post by flanet »

Hi,

I am trying to write some kind of IDE driver with the most basic features.
Since all the modern controllers supports the native and the compatibility (Legacy) PCI modes, I wanted my driver to support them both.
The problem is that I can't find any Virtual Machine that emulates the native PCI mode.
Could anyone help me?

Thanks
mrkotfw
Posts: 4
Joined: Mon Nov 07, 2011 5:53 pm

Re: Emulator with Native PCI support

Post by mrkotfw »

I'm running into the same problem.

I implemented the code necessary to detect a hard disk. However, Prog. IF from the PCI configuration header yields a value of 0x80 which implies compatibility only :x
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Emulator with Native PCI support

Post by Combuster »

Keywords of the day: Linux, bochs, direct PCI access driver. Should pretty much allow you to test physical hardware your system does not currently use.

No personal experience as my favourite subject is video cards.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply