11.12.2012 18:14, Bart Oldeman пишет:
> On 11 December 2012 04:22, Stas Sergeev wrote:
>> Grr, the licensing problems are turning into a technical problems,
>> again...
>> By the way, I thought the "unlicensed" code defaults to the main
>> license of the project. At least I don't think I ever covered my
>> contributions to other projects with some license, and there were
>> no problems, even in linux kernel.
> Yes, but here the problem is that MAME is not Open Source.
> mamedev.org/devwiki/index.php/Is_MAME_Open_Source%3F
> en.wikipedia.org/wiki/MAME
mamedev.org doesn't work for me right now, so I've yet to find
out their license...
If it is not open source, then how have we ever got any ymf262.c at all?

>> dbopl.c doesn't seem to have any of the above, at least on
>> a quick glance I did. It still seems to be modelled around the
>> old API of ymf262.c. So, while I can't comment on an implementation
>> internals, for us it isn't going to be any better, if not worse. :)
> The timer stuff is all in dbadlib.c, we could easily replace it
> completely even without modifying dbopl.c.
I still think there is no any sequencer API... but this doesn't matter
for the course of this discussion, as long as the ymf262.c didn't
have one either.
The timer changes I did, were actually simple: when we are
generating the chunk of samples, the timer may expire in the
middle. Instead of delaying the timer, I split up the chunk into
pieces, and update the timer at the right point.

What dbadlib.c seems to have, is:
- timeout detection (I've got that hack too, sad they haven't made any
better)
- noteon detection and a few other stream tracing things for capturing
into DRO files
(may not be needed as my code can capture into wav)
- OPL models switching opl2/opl3 (may not be needed for sb16-only
emu, as mine is)
So basically I think we don't need dbadlib.c.

> But yes, dosbox used to have runtime selectable OPL (MAME, Ken
> Silverman, or DOSBOX), and then they dropped the (oldest) MAME one, so
> it's not surprising the API is similar.
Ken Silverman's adlibemu.c is stated to be 1998-2001, which
might be the oldest one here.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Dosemu-devel mailing list
Dosemu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dosemu-devel

Reply via email to