/chip8-typescript

Chip8 emulator written in typescript

Primary LanguageTypeScript

Chip8 Emulator

A chip8 emulator written in TypeScript.

https://krisselden.github.io/chip8-typescript/

Code is very approachable for learning but optimizes well.

GC does not pause because the heap is simple, largely only used by postMessage. Even a Major GC is < 0.1 ms.

VM runs in a Web Worker, uses an Oscillator and screen is scaled on the GPU so it only has to draw the Chip8 native 64 x 32.

TODO: buffer changes in pixels to eliminate XOR flicker