Skip to content

VoltagedDebunked/lambdaOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The LambdaOS Operating System

Welcome to the LambdaOS project repository.

This is a hobby x86-64 Operating System developed by me, with the help of a few other people (read NOTICE).

It currently uses:

  • Grub2 Bootloader
  • Multiboot 1 boot specification
  • Makefile for build system
  • NASM and the standard GCC toolchain

Steps to compile

Make sure you have the following:

  • Standard GCC toolchain (provided by a package manager, this setup is mostly for Linux and it's distributions)
  • NASM (Netwide Assembler)
  • Grub tools (such as grub-mkrescue)
  • mtools (required for grub-mkrescue)
  • xorriso (required for grub-mkrescue)
  • GNU Make (For build system)
  • GNU Linker

Then, run:

make

If you want to add extra compile flags (CFLAGS), run:

make ECFLAGS=""

Put any extra compiler flags you need inside the parentheses.

This will compile the project into an ISO file, suitable for booting using BIOS (not UEFI).

Running the ISO

Make sure you have the following:

  • QEMU (for emulation, usually installed fully, including the GUI and qemu-system-x86_64)

Then, run:

make run

This will run QEMU with the ISO.

Debugging

Make sure you have the following:

  • Gnu GDB

Then, run:

make run-gdb

And in another terminal:

gdb build/kernel.bin

Extra

This project is very early in development, but I hope to extend it soon. Thanks to everyone who checked out this project, it means a lot!

About

Welcome to the LambdaOS project repository.

Topics

Resources

Stars

Watchers

Forks

Languages