4 ms·
How long did it take to make? I been thinking about writing my own emulator in JavaScript for a while now. I know there's a lot of great projects out there, but
by atum47 7y ago
How long did it take to make? I been thinking about writing my own emulator in JavaScript for a while now. I know there's a lot of great projects out there, but I like to make one myself.
- eatonphil 7y agoThe first emulator I wrote in JavaScript for a subset of x86 took a couple hours (maybe 4-6) over the weekend before I could run a `int main() { return 1 + 3; }` program. Like others have mentioned the GB takes longer before you get to the point of something you can see working.
- Macha 7y agoDepends how accurate you want to get. Getting an implementation of the CPU instructions in a high level language with instruction level accuracy and approximately correct timings is a weekend or two project. Going for extra components like the graphics or audio support, or higher accuracy in terms of cycle counts and timing can make it a lot longer.