rcore-os / rCore-Tutorial-Book-v3

A book about how to write OS kernels in Rust easily.
https://rcore-os.github.io/rCore-Tutorial-Book-v3/
GNU General Public License v3.0
1.13k stars 211 forks source link

rCore-Tutorial-Book-v3/chapter9/0intro #130

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

引言 — rCore-Tutorial-Book-v3 3.6.0-alpha.1 文档

https://rcore-os.github.io/rCore-Tutorial-Book-v3/chapter9/0intro.html

wakk3107 commented 2 years ago

请问一下,为什么make run没显示红框那个窗口

Aeolusw commented 1 year ago

在ch9的commit记录中找到了未删除qemu的图形显示相关参数的提交:214898c 能正常运行gui_snake程序,注意窗口焦点要在命令行终端,程序才能收到wasd的输入

chestNutLsj commented 9 months ago

从上图的左上角可以看到为应用程序增加了 GUI 相关的新系统调用

lighkLife commented 8 months ago

使用 qemu 的 GUI 功能前,需要先安装其 gui 模块,否则不会有图形显示窗口

sudo apt install qemu-system-gui
KouweiLee commented 8 months ago

希望再出一个virtio-net的教程

TL-SN commented 5 months ago

编译qemu的时候加上 --enable-sdl 就可以生成支持gui的qemu-system-riscv64了