All Projects → racerxdl → riscv-emulator

racerxdl / riscv-emulator

Licence: Apache-2.0 license
Golang RISC-V emulator that can play DOOM

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

RISC-V Emulator

A toy Golang RISC-V emulator that can play DOOM

For now it uses smunaut bootloader and riscv_doom from the ICE40 project.

But since there is no M extensions on this emulator, the CFLAGS in makefiles should be changed to use the non-M version

CFLAGS=CFLAGS=-Wall -march=rv32i -mabi=ilp32 (...)

The emulator is made to be used headless synchronously or assyncronously and easy to make new peripherials for it. I still need to do some documentation but you can see the doom example at cmd/ui.

DOOM

When starting the UI mode, the following keyboard keys controls the flow:

  • C => Continue emulation
  • P => Pause emulation
  • S => Step instruction
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].