Skip to contentSkip to conversation

DOSEMU and memory-mapped IO

DISCUSSION Rob Gaddi 1 participant 1 message Nov 11, 2013

lore
Share & tools
lore

Rob Gaddi

author
#0 lore raw

So I've got a strange idea, and want to run it by folks smarter than me before I get too far down the rabbit hole.

I have a lot of old DOS test and calibration software that works by being told where to find an ISA-VME bridge in real mode memory. It then opens up a pointer to it and goes about performing transactions, happy as you like. No drivers, no nothing.

I'd like to try to migrate that software to a DOSEMU installation instead. I've got a new PCIe-VME bridge, with drivers that create a device in /dev that can be mmap'ed from Linux applications (it's just all of BAR1). If I could, for instance, declare 0xB0000-0xC0000 inside the DOSEMU environment to point to offset 0x10000-0x20000
of /dev/v120_v0, I'd be in all manner of business.

So I guess I've got two questions. A) Is this doable with DOSEMU as is, and B) if not, is it doable with some non-heroic amount of code slinging?

Thanks,
Rob

Signature · 4 lines
Rob Gaddi, Highland Technology
18 Otis St.
San Francisco, CA 94103
415-551-1700