All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OPL4 support
@ 2003-03-24  8:39 Clemens Ladisch
  2003-03-24  9:31 ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2003-03-24  8:39 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1948 bytes --]


This adds support for the mixer and wavetable synthesizer of OPL4 chips.

The OPL4 can be used with OPTi 82C928/Mozart, 82C929 and 82C924 cards
(82C925 and 82C93x have an integrated OPL3 and don't support an external
OPLx chip).

Added/changed files:
+++ new/alsa-driver/include/amagic.h    Sun Mar 23 22:40:20 2003
+++ new/alsa-driver/include/opl4.h      Sun Mar 23 22:59:40 2003
+++ new/alsa-driver/isa/Makefile        Sun Mar 23 23:01:54 2003
+++ new/alsa-driver/isa/opl4/Makefile   Sun Mar 23 23:06:42 2003
+++ new/alsa-driver/isa/opl4/opl4_lib.c Sun Mar 23 22:58:46 2003
+++ new/alsa-driver/isa/opl4/opl4_local.h       Sun Mar 23 22:58:51 2003
+++ new/alsa-driver/isa/opl4/opl4_mixer.c       Sun Mar 23 22:58:55 2003
+++ new/alsa-driver/isa/opl4/opl4_proc.c        Sun Mar 23 22:59:01 2003
+++ new/alsa-driver/isa/opl4/opl4_seq.c Sun Mar 23 22:59:04 2003
+++ new/alsa-driver/isa/opl4/opl4_synth.c       Sun Mar 23 22:59:06 2003
+++ new/alsa-driver/isa/opl4/yrw801.c   Sun Mar 23 22:59:10 2003
+++ new/alsa-driver/isa/opti9xx/opti92x-ad1848.c        Sun Mar 23 22:44:41 2003
+++ new/alsa-driver/utils/Modules.dep   Sun Mar 23 22:46:55 2003
+++ new/alsa-kernel/drivers/opl3/opl3_lib.c     Sun Mar 23 22:48:31 2003
+++ new/alsa-kernel/drivers/opl3/opl3_seq.c     Sun Mar 23 22:49:42 2003
+++ new/alsa-kernel/drivers/opl3/opl3_synth.c   Sun Mar 23 22:51:53 2003
+++ new/alsa-kernel/include/opl3.h      Sun Mar 23 22:56:18 2003
+++ new/alsa-kernel/isa/opti9xx/opti92x-ad1848.c        Sun Mar 23 22:36:07 2003

The changes in alsa-kernel/.../opti92x-ad1848.c are protected by the
USE_OPL4 symbol which is defined in alsa-driver/.../opti92x-ad1848.c.

The changes in alsa-kernel/drivers/opl3/*.c involve modifications of the
OPL3's mode register which would clear the NEW2 bit (which enables OPL4
registers). Those register writes had been used to restrict the OPL3 to
OPL2 compatibility, which IMHO isn't necessary, so I removed them. :)


Clemens

[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 22634 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] OPL4 support
  2003-03-24  8:39 [PATCH] OPL4 support Clemens Ladisch
@ 2003-03-24  9:31 ` Jaroslav Kysela
  2003-03-24  9:33   ` Clemens Ladisch
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2003-03-24  9:31 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel@lists.sourceforge.net

On Mon, 24 Mar 2003, Clemens Ladisch wrote:

> 
> This adds support for the mixer and wavetable synthesizer of OPL4 chips.
> 
> The OPL4 can be used with OPTi 82C928/Mozart, 82C929 and 82C924 cards
> (82C925 and 82C93x have an integrated OPL3 and don't support an external
> OPLx chip).

Is there any reason why this code is in isa/opl4? The code looks generic, 
so we can put it to drivers/opl4 as well.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] OPL4 support
  2003-03-24  9:31 ` Jaroslav Kysela
@ 2003-03-24  9:33   ` Clemens Ladisch
  2003-03-24  9:49     ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2003-03-24  9:33 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: alsa-devel@lists.sourceforge.net

Jaroslav Kysela wrote:
> On Mon, 24 Mar 2003, Clemens Ladisch wrote:
> > This adds support for the mixer and wavetable synthesizer of OPL4 chips.
> >
> > The OPL4 can be used with OPTi 82C928/Mozart, 82C929 and 82C924 cards
> > (82C925 and 82C93x have an integrated OPL3 and don't support an external
> > OPLx chip).
>
> Is there any reason why this code is in isa/opl4? The code looks generic,
> so we can put it to drivers/opl4 as well.

The OPL4 has never been used except with the above ISA cards AFAIK.
Anyway, either directory is fine with me.


Regards,
Clemens




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] OPL4 support
  2003-03-24  9:33   ` Clemens Ladisch
@ 2003-03-24  9:49     ` Takashi Iwai
  2003-03-24 16:36       ` Clemens Ladisch
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2003-03-24  9:49 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: Jaroslav Kysela, alsa-devel@lists.sourceforge.net

At Mon, 24 Mar 2003 10:33:12 +0100 (MET),
Clemens Ladisch wrote:
> 
> Jaroslav Kysela wrote:
> > On Mon, 24 Mar 2003, Clemens Ladisch wrote:
> > > This adds support for the mixer and wavetable synthesizer of OPL4 chips.
> > >
> > > The OPL4 can be used with OPTi 82C928/Mozart, 82C929 and 82C924 cards
> > > (82C925 and 82C93x have an integrated OPL3 and don't support an external
> > > OPLx chip).
> >
> > Is there any reason why this code is in isa/opl4? The code looks generic,
> > so we can put it to drivers/opl4 as well.
> 
> The OPL4 has never been used except with the above ISA cards AFAIK.
> Anyway, either directory is fine with me.

i vote for drivers/opl4, too, because the brother opl3 is already
there, so it would be easier to find.

(i also don't know any pci (or other bus) cards with opl4, though...)


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] OPL4 support
  2003-03-24  9:49     ` Takashi Iwai
@ 2003-03-24 16:36       ` Clemens Ladisch
  0 siblings, 0 replies; 5+ messages in thread
From: Clemens Ladisch @ 2003-03-24 16:36 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel@lists.sourceforge.net

Takashi Iwai wrote:
> (i also don't know any pci (or other bus) cards with opl4, though...)

The marketing for the ALS4000 claims it's "compatible with the Yamaha OPL4
wavetable synthesizer", but, judging from the manual, this is a lie. :(


Clemens




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-24 16:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24  8:39 [PATCH] OPL4 support Clemens Ladisch
2003-03-24  9:31 ` Jaroslav Kysela
2003-03-24  9:33   ` Clemens Ladisch
2003-03-24  9:49     ` Takashi Iwai
2003-03-24 16:36       ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.