3 ms·
If you'd like to write a PC-emulator in Javascript I can only tell you good-look. It can be done, it has been done for example <https://www.pcjs.org/> https://
by stevekemp 7y ago
If you'd like to write a PC-emulator in Javascript I can only tell you good-look. It can be done, it has been done for example <https://www.pcjs.org/> https://www.pcjs.org/>, but it will require the kind of low-level PC hardware knowledge which takes a while to come together.
Yes you'll need interrupts, but you'll need a hell of a lot more than that! If you're interested in learning about emulation then start with chip-8, or a similar simple system. Once you've done that you'll become much more aware of all the parts you're not aware of.
But seriously this is a lot of work, rewarding work, commercially useful work, but a throwaway comment "Lets do this in javascript with <canvas>" is a significantly understated commen suggests to me you don't understand the scope of what you're proposing - not that this should stop you, it would be rewarding. It's just a fine line between pondering "What if ..?" and being insulting to Terry.