Open main menu

Difference between revisions of "OpenTasks"

790 bytes added ,  00:52, 1 March 2007
Line 138: Line 138:


== Rewrite FMOPL emulator ==
== Rewrite FMOPL emulator ==
In ScummVM we use well-known FMOPL emulator from MAME V0.37a with some modifications. That was one of the few
Many games supported by ScummVM contain sound data in the [http://en.wikipedia.org/wiki/Adlib|Adlib] format. The AdLib was based on the Yamaha YM3812 sound chip (also known as OPL2), which produced sound via FM synthesis.
versions on MAME released under GPL. Jarek Burczynski later rewrote FMOPL emulator to be bit-precise,
but unfortunately for us his work is under GPL-incompatible license.


What needs to be done is to understand current Jarek's code and write a new emulator. The efforts should
In ScummVM we use the well-known FMOPL emulator from MAME V0.37a with some modifications (the name is the composition of "FM" and "OPL", see above). That was one of the few
be made to avoid verbatim copying of his code, so license violation will not take place.
versions on MAME released under the GPL, making it legal for us to use this particular version of the FMOPL code. Jarek Burczynski later rewrote the FMOPL emulator to be bit-precise, but unfortunately for us his work has only been released under a GPL-incompatible license.


There are several approaches to do it, and even less are suitable for a single developer. One of good
What needs to be done is to understand Jarek's current code and write a new emulator. Efforts must
ways would be either fix current FMOPL code looking on how Jarek's code works, or fix completely different
be made to avoid verbatim copying of his code, to ensure no license violation takes place.
emulator which we have. It was written under GPL by Ken Silverman.
 
There are several approaches to do this, but most are not suitable for a single developer. A possible approach would be to fix our current FMOPL code ny looking on how Jarek's code works. Another would be to start with a second, totally different emulator which we have and gradually improve that one (which was written by Ken Silverman and released under the GPL).
 
<font color="magenta">Fingolfin has some doubts whether this is a realistic project. In particular, the approaches suggested above would possibly still violate Jarek's license, as most license do cover "derived" work -- and looking at some code and then writing your own definitely falls into that category</font>


== MIDI enhancements ==
== MIDI enhancements ==
1,079

edits