Here is my 1802js emulation library for the RCA’s COSMAC CDP1802 CPU.

I recently added support for this CPU into my online assembler / IDE ASM80.com. 1802js is the emulation library, with the same API as my other emulators has.

Go and grab it here, it’s under MIT license: 1802js (GitHub)