Skip to content
barlasardicPublic

About

A tiny kernel that i wrote

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

My Kernel Project

A simple hobby kernel written in C++ and x86 assembly.

Features

  • Basic C++ runtime support (constructor calls)
  • Makefile build system for ISO generation
  • Works with VirtualBox or QEMU

Prerequisites

Make sure you have the following tools installed on your system:

  • gcc-multilib / g++-multilib (32-bit cross compilation)
  • nasm (for assembly files)
  • make
  • qemu or VirtualBox (to test the ISO)

i wrote this project in arch so here is a breakdown for build and running in especially arch but the other distros must work same.

On Arch Linux:

sudo pacman -S base-devel gcc-multilib nasm qemu virtualbox

Build and Run

  • 1.Build the ISO image:
make mykernel.iso
  • 2.Run in VirtualBox (VM must have ISO attached):
make run
  • 3.Optional: Run with QEMU: (i recommend virtualbox)
qemu-system-i386 -cdrom mykernel.iso

Note: Generated files like .o, .bin, .iso are ignored in the repository (.gitignore).

This project is licensed under the MIT License - see the LICENSE file for details.

enjoy <3

About

A tiny kernel that i wrote

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages