Show HN: Our space game has a built-in RISC-V emulator that runs Linux
Trending on Hacker News: Show HN: Our space game has a built-in RISC-V emulator that runs Linux (59 points / 25 comments, via againstallodds.games)
In one line
We are a small, independent game studio, currently working on our first game.
Opening excerpt
You may already know that our game SEEDS includes a fully emulated Linux system, which runs our in-game tools for the player. For example, if they are accessing the planetary overview and stats through the program selector on the computer in the homebase, these apps are native Linux programs. Even if you’re playing the game on a Windows machine, these ELF binaries are executed on this emulated RISC-V 64-bit system running the Alpine Linux distribution.
I want to take the opportunity to let you peek behind the curtains and tell you a bit about our emulator. It is powered by our in-house PasRISCV project, which is programmed in Object Pascal and accessible to everyone as free open-source software (FOSS). You’re invited to check out its sources and maybe even make use of it. PasRISCV and its frontend companion pasriscvemu are licensed under the permissive zlib license .
First, there are two ways we could have done this: emulating only the userspace, or emulating a complete virtual machine.
(Excerpted from the original; full article via the source link below.)
This story hit the Hacker News front page today (59 points / 25 comments, via againstallodds.games). Our Tech Radar aggregates daily signals on AI engineering, backend architecture and DevOps — browse the related services and further reading below, or get in touch with our team.
Source: Hacker News