An x86 toy kernel implementation written in EPL.
- Need WSL(Windows Subsystem with Linux) environment
- gas >=
v2.31.1 x86_64-linux-gnu (WSL)
- gld >=
v2.31.1 x86_64-linux-gnu (WSL)
- objcopy >=
v2.31.1 x86_64-linux-gnu (WSL)
- 易語言 >=
v5.5
- Visual Studio 2017 or greater
- Open
source/elkernel.e
in the IDE - Compile the code via 'Statically Compile(靜態編譯)'
- Compiler fails with a Win32 COFF file, Do not delete it.
- Open
build/elKernel.sln
in the Visual Studio - Set
floppy.mk
as startup project - Build (Ctrl+Shift+B)
Use QEMU to debug the kernel
@echo off
set PATH=%PATH%;YOUR_QEMU_INSTALLATION
qemu-system-i386 -gdb tcp::23333 -fda ./elkernel.img
Execute the batch file, then attach to the QEMU instance.