joexbayer/RetrOS-32
حول
نظام تشغيل هواة بمعمارية x86 32 بت، مع رسومات وتعدد مهام وشبكات ومصرّف C 32 بت لمعمارية i386.
الأنظمة والبنية التحتيةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- -١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلRetrOS 32bit
Fully custom hobby 32bit operating system project focusing on i386 architecture.
Project OSHub page »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
![]() |
![]() |
![]() |
About The Project
32bit Hobby Operatingsystem with graphics, multitasking and networking!
Started: 12.05.2022
Login
There are 3 default users: system, admin and guest. The password for admin is 'admin', while guest has no password. Currently there is no difference between admin and guest.
You can create a user with the 'admin' command:
admin create <username> <password>
Built With
This project is built with C & Assembly for the kernel, utilities and build system. C++ for userspace applications and Make for compilation. Docker used for crossplatform compilation.
Hardware
Tested on: Lenovo x240, Asus Eee PC series, Dell Optiplex 780, Samsung N150 Plus, Samsung NP-NC10, IBM Thinkpad a21p
![]() |
![]() |
Getting Started
Prerequisites
Crossplatform: Docker to compile the image file and QEMU for emulation.
For native compilation you will need:
- i386-elf-gcc, i386-elf-ld and i386-elf-g++ for MacOS.
- build-essential and gcc-multilib for Linux / WSL (ubuntu)
- Also need: grub2, xorriso and xxd (for using Grub as bootloader)
Installation
To compile the kernel and its needed programs you simply need to run make img and make qemu to open QEMU
Linux
Clone the repo
git clone https://github.com/joexbayer/RetrOS-32.gitCheck that all dependencies are installed (Only for debian based distros)
./debian.shInitialize Git submodules (C-Compiler)
git submodule update --init --recursiveCompile and create image
make compile make imgLaunch QEMU
make qemuUse GRUB (Optional)
make grub
MacOS
Currently MacOS cannot natively compile the build tools as they depend on 32bit x86 code. Docker is the simplest way if you still wish to compile the operating system.
Clone the repository
git clone https://github.com/joexbayer/RetrOS-32.gitInitialize Git submodules (C-Compiler)
git submodule update --init --recursiveBuild using Docker
docker-compose up --build
Windows
Use Docker (see MacOS section) or WSL (see Linux section).
Usage
To run RetrOS-32:
- http://copy.sh/v86/ : Upload .img file as Hard disk image.
- QEMU:
make qemuorqemu-system-i386 <image name> - Real hardware: Burn .iso file to USB or CD (Use a GRUB iso)
Project Structure (TBD)
NETOS - Project
├── Dockerfile
├── LICENSE.txt
├── Makefile
├── apps (userspace applications)
│ ├── Makefile
│ ├── <app>
│ ├── libcore.a
│ ├── libgraphic.a
│ ├── libnet.a
│ ├── readme.md
│ └── utils
│ └── *.cpp
├── bin
│ └── *.o
├── boot (custom bootloader)
│ ├── bootloader.s
│ └── multiboot.ld
├── docker-compose.yml
├── docs (documentation)
│ ├── *.md
├── drivers (kernel drivers)
│ └── *.c
├── fs (filesystem)
│ ├── Makefile
│ ├── bin
│ └── *.c
├── graphics
│ └── *.c
├── include
│ ├── arch
│ │ └── *.h
│ ├── fs
│ │ └── *.h
│ ├── gfx
│ │ └── *.h
│ ├── lib
│ │ └── *.h
│ ├── net
│ │ └── *.h
│ └── *.h
├── kernel (main kernel source files)
│ ├── arch
│ │ └── *.c
│ ├── kthreads
│ │ └── *.c
│ └── *.c
├── legacy (old code)
├── lib (libraries)
│ └── *.c
├── net (networking code)
│ └── *.c
├── readme.md
├── rootfs (root filesystem for the OS)
├── tests (testing code)
│ ├── Makefile
│ ├── bin
│ ├── *_test.c
│ └── readme.md
└── tools (build tools)
├── scripts
└── bin
└── *.c
Roadmap
- Custom Bootloader & GRUB compatible
- Stage 2 bootloader
- Wallpapers
- Mountable image
- Users
- Multi-threaded pre-emptive scheduling
- GDT & TSS kernel / userspace separation
- Interrupt handling
- PS/2 Keyboard & Mouse, PIT, VESA (640x480x8), RTC, Serial drivers, E1000
- PCI.
- 8Bit RGB to 8Bit VGA
- Filesystem
- Textmode VGA only
- Networkstack
- Ethernet, IP, ARP, UDP
- Socket API
- Interfaces
- Loopback
- DHCP
- DNS
- TCP
- Netcat style commands
- Webserver
- FTP
- IRC
- SSH
- Telnet
- HTTP
- HTML
- ATA IDE Driver
- Ext2 (like) Filesystem
- FAT16, support for up to 32mb files.
- read / write
- Atapi
- Memory
- 32bit Virtual Memory
- kalloc / kfree (kernel)
- malloc / free (userspace)
- Graphics
- Window Manager
- GFXLib
- Double framebuffer rendering
- Mouse events
- Dynamic resize
- Fullscreen
- Widgets Library
- Custom HTML to Widgets
- Terminal, Window Server, Process Informtaion, Finder.
- Library (printf, memcpy, etc)
- IPC
- System calls
- C Compiler / interpreter to bytecode
- Custom VM to run bytecode.
- Editor with Syntax Highlighting
- Calculator
- 3D Game
- Snake game (Textmode only)
- Userspace threads (shared virtual memory)
- Remote virtual terminal over TCP
- LZ compression library
- Tools
- Build
- Sync / Migration Took
- mkfs
- Testing
- Create & Encode icons and wallpapers
See the open issues for a full list of proposed features (and known issues).
License
Distributed under the MIT License. See LICENSE.txt for more information.
Contact
Joe Bayer
Project Link: https://github.com/joexbayer/RetrOS-32
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…




