Skip to content

Latest commit

 

History

441 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FruityOS

This is the Sol branch.

FruityOS is a small, monotasking 64-bit operating system for x86 PCs. It boots through BIOS or x86-64 UEFI, starts the Jabara-written Pulp kernel, unpacks a volatile RAM filesystem, and launches the Pish shell in ring 3.

It is also a self-hosting language and operating-system laboratory. The repository contains its compiler, assembler, shell, userland, bootloaders, kernel, archive format, compressor, and image-building tools. The same Pish build graph runs on Linux x86-64, Windows x86-64, and FruityOS x86-64 without a C compiler, Make, NASM, a POSIX shell, PowerShell, or cmd.exe.

The complete toolchain can be reconstructed from one irreducible executable, the 254-byte DOS assembler stage0/petit.com; the process is documented in Stage 0 reconstruction.

Build

On Linux, Windows, and FruityOS, run the native Pish entrypoint from the repository root:

bin/pish build.psh

The build writes BIOS and UEFI images beneath out/. See Getting started for bootstrap requirements, outputs, cleanup, and first-boot behavior.

After you have built FruityOS, if you would like to run the FruityOS userland in your host environment you may type

bin/pish

Documentation

FruityOS is experimental. It is intentionally much smaller and less general than a Unix-compatible operating system.

Sol toolchain

  • sol/ defines the width-neutral Sol IR, its shared streaming parser, and the Mars x86-64 flat-binary backend.
  • haruka/ is the default .hr compiler frontend and emits Sol.
  • Pluto is the planned native ISA for Sol semantics; Luna and Terra are planned 16-bit and 32-bit x86 backends.

Peel and the rest of userland build through Haruka/Mars; Orgasm remains the platform-prefix assembler and Jabara bootstrap assembler.

About

a smol os

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages