Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🤿 Snorkel-OS

License: MIT Latest Release

Typing SVG

paull-kernel(kernel the Snorkel-OS) 32‑bit x86 kernel from scratch
Protected mode, hardware interrupts, syscalls, rings 0/3, command line.

Paull‑kernel shell

Build & Run

nasm -f bin boot.asm -o boot.bin
nasm -f bin kernel.asm -o kernel.bin
dd if=/dev/zero of=paull-kernel.img bs=512 count=2880
dd if=boot.bin of=paull-kernel.img bs=512 count=1 conv=notrunc
dd if=kernel.bin of=paull-kernel.img bs=512 seek=1 conv=notrunc
qemu-system-i386 -fda paull-kernel.img

Features

  • Protected mode (flat model, GDT, IDT)

  • Keyboard IRQ1 with scancode → ASCII

  • System calls int 0x80 (write, exit, getchar)

  • Command line with backspace, Enter

  • Magic sequences: hew → hello world, bye → goodbye cruel world, tu → Hello 231(tu)

  • Ring 3 switch on F1 with syscall demo

  • sudo reboot (password: admin)

Roadmap

  • FAT32 driver (read‑only)

  • Round‑robin multitasking

  • Paging (identity mapping)

  • 64‑bit long mode

Questions?

Join Discussions or open an Issue.

🔗 Author: Paullknya

💬 Community forum: paullknya.github.io/

About

Simple kernel for Intel x86, A 32‑bit x86 operating system kernel written in NASM and C (protected mode, syscalls, rings 0/3, command line)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages