Mednafen (http://mednafen.sourceforge.net) emulates both systems. I don't think anyone has packaged it for Maemo yet, but it should be pretty straightforward to compile it yourself...