c5ef2202a9c908af46c3e63efc3c0b347b467718
Added unit tests, Serial interface to talk to qemu device and log output from qemu device to console
Added unit tests, Serial interface to talk to qemu device and log output from qemu device to console
Neptune
Neptune is my attempt at writing an Operating System from scratch in Rust.
Building
-
You'll need nightly version of latest rust compiler. A simple, slightly dangerous way to do this is to run
curl -sSf https://sh.rustup.rs | bashand follow the instructions. -
The OS for now uses BIOS to boot. I did not wrote the required ASM to boot into 16 bit and switch from 16 bit -> protected mode for this operating system because I had already done that in an older attempt at writing an operating system. So, For this project, I used bootimage. Install it using
cargo install cargo-bootimage.
Running
Run it in qemu with qemu-system-x86_64 -drive format=raw,file=./target/neptune-x86_64/debug/bootimage-neptune.bin
Future Plans
- Boot with UEFI.
- Implement a short term scheduler.
- Threads.
- A Graphics Subsystem, mainly to be used to implement games and not an actual GUI interface.
License
MIT
Description
Neptune is my attempt at writing an operating system in rust
44 KiB
0 Stars
1 Watchers
0 Forks
Languages
Rust
100%