The master used Scratch to run the RISC-V simulator and successfully ran the Linux kernel

I was just surfing the Internet and was shocked by a project - an emulator that successfully runs the Linux kernel written entirely in Scratch code.

Scratch is a visual programming language development platform based on building blocks. Programming is completed visually by clicking and dragging.

The author said that he used Scratch to write the RISC-V (rv32ima) instruction set, and then used it as an emulator to run the Linux 6.1 kernel. The simulator is built based on the mini-rv32ima simulator implemented in pure C. 

via https://scratch.mit.edu/projects/892602496

The following is a screenshot of the project running:

Guess you like

Origin www.oschina.net/news/262163/scratch-risc-v