Dear c.o.m.programmer,I figured this out. I use DPMI to convert the address. This is the
How would I map a physical address into my process address space
in an extended program? Specifically, CauseWay with OpenWatcom.
I am experimenting with PCI device access. I am able to read the
physical address from the config address space with the outpd()/
inpd() functions; specifically d0000008 in my case (3Dfx Voodoo
in DOSBox). And predictably, if I try it directly, I get an
exception thrown.
On Thu, 28 May 2020 03:10:31 +0800, Johann 'Myrkraverk' Oskarsson wrote:
I am experimenting with PCI device access. I am able to read the
physical address from the config address space with the outpd()/
inpd() functions; specifically d0000008 in my case (3Dfx Voodoo
in DOSBox). And predictably, if I try it directly, I get an
exception thrown.
I figured this out. I use DPMI to convert the address.
Glad you worked it out, DOSBox and all. Curious about your goal.
I am experimenting with PCI device access. I am able to read the
physical address from the config address space with the outpd()/
inpd() functions; specifically d0000008 in my case (3Dfx Voodoo
in DOSBox). And predictably, if I try it directly, I get an
exception thrown.
I figured this out. I use DPMI to convert the address.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 415 |
Nodes: | 16 (1 / 15) |
Uptime: | 126:55:28 |
Calls: | 8,698 |
Calls today: | 2 |
Files: | 13,260 |
Messages: | 5,950,440 |