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.
To build lios
, you will need:
- clang
- llvm
- ld.lld
- nasm
Clone the repository and use make build
.
To actually run lios
, I recommend you use QEMU.
If you have QEMU
installed, you can run lios
with make run
.
- 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
The user shell currently only accepts two commands:
ALLOC-PAGE
, which allocates an aligned page of memory and returns the address.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.