This repository discovers extra potential on the CH32V003 RISC-V Game console. A link to the original repository is below. https://github.com/wagiminator/CH32V003-GameConsole
- Install MounRiver Studio and add the following to
PATH
:$(your_install_directory)/MounRiver_Studio/toolchain/RISC-V Embedded GCC 12/bin
- For
riscv-none-elf
compiler toolchain
- For
$(your_install_directory)/MounRiver_Studio/toolchain/Build Tools/bin
- For
make
tool
- For
- Open terminal in the corresponding game folder (e.g.
snakegame
) - type
make
on the terminal to make the executable for CH32V003 - flash the hex file into the game console (
CH32V003J4M6
) using WCH-LinkUtility (Windows
only) ortodo
- Have fun!
- the driver in
riscv/include
has been modified (compared to original implementation) to allow direct copy from the emulator to run the RISC-V controller - buzzer function plays real frequency in Hz
emulator/include
contains a port of theriscv/include
libraries which allows code using such libraries to run on desktop platforms for ease of debugging- Windows / MacOS are supported
- See emulator/README.md for more information.
- Usage:
make -f makefile-emulator
inside game directory.
- Contains an python script that faciliates game texture conversion from 128x64 png file to C-array which the OLED monitor accepts
- Original Repository: https://github.com/wagiminator/CH32V003-GameConsole
- WCH-LinkUtility.exe: https://www.wch.cn/downloads/WCH-LinkUtility_ZIP.html
- MounRiver Studio Installer: http://www.mounriver.com/download