Jeroen T jeroen_t@hotmail.com wrote:
Hi.
I tried everything. Make all memory zero which is allocated. use calloc instead of malloc, change to FPM_64BIT and back to FPM_DEFAULT. Changing optimization. Everytime I get the same picture. Nothing helps...
Did you try looking at the waveform in the middle of the file ? ie is the strange modulation only at the start (first few frames) of the decoded output, or all the way through ??
Somebody knows a free MIPS VR4111 C compiler?
Yes, gcc !!!
You could build your own, but to save hassle I would recommend that you try one of the precompiled versions available for MIPS. I've personally used the version available from http://www.algor.co.uk although its certainly not the only choice.
Beware that the assembler and object file formats used by gcc may not be the same as those used by ghs, so combining a gcc compiled version of libmad with your existing ghs compiled C runtime environment (startup files, RTOS etc) may not be entirely straightforward... :-)
Andre --
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com