Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

Operating Systems written in FPC

English · Español

There is a rich tradition of operating systems written in Pascal. The probably best-known example is classical Mac OS, a very influential historic operating system, that was nearly entirely written in Pascal (not to be confused with macOS that is written in Objective C). Other operating systems written in Pascal include Lisa OS and the Lillith system software. The operating system for the famous Xerox Star was written in the Mesa> "Mesa (programming language) (page does not exist)") programming language, a modular language of the Pascal family. Today there are several attempts to write a Pascal-based operating system from scratch. The following, probably incomplete, list contains some approaches to use Free Pascal for creating an OS.

FPOS

FPOS is a operating system consists of a minimal kernel built on FreePascal, totaly written from scratch with Free Pascal compiler. It contains a Scheme implementation of a hard drive (ATA) driver, keyboard (PS2), serial (8250 UART), FAT32 filesystem and a small real time clock manager. The project was built to experiment with developement of operating system using a high level functional language to study the developement process and the use of Scheme to build a fairly complex system.

Implemented features in FPOS

StreamOS

StreamOS is 32-bit operating system written in Object Pascal using Free Pascal Compiler. It’s designed for:

The main advantages are:

TORO Kernel

Toro is a kernel created in Pascal using FreePascal compiler. The project was started in the year 2003 by Matias E. Vara using a monolithic kernel.The whole kernel is included in a RTL compliant with FreePascal for i386 and AMD x86-64 processors. The user program is compiled within the kernel and is executed in kernel mode. The intrinsic OS design select strict model in data workflow and pipeline of execution in order to avoid concurrent execution on the same shared memory region. The kernel was optimized for Multicore system and that is the principal objective of the project ,fix the current problems of Modern O.S. in Multicore environment. The main features are:

FP-RTOS

A realtime kernel for embedded development. Primarily developed for ARM devices. Written entirely in Pascal and inline assembler.

Ultibo core

Ultibo core is a kernel in an RTL first released in 2016, much more than just another OS example it is a complete platform for creating modern full featured embedded applications which run without any operating system. Written 100% in Free Pascal and initially targeting Raspberry Pi, the modular design allows including only the features required for any given project. Packaged in a simple installer download for Windows or as an install script for Linux customized versions of both Free Pascal and Lazarus IDE are included along with full source and a large collection of examples to get started quickly.

Features include:

ELERA

ELERA is 32-bit operating system that written Free Pascal / Lazarus from stratch. Operating system is:

Asuro

Asuro is an x86 operating system that started development in 2015 as somewhat of an academic project. Written almost entirely in Free Pascal, with NASM used only for bootstrapping & minimal low-level routines. Asuro is a purely hobbyist operating system that differs quite majorly in design from any mainstream OS. Asuro doesn't really have an end goal in mind, it's aim is mostly to function as a playground for those that wish to play with low-level computing using Free Pascal. A dockerized build environment allows for minimal configuration to begin building/breaking/fixing Asuro, and we welcome anyone to play around with Asuro for fun or profit.

External links


From the Free Pascal wiki, page "Operating Systems written in FPC", as the Internet Archive kept it on 2026-07-12, last changed on 2024-02-02. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .