Skip to content
/ SysR Public

emulate hardware(CPU, IO, Memory) and implement software(OS, Compiler) in rust

License

Notifications You must be signed in to change notification settings

Qi-Zhan/SysR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System-R

A learning and just for fun computer system emulator project inspired by nemu.

We aim to implement almost everything in a computer system, including CPU, Memory, IO, OS, Compiler etc.

Architecture

+-----------------+   +-----------------+   +-----------------+
|                 |   |                 |   |                 |
|   Application   |   |   Application   |   |   Application   |
|    compiler     |   |                 |   |                 |
+-----------------+   +-----------------+   +-----------------+
|                 |   |                 |   |                 |
|      ABI        |   |      ABI        |   |     ABI         |
|    syscall      |   |     syscall     |   |    syscall      |
+-------------------------------------------------------------+   
|                                                             |
|                      Operating System                       |
|                           ROS                               |
+-------------------------------------------------------------+
|                                                             |
|                      Abstract Machine                       |
|                           RAM                               |
+-------------------------------------------------------------+
|                                                             |
|                    (CPU, IO, Memory)                        |
|                          REMU                               |
+-------------------------------------------------------------+

See details in README.md in each directory.

Abstract Machine Example

A simple typing game: sdl

make play # sdl is required

OS Example

A simple OS run on REMU based on RAM: asciicast

make run

About

emulate hardware(CPU, IO, Memory) and implement software(OS, Compiler) in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published