dcpu16.js
dcpu16.js copied to clipboard
100% CPU usage
As soon as I load up the page, my fans start spinning, and htop reports the emulator is hogging one of my cpus. Is it tightlooping somewhere?
Every 16ms it performs 1000 single-cycle instruction decodes to simulate a 62.5kHz machine so it's hitting the CPU pretty hard. Chrome performs much, much faster than Firefox, though.
I may take a look at making this a little lighter...