This is a classic game originally by Windmill Software. You have to dig around the map and eat all the emeralds or kill all the hobbins/nobbins to pass a level.

Changes:

Fixed a memory leak in sdl_vid.c, vgawrite function. It should no longer crash after 10 minutes.

http://gtamp.com/DS/diggerds.php