Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

nicknytko/toy-x86-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

x86-thing

Basic "kernel" written in c and x86 assembly.

Partial documentation can be found here.

feature list

  • enable a20 gate
  • load GDT table
  • load interrupt table
  • video (text) driver
  • serial driver
  • PIT timer
  • kernel panic
  • memory paging
  • kmalloc
  • keyboard driver (somewhat)
  • frame allocation
  • virtual file system

will add more stuff as i think of it

compiling

make

running

make sure x86 qemu is installed

cd bin
./run

debugging

to run qemu in debug mode

cd bin
./debug

to start gdb

cd bin
./gdb

About

toy x86 kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published