elKernelSnakeGame
elKernelSnakeGame copied to clipboard
用易語言做的一個辣鷄内核游戲 (不
elkernel - elfOS
An x86 toy OS implementation written in EPL.
Will support the following features in the future:
- [x] Kernel memory management
- [x] Interrupt handling
- [ ] VBE graphics
- [ ] Standard driver model
- [ ] File system model
- [ ] Posix-compatible syscalls
This project is forked from old branch snake, see in the branch snake.
Compile the kernel
For nightly build, please refer to the GitHub Action select latest successful build, then download the artifacts.
$ cmake . -B.build
$ cd .build && make
The el-buildtool docker image will be pulled automatically during the build, then compiling the kernel code without install the EPL environment on your host.
See more details in the el-buildtool repository.
How To Debug
Use QEMU to debug the kernel
@echo off
set PATH=%PATH%;YOUR_QEMU_INSTALLATION
qemu-system-i386 -gdb tcp::23333 -fda ./elf-fdd.img
Execute the batch file, then attach to the QEMU instance.
LICENSE
Licensed under the GPL v2 license with ❤️.