I use MameXM on my Nokia 5800 that uses an old MAME version for similar reasons. But I think the 5800 has a more powerful cpu than the DS. This must be why the French emu (link above) uses custom code and only has a few games available. Anyway, I think a lot of classic games were released for the GBA and there are a few arcade compilations for the DS. I just can't help trying to put MAME on every device I have .
EDIT: Found this ...
Quote:
DSTWO- MAME MAME4ALL DsTWO is a port of MAME 0.37b5 emulator (originally by Nicola Salmoria) for the Nds with Supercard DSTWO. Date Updated:2010-10-27 Download | Details
This is possible on the Supercard DSTWO flash cart because it has a built in CPU.