nullpo-head / emcc-gaia-simu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emcc-gaia-simu

This is a modified version of GAIA CPU simulator buildable with Emscripten.
You can run the xv6 port to GAIA in Javascript environment.

Try it online at https://nullpo-head.github.io/emcc-gaia-simu/xv6.html.

GAIA?

GAIA is a CPU architecture we designed at the student experiment at The University of Tokyo.
To see the detail, visit https://github.com/wasabiz/gaia3
The original GAIA CPU simulator is at https://github.com/b-inary/gaia-software

XV6?

A small Unix like OS for education created by MIT.
We ported xv6 to GAIA and created C89 compiler.
To see the detail, visit https://github.com/wasabiz/xv6
The site of original xv6 is at http://pdos.csail.mit.edu/6.828/2014/xv6.html

Build instruction

Native Binary

make CC=gcc

And to run,

./sim xv6.img

JS Version

Just run

make

and you can run sim.js with node by

node sim.js xv6.img

About


Languages

Language:Python 53.9%Language:C 33.8%Language:Assembly 11.8%Language:Makefile 0.5%