Also check out WasmBoy / VaporBoy projects for Nintendo GameBoy emulation on the web. The goal here is not just preservation of retro culture. But wholesale extending the platform for a new generation. New demos, speedruns, multiplayer, etc.
Edit: This[1] is a pretty good tutorial, and the compiler being used is available for linux too.
[1]http://nintendoage.com/pub/faq/NA/index.html?load=nerdy_nigh...