Nice work! I’ve been looking for a x86 virtual machine that is similar to SPIM where I can either enter code line by line or via a file. The v86 project has caught my eye but it’s not quite what I want. Any suggestions?
What are you missing about v86? What you want could probably be done if you bring your own assembler (for example by porting NASM using emscripten) and we export some internal apis from v86.
I was hoping for an interface where I can see the registers, flags, memory, etc. in real time along with the .text history, similar to this.