{"repo":"LeoRiether/FPGRARS","free":true,"listed":false,"github":"https://github.com/LeoRiether/FPGRARS","clone":"git clone https://github.com/LeoRiether/FPGRARS.git","description":"A RISC-V simulator with built-in graphics display and keyboard input","language":"Rust","stars":55,"topics":["cli","emulator","risc-v","rust"],"license":"MIT","category":"cli-tools","readme_excerpt":"FPGRARS Fast Pretty Good RISC-V Assembly Rendering System (name may change at any moment) FPGRARS is a RISC-V assembly simulator with a graphics display window and keyboard input, similar to RARS, but 200 times faster. If you want to run RISC-V assembly programs easily, learn assembly language, or even build a game, FPGRARS is a great option! (and if it isn't for you please open an issue :) Running FPGRARS First, head over to the latest release and download the appropriate executable. Then, you can run a RISC-V assembly file either by running ./fpgrars your riscv file.s in a terminal or by dragging the .s onto the executable. If you're on Linux, you might need to chmod +x fpgrars-x86 64-unknown-linux-gnu for FPGRARS to work. If you have the Rust toolchain installed, you can also download FPGRARS by running cargo install fpgrars . You may also want to check out Getting Started for a more detailed guide. Documentation Still in construction at https://leoriether.github.io/FPGRARS/ Supported ecalls Description a7 Input Output ------------- ---- ------- -------- Print integer 1 a0 = integer to print Print float 2 fa0 = float to print Print string 4 a0 = address of the string Read int 5 a0 = the read integer Read float 6 fa0 = the read float Sbrk 9 a0 = bytes to allocate ( = 0) a0 = address of the allocated chunk Exit 10 Stop execution 110 Print char 11 a0 = the char Time 30 a0 = low bits of milliseconds since unix epoch, a1 = high bits Midi out 31 a0 = pitch (note), a1 = duration ","default_branch":null,"files":null,"tree":[],"storefront":"/r/LeoRiether","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LeoRiether/FPGRARS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}