DefenderDS was intended to be a port of an Amiga version of Defender to the DS, written using PALib in C++.
There isn’t an awful lot here yet, but someone might find it useful (it has a sprite class, palette cycler class, sprite number management, etc).
http://palib.info/forum/modules/newbb/viewtopic.php?topic_id=3842&forum=9