Skip to content

Modified and more documented version of the Anshul Rajan kernel for educational purposes.

License

Notifications You must be signed in to change notification settings

Reymon-Real/Kernel-learning

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kernel

Writing a kernel from scratch is to print something on screen. Using a VGA(Visual Graphics Array), a hardware system that controls the display. We will use GNU GRUB to load our kernel because it supports a multiboot of many operating systems.

Requirements

  • GNU/Linux
  • Assembler - I am using Flat Assembler (FASM) to instruct the bootloader for loading the starting point of our kernel.
  • GCC - GNU Compiler Collection a cross compiler. A newer version of GCC. I am using 13.3.0 version of GCC.
  • Xorriso - A package that creates, loads, manipulates ISO 9660 filesystem images.(man xorriso)
  • grub-mkrescue - Make a GRUB rescue image, this package internally calls the xorriso functionality to build an iso image.
  • QEMU - Quick EMUlator to boot our kernel in virtual machine without rebooting the main system.

Output

Screenshot 2023-04-23 205840

Screenshot 2023-04-23 205707

Screenshot 2023-04-23 205812

About

Modified and more documented version of the Anshul Rajan kernel for educational purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 80.7%
  • Makefile 11.5%
  • Assembly 7.8%