How to write a virtual machine [closed]

最后都变了- 提交于 2019-12-21 05:05:24

问题


I would like to learn how to write a small emulator/virtual machine. Does anyone know a good tutorial or a simpler project than qemu/virtualbox?

Thx


回答1:


Check out my tutorial on how to write your own virtual machine from scratch at http://www.icemanind.com

Its a complete tutorial that will walk you through building a virtual machine and assembler in C#.




回答2:


Anthony Green did a blog series on coming up with an instruction set, porting binutils, gcc, newlib and so on, as well as setting up sim, and qemu to emulate a machine with this new instruction set. The posts (and patches) are all linked from http://atgreen.github.io/ggx/. There are a handful of posts that aren't linked from there about various tangential issues.



来源:https://stackoverflow.com/questions/2598675/how-to-write-a-virtual-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!