gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Newbie wants to loop tunes in the background

#4223 - yann_p - Mon Mar 24, 2003 2:40 pm

Hi, I'm new to GBA Development so please be patient and use simple words.

I'm getting to grips with sprites and tiles but I am having trouble setting up looping tunes. I've seen lots of examples that have foreground while loops checking for timers to expire but I'm not sure how to run those checks in the background.

Any examples / comments would be really helpful, cheers,

Yann.

#4228 - Psyk - Mon Mar 24, 2003 7:18 pm

you'll have to use interupts. Check out dovoto's tutorial (there's a link in the docs section of this site) and everything is explained in that.