Skip to content

nullpo-head/emcc-gaia-simu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.9%
  • C 33.8%
  • Assembly 11.8%
  • Makefile 0.5%