Skip to content

bolt-sys/bolt

Repository files navigation

Bolt

An operating system completely written from scratch in C, C++, Assembly and various other languages. depending on the needs of the project.

NOTE: This project is still in early development and is not ready for use.

This is a hobby project of mine to create a simple operating system from scratch.
The goal is to create a simple operating system that can be used to run simple programs.

Table of Contents

Getting Started

a lot of documentation is missing, but the build process is pretty simple:

Prerequisites

How to Build

Building over the project has been gotten simpler and easier with the introduction of Bazel.
You can build the project by running the following command:

# For an CD image
bazel build //image:cd

# The CD image will be located at bazel-bin/image/cd.iso

How to run / test

Running is done through QEMU, a virtual machine.
to run the project, run the following command:

qemu-system-x86_64 -cdrom bazel-bin/image/cd.iso -no-reboot -no-shutdown -s -S -serial stdio -d int -m 2G -vga std

Testing however is done on the host machine, and can be done by running the following command:

bazel test //...

Contributing

Contributions are welcome. Please read CONTRIBUTING.md for details on how to contribute.

Screenshots

We aren't there yet

Contributing

Contributions are welcome. Please read CONTRIBUTING.md for details on how to contribute.

License

This project is licensed under the MIT License - see the LICENSE file for details
TL;DR: Do whatever you want with it. Just don't blame me if it breaks your computer but credit me if you use it in your project.