A Simple Unix-like operating system

ozkl 8339000940 image generation scipts updated 2 years ago
TinyGL fcfc8ca786 Makefiles updated to use root/lib 3 years ago
bootdisk-root 03cf875a92 adding gfx files 6 years ago
font e798eb5bbe font added 6 years ago
kernel 577aedebeb tty switch 3 years ago
musl-1.2.0 427e720bbf soso specific syscalls merged into libc 3 years ago
ports 2839f6f9aa Nano-X port patch 3 years ago
screenshots 2b0a6de9b8 v0.3 screenshot 3 years ago
toolchain f646dead7a Create toolchain readme.md 4 years ago
userspace 62185ab7f1 nanox apps for soso 3 years ago
.gitignore 35f23cbc0c Update .gitignore 6 years ago
LICENSE b10b097a3e Initial commit 6 years ago
Makefile d5c902b4bf Page Directory area moved to 0x00C00000. 3 years ago
README.md a442d582cc Update README.md 3 years ago
create-cd-image.sh 8339000940 image generation scipts updated 2 years ago
create-image.sh c135999ddc -ptdriver removed 4 years ago
create-initrd.sh 8339000940 image generation scipts updated 2 years ago
link.ld acc429f721 kernel 6 years ago
soso.config acc429f721 kernel 6 years ago
soso.creator acc429f721 kernel 6 years ago
soso.files c135999ddc -ptdriver removed 4 years ago
soso.includes acc429f721 kernel 6 years ago

README.md

soso

Soso is a simple unix-like operating system written in Nasm assembly and mostly in C. It supports multiboot, so it is started by Grub. It can be built using Nasm and Clang. Tested build environments are Linux, FreeBSD.

Soso is a 32-bit x86 operating system and its features are

  • Multitasking with processes and threads
  • Paging
  • Kernelspace (runs in ring0) and userspace (runs in ring3) are separated
  • Virtual File System
  • FAT32 filesystem using FatFs
  • System calls
  • Libc (Musl is ported with basic calls like open, read,..)
  • Userspace programs as ELF files
  • mmap support
  • Framebuffer graphics (userspace can access with mmap)
  • Shared memory
  • Serial port
  • PS/2 mouse
  • Unix sockets
  • TTY driver

Soso has Libc, so existing applications depending only on Libc can easly be ported to Soso. These applications run on Soso:

  • Nano-X (client/server)
  • Lua
  • Doom

Soso

running

You can download a CD image (ISO file) from releases and try it in a PC emulator like QEMU. When it is started, you can run: "doom", "lua" in a terminal window.

To try Soso in QEMU, just run:

qemu-system-i386 -cdrom soso.iso

building

To build kernel just run:

make

this will build only kernel (kernel.bin).

Building userspace binaries will be documented later.