Mkeykernel
A kernel that can read from keyboard and print on-screen
Install / Use
/learn @arjun024/MkeykernelREADME
mkeykernel
This is a kernel that can read the characters a-z and 0-9 from the keyboard and print them on screen.
See the repo mkernel which is a minimal kernel that prints a string on the screen. mkeykernel just extends this to include keyboard support.
Blog post
Kernel 201 - Let’s write a Kernel with keyboard and screen support
Build commands
nasm -f elf32 kernel.asm -o kasm.o
gcc -m32 -c kernel.c -o kc.o
ld -m elf_i386 -T link.ld -o kernel kasm.o kc.o
If you get the following error message:
kc.o: In function `idt_init':
kernel.c:(.text+0x129): undefined reference to `__stack_chk_fail'
compile with the -fno-stack-protector option:
gcc -fno-stack-protector -m32 -c kernel.c -o bin/kc.o
Test on emulator
qemu-system-i386 -kernel kernel
Get to boot
GRUB requires your kernel executable to be of the pattern kernel-<version>.
So, rename the kernel:
mv kernel kernel-701
Copy it to your boot partition (assuming you are superuser):
cp kernel-701 /boot/kernel-701
Configure your grub/grub2 similar to what is given in _grub_grub2_config folder of mkernel repo.
Reboot.
Voila!

Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
