The Null Device

2007/4/11

Someone has written a JavaScript-based 6502 assembler and emulator. The system compiles 6502 assembly language into JavaScript, includes a (low-resolution) emulated video display, and is powerful enough to play simple games like Pong (included in the examples).

In other 6502-related news, here is a commented disassembly and detailed analysis of Rob Hubbard's music playing code, as seen in numerous Commodore 64 games of the 1980s (and later ripped off by crackers and demo scenesters). If there was a museum of feats of 8-bit computing, this routine would be sitting in a prominently placed glass case in one of its wings.

(via jwz, c64music) 6502 8-bit assembly language c64 chiptunes emulation hack value javascript music retrocomputing tech 2