From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julius Schwartzenberg Subject: Re: sound support (Re: XMS problem with Aladdin demo) Date: Wed, 09 Mar 2005 10:27:16 +0100 Message-ID: <422EC174.2040400@zgod.cjb.net> References: <422DFBD8.2030904@aknet.ru> <20050308212351.GI11254@dbz.icequake.net> <422E212B.4060108@zgod.cjb.net> <20050308230541.GE28434@dbz.icequake.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit In-Reply-To: <20050308230541.GE28434@dbz.icequake.net> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Ryan Underwood schreef: > More reply: > > On Tue, Mar 08, 2005 at 11:03:23PM +0100, Julius Schwartzenberg wrote: > >>>If you have the hardware, this works fine. However, dosemu must be >>>started as root. > > > PS. Or sudo. My Dosemu owned by root already has u+s. I thought that was about the same as running as root, but that indeed doesn't do. >>Cool, I've just got this to work! >>It doesn't seem to work fully though. >>I've added this to my dosemu.conf: >>$_ports=" device /dev/snd/seq range 0x388 0x38b" >>I'm using a YMFPCI chip which seems to contains an OPL3. > > > Yes, these chips do have a real OPL3, but must be enabled by the PCI > configuration. Since you are using this for MIDI seq, it is likely the > case. But the ALSA OPL3 driver may be using MMIO access and not PIO. > Check your /proc/ioports to see where ALSA claims the OPL3 ports > actually exists. > > You can also enable IO-tracing for all of the mentioned ranges > (0x220-0x223, 0x228-0x229, 0x388-0x38b) to see where the app tries to > write OPL commands to. If it is writing to the wrong range relative to > the real hardware, it's possible to redirect that access. Redirected > access would be slower but with OPL this doesn't make much difference > since there is so little I/O traffic. In /proc/ioports the OPL3 is only listed at 0388-038b, which is why I set up that port range in Dosemu. The other ranges you mention to seem not to be used. Here is the full output of catting /proc/ioports: http://haar.student.utwente.nl/~julius/ioports-laptop I believe Wacky Wheels and Wolfenstein 3-D worked without problems when I ran them without Linux/Dosemu in DOS, so the hardware seems to be capable. Thanks, Julius