trentdev0 / micrOS

A UNIX-like operating system written in C and AT&T assembly for amd64 computers, aiming for security using virtualization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

micrOS

About

The micrOS operating system is an operating system aiming for POSIX compatibility for amd64 PC compatibles.

Building

To build micrOS, you'll need to be on a UNIX-like system that consists of a toolchain capable of producing amd64 binaries. You'll also need a program such as GNU Make or BSD Make that is capable of executing UNIX-style makefiles. You'll also need Limine bootloader set up for creating the micrOS CDROM image, as well as xorriso. After reaching the requirements, run the following command only once:

make limine

And for everytime you want to (re)build micrOS run this command:

make 3RDPARTY=false -j$(nproc)

Testing

To test micrOS, you can use an emulator such as QEMU. On a UNIX system, you can run these different commands for testing micrOS:

# Use this to normally run it on an emulator
make run

# Use this to run it on an emulator with KVM acceleration
make run-kvm

If you're testing on WSL, you'll want to run it this way:

qemu-system-x86_64.exe -cdrom $(wslpath -a -w image.iso)

About

A UNIX-like operating system written in C and AT&T assembly for amd64 computers, aiming for security using virtualization.


Languages

Language:C 89.3%Language:Makefile 8.9%Language:Assembly 1.8%