There's a bunch of java applets that do this (popular hobby project I guess), and one commonality among them always bothered me: Why don't they make the screen bigger? Not that much of a performance hit.
<canvas width="256" height="240" style="width:512px;height:480px"></canvas>