ozkl/soso
关于
一个简单的类 Unix 操作系统
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
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.
As of version 0.4, executables are 32 bit static Linux binaries.
Soso is a 32-bit x86 operating system and its features are
- Runs simple statically built Linux binaries (from version 0.4)
- Multitasking with processes and threads
- Paging
- Higher half kernel (from version 0.4)
- Kernelspace (runs in ring0) and userspace (runs in ring3) are separated
- Virtual File System
- FAT32 filesystem using FatFs
- System calls
- Userspace programs as ELF files (32 bit static Linux ELF executables)
- mmap support
- Framebuffer graphics (userspace can access with mmap)
- Shared memory
- Serial port
- PS/2 mouse
- Unix sockets
- TTY driver

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
To run doom from a terminal window:
cd /initrd
doom
building
To build kernel just run:
make
this will build only kernel (kernel.bin).
Building userspace
You don't need a special compiler! Just build 32 bit static executables for Linux
探索相关项目
加载中…