From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Gaddi Subject: DOSEMU and memory-mapped IO Date: Mon, 11 Nov 2013 14:39:51 -0800 Message-ID: <20131111143951.48054b72@rg.highlandtechnology.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org 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 -- Rob Gaddi, Highland Technology 18 Otis St. San Francisco, CA 94103 415-551-1700