Sync, but easier to develop.
Go to file
2020-11-26 04:03:43 +00:00
chroma Minimise printing in physmem - turns out serial output is SLOW. 2020-11-26 04:03:43 +00:00
global Remove dead files 2020-11-26 04:03:40 +00:00
img/boot Move from CD-ROM images to Hard Disk images. 2020-11-26 04:03:38 +00:00
.gitignore Remove large image file, add extra stuff to the gitignore 2020-11-26 04:03:42 +00:00
chroma.bxrc Add BXRC file for Bochs support. 2020-11-26 04:03:40 +00:00
chroma.json Move from CD-ROM images to Hard Disk images. 2020-11-26 04:03:38 +00:00
CMakeLists.txt Add basic stack unwinding functionality 2020-11-26 04:03:42 +00:00
font.psf Attempts at fixing paging. 2020-04-11 23:02:54 +01:00
linker.ld Add symbols to linker script for page table generation 2020-11-26 04:03:41 +00:00
mkbootimg Move from CD-ROM images to Hard Disk images. 2020-11-26 04:03:38 +00:00
mkbootimg.exe Add Windows version of mkbootimg for platform agnosticity 2020-11-26 04:03:38 +00:00
post.sh Fix typo in post-build script 2020-11-26 04:03:42 +00:00
pre.sh Fix building on Windows by dpeter99 2020-11-26 04:03:42 +00:00
README.md We have virtual memory management! 2020-11-26 04:03:41 +00:00
run.bat Move toolchain to VirtualBox. qemu is too restrictive :/ 2020-11-26 04:03:42 +00: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.