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.

Beginners > Could I mess up my GBA

#33844 - Grandtrain - Sun Jan 09, 2005 10:28 pm

I just brought a flash cart just so I can try out gba development. Right now, though, I'm worry that I could mess up my gba or cart while debugging. So, is there anything like memory leaks that I should be concern about that and test out completely before trying it out on the gba?

#33868 - DekuTree64 - Mon Jan 10, 2005 5:18 am

Generally no, you can't hurt your GBA through code.
The only danger I can think of is that I've heard you can blow out your speaker by fiddling with the sound bias register (basically causing a really loud click). I've never heard of it actually happening to anyone though, and normally there's no need to change it anyway.
_________________
___________
The best optimization is to do nothing at all.
Therefore a fully optimized program doesn't exist.
-Deku

#33873 - tepples - Mon Jan 10, 2005 5:32 am

The loud click of suddenly changing the bias register is no louder than each edge of a half-scale (-64..64) PCM square wave. Before the PCM FIFOs were reduced to a simple explanation, there were demos that played (unsigned 9-bit) audio through DMA to the bias register.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.