On Tue, Mar 08, 2005 at 07:28:51PM +0100, Julius Schwartzenberg wrote: > This patch seems pretty neat. Is there any chance that at least OPL3 > support could be added in such a way to Dosemu?
Yes, in fact I had a tree where I was working on this but it died when my laptop hd crashed. It involves a thin layer libopl that uses hardware when it is available, and invokes the LGPL-licensed emulator from AdPlug when not available. libopl was intended to be used in all these other projects also which are currently using OPL emulator. I have rewritten libopl, but it requires a patch to OSS/Free and ALSA's DMFM interface to work without superuser privilege. I have to reintegrate it with dosemu, then I'll send the whole patch. Unfortunately, OSS commercial people will be out of luck for this, since they will not change their API at request of users. A change which was made recently is that dosemu became compatible with pthreads. Now I can make the libopl emulator mode threaded so it can run concurrently with dosemu. This should greatly improve the emulation quality from Stas's original patch, instead of having to wait for the sound system to be run from dosemu's main loops. > I think people that do not have an OPL3 chip would want to have the > emulation of it outside Dosemu anyway since there are also several other > programs that could use an OPL3 chip. > For people with OPL3 hardware, their hardware would automaticly used; > for others the OPL3 would be emulated so that for Dosemu, FreeSCI, > ScummVM, Linux Doom, etc. it would be the same as having a real OPL3 chip. I thought about this for a long time already and have already begun with a SDL-based synthesizer daemon. For example, this could be connected to alsaseq in the same way that timidity's ALSA daemon mode, to play MIDI files where only OPL hardware exists. Furthermore, for those machines without OPL or hardware MIDI, OPL is far cheaper to emulate. However, for the short term (read: the time I have), libopl approach is good enough. -- Ryan Underwood, <[EMAIL PROTECTED]> - 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
