Skip to content

alidiusk/lios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lios

lios demo

This is a custom 32bit operating system made from scratch named lios. Its implementation is inspired by the renowned guide OS Tutorial that walks individuals through making their own OS from scratch.

Building

To build lios, you will need:

  • clang
  • llvm
  • ld.lld
  • nasm

Clone the repository and use make build.

Running

To actually run lios, I recommend you use QEMU.

If you have QEMU installed, you can run lios with make run.

Features

  • Boots from scratch
  • 32-bit
  • Handles keyboard interrupts and thus can accept user input
  • Can print output to screen
  • Basic libc implementation
  • A simplistic user shell
  • Memory allocation

Usage

The user shell currently only accepts two commands:

  1. ALLOC-PAGE, which allocates an aligned page of memory and returns the address.
  2. END, which halts the CPU.

This OS is not usable for anything productive. It was produced as a learning exercise. Feel free to consult it if you find any of the code helpful. I highly recommend the guide OS Tutorial that it was based off of.

Licensed under GLPv3.

About

A custom OS made from scratch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published