Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-14 Thread Chris Baugher
On Sat, 13 Oct 2001, CeDeROM wrote: > Hi! > > I see, that this subject is good for biig discussion :] Looks like it. > I've read all informations... I'm sure they will help me - as I'm just a > begginer in that subject. > > 1. There is no problem to write it in C. I just used to assembler, and

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-13 Thread CeDeROM
Hi! I see, that this subject is good for biig discussion :] I've read all informations... I'm sure they will help me - as I'm just a begginer in that subject. 1. There is no problem to write it in C. I just used to assembler, and so thought that such simple program could be written in asm - nei

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-13 Thread CeDeROM
Hi! Patrick Ohiomoba wrote: > > That you can't buy this is no excuse as it's online on the O'Reilly site > (the entire book is online in pdf and html formats). Whoah, I didn't know that! > Don't you love linux/ open source?? Yes, I have to admit that day by day I love it more :) Tanks! CeDeR

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-13 Thread Erik Mouw
On Fri, Oct 12, 2001 at 08:27:30PM +0200, CeDeROM wrote: > Paul Davis wrote: > > Linux runs on at least a dozen h/w platforms. AFAIK, no device driver > > directly includes assembler, and if they do, they are unlikely to be > > part of the mainstream kernel. They certainly wouldn't be part of > >

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-13 Thread Jussi Laako
Paul Davis wrote: > > it would probably be almost exactly the same unless you were either a > very bad C programmer or an exceptionally good (and obscure) assembler > programmer. I got nice speedup to my FIR code by using inline assembler for e3dnow optimized version... Will see how much improve

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-13 Thread Jussi Laako
CeDeROM wrote: > > The speed is critical - I have to generate a signal of frequency more > than 1MHz I think you should consider using RT-Linux where you can make your realtime task run at predefined scheduling rate. Schduling rate of 1 MHz is quite high, interrupt latency and scheduling jitte

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-12 Thread Michael Ashton
On Fri, Oct 12, 2001 at 07:43:04PM +0200, CeDeROM wrote: > I made such circuit on AT89C52 microcontroller, but chip is too slow for > that job. Odd .. I'd expect you could get away with using a timer or something, but those timers may not be very good at PWM generation .. > So I've diecided to u

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-12 Thread Paul Davis
>> Linux runs on at least a dozen h/w platforms. AFAIK, no device driver >> directly includes assembler, and if they do, they are unlikely to be >> part of the mainstream kernel. They certainly wouldn't be part of >> ALSA, I would hope. >> > >a part of assembly-howto :) [ ... example elided ...

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-12 Thread Patrick Ohiomoba
That you can't buy this is no excuse as it's online on the O'Reilly site (the entire book is online in pdf and html formats). Don't you love linux/ open source?? > > > See "Linux Device Drivers" by Rubini, A., published by O'Reilly. (...) > > I would really love to, but i have no ability to buy

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-12 Thread CeDeROM
Hi! Paul Davis wrote: > > Linux runs on at least a dozen h/w platforms. AFAIK, no device driver > directly includes assembler, and if they do, they are unlikely to be > part of the mainstream kernel. They certainly wouldn't be part of > ALSA, I would hope. > a part of assembly-howto :) Meanwhi

Re: [Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-12 Thread Paul Davis
>I made such circuit on AT89C52 microcontroller, but chip is too slow for >that job. >So I've diecided to use PC as a "fast microcontroller". >But why not to write kernel module - the PC would stand on Linux. > >So I have to write special driver for this amplifier. >I think that writting it in ass

[Alsa-devel] D-CLASS amplifier module for ALSA

2001-10-12 Thread CeDeROM
Hi! I'm making D-CLASS amplifier for Linux platform... I have to connect computer to radio at school, that would play music on breaks. The computer would be connected to a radio speakers-network thru a D-class amplifier built on few mosfet transistors and output power of few hundred of watts. Tha