Sync, but easier to develop.
Go to file
2021-06-14 15:41:07 +01:00
.github Cleanup and Actions build (#6) 2021-06-14 15:41:07 +01:00
img Adjust structure of the image folder 2020-11-28 16:52:34 +00:00
plugins Move to using the BS toolchain 2021-03-12 23:40:56 +00:00
src Cleanup and Actions build (#6) 2021-06-14 15:41:07 +01:00
tools Cleanup and Actions build (#6) 2021-06-14 15:41:07 +01:00
.gitignore Cleanup and Actions build (#6) 2021-06-14 15:41:07 +01:00
build_and_run.sh Cleanup and Actions build (#6) 2021-06-14 15:41:07 +01:00
build.json Fix paging to completion. 2021-03-18 20:33:15 +00:00
chroma.bxrc Delete paging. Time for an overhaul. 2021-03-13 21:24:30 +00:00
chroma.json Adjust structure of the image folder 2020-11-28 16:52:34 +00:00
CMakeLists.txt Cleanup and Actions build (#6) 2021-06-14 15:41:07 +01:00
LICENSE Create LICENSE 2020-11-29 21:12:49 +00:00
linker.ld Add a memstart symbol to the linkerscript 2020-11-09 18:48:47 +00:00
post.sh Cleanup and Actions build (#6) 2021-06-14 15:41:07 +01:00
pre.sh Cleanup and Actions build (#6) 2021-06-14 15:41:07 +01:00
README.md We have virtual memory management! 2020-09-07 20:56:49 +01:00
run.bat Move toolchain to VirtualBox. qemu is too restrictive :/ 2020-09-29 01:36:05 +01:00

Chroma Logo

Chroma

The Chromatic OS

About

Chroma is an x86_64 kernel, soon to be Operating System.
It uses the bootboot bootloader.

Features

It can currently:

  • read keyboard input
  • draw to the screen, including text and basic images.
  • output audio over the PC Speaker
  • manage physical memory
  • manage virtual memory
  • switch to ring 3
  • switch tasks
  • schedule tasks
  • handle processes and threads
  • handle mouse input
  • display a basic 3D object
  • display a basic 3D world
  • display a basic 3D world in VR

Once we reach this point... well, the world is our oyster.

Building

Chroma can be built on Windows or Linux.

Windows

I (Curle) use Windows for developing Chroma.
Simply have an x86_64-elf-gcc and ld (included!) in your PATH, run cmake in the source directory, then make. It will compile the kernel, and create an OS image with mkbootimg.

Linux

The system for linux is a lot easier, but you do need an x86_64-elf-gcc cross compiler. You can get one from the AUR on Arch-based distros (like Manjaro), or make one yourself using the OSDev Wiki guide
Simply run the init.sh to generate a makefile, then make to create the image file.

The generated IMG works in QEMU, or on a physical test device (unlike a lot of other hobby OSes!) This means you can use any emulator or hypervisor to run it.