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
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to