Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Sound channel 3 problems   Message List  
Reply | Forward Message #8671 of 15019 |
Arrgh!!!

Could anybody tell me what is the fraggin' problem with the sound
channel 3??? I've wasted a full day trying to make it work and all i
get is silence! What is very annoying is that all my emulators plays
the sound but not the real hardware!!! Here my code:

REG_SOUNDCNT_L=0xFF77; //all sounds to l&r output
REG_SOUNDCNT_H=0x02; //sound ratio=100%
REG_SOUNDCNT_X=0x008F; //turn on sound chip

REG_SOUND3CNT_L=0;

REG_WAVE_RAM0=0x01234567;
REG_WAVE_RAM1=0x89abcdef;
REG_WAVE_RAM2=0x01234567;
REG_WAVE_RAM3=0x89abcdef;

REG_SOUND3CNT_L=0x80; //sound 3 enable
REG_SOUND3CNT_H=0x2000; //sound 3 vol=max
REG_SOUND3CNT_X=0x8100; //sound 3 reset+freq

I'd like to mention that using -O2 optimizations with Gcc gave me
trouble with other sound channel because of instruction re-odering.
But I removed all optimization and I still have problems with chan 3.
Any help would be *greatly* appreciated, thanks!

Uze






Sun Dec 2, 2001 7:29 am

uze666
Offline Offline
Send Email Send Email

Forward
Message #8671 of 15019 |
Expand Messages Author Sort by Date

Arrgh!!! Could anybody tell me what is the fraggin' problem with the sound channel 3??? I've wasted a full day trying to make it work and all i get is silence!...
uze666@...
uze666
Offline Send Email
Dec 2, 2001
12:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help