Single no OS application to produce sounds

Maya
Hi All,

        Is there anyone who can help me creating a single application o0n
mini2440 to generate sounds? I just need a sample program in which the
correct settings for audio registers are mentioned. I am not able to
understand it from s3c2440 specifications.

For reference I have 128 MB mini2440 board.

Thanks
-Maya

brox
2440test has an audio example

Maya
Hello Brox,

      I know that 2440 test has an example. But it is complex as it has lot
of headers and source files. What I want is simple assembly program with no
other stuff in it. May be I am still naive to understand the code in
2440test.

Thanks
-R/\\/I-

brox
Basically you need 2440init.s and UDA1341.c (in Main() function just
replace last while() loop with single PlayMusicTest() call)
Then you try to compile and resolve all dependencies. Add needed headers
and Cut/Paste needed functions. Enjoy:)

brox
I forgot to mention main.c, from which you need Main() function. First,
comment out all other functions inside main.c, and add only needed ones
when you try to compile

Maya
Thanks Brox,

             This seems promising. I ll try this out and I feel this has
110% chances to work :)

Thanks