Show HN: Our space game has a built-in RISC-V emulator that runs Linux
Hacker News 热议:Show HN: Our space game has a built-in RISC-V emulator that runs Linux(59 赞 / 25 评论,来源 againstallodds.games)
一句话概要
We are a small, independent game studio, currently working on our first game.
原文开头节选
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.
(以上为原文节选,完整内容见下方”原文来源”)
这条动态今日登上 Hacker News 首页(59 赞 / 25 评论,来源 againstallodds.games)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。
原文来源: Hacker News