Any plan to write some tutorials to explain how v86's components work?
I think v86 was written so well to read, but sometimes I can not figure out how things work especially by referencing some Intel Manuals.
It would be very nice if someone can write some technical tutorials on this project, or write down some comments in the code.
I think this is a good idea. Something I've had in mind is to annotate the code with the corresponding sections from the Intel manuals and then generate (using a tool like docca or similar) a browsable version with links from the code to the manual and vice versa.
I don't have the time right now to build a tool to generate the annotated code, but if someone does that part I'd happily annotate the code.
Questions in issues are also welcome.
Seems so cool.
I'll reopen, it's not done yet.
Better late than never, here are some wip docs: https://github.com/copy/v86/blob/master/docs/how-it-works.md (questions/feedback welcome)
This is excellent @copy! Currently working on a project that uses this and snaplet/postgres-wasm really heavily -- still in proof-of-concept phase, but I've been digging into this project a lot and these new docs have been a boon today.
I was looking at the in-progress PR for TS support, which provided an excellent guide to the constructor's params -- my major feedback is that I'd really appreciate a description of the API options for the emulator, and a description/list of the events that it's possible to subscribe to.
Thanks so much for your years of work on this project! :)