Hmm... well in that case I think I might have something you can use.

It's a little demo I made just for fun some time ago using Delphi & DelphiX. Should be no problem porting it to FPC & GBA/NDS. Maybe you can use it as a GBA demo then enhance it further for the NDS.

It'll give me some idea of what I'd be dealing with should I eventually look at porting Garland to a handheld console.