The NEXT version of the Free Pascal Operating System.
Starting from scratch with Bootboot's example, FPOS now lives again!
- Free Pascal Compiler 3.2+, able to compile for x86_64 Linux
- ld, strip, readelf - for
supported AND target platform (see below)x86_64 - Bootboot's mkbootimg
- Make
- grub2-mkrescue and xorriso (optional)
- QEMU/VirtualBox/VMWare (to try out the image)
If you want to test the image, better use QEMU. VirtualBox + VMWare on Windows are confirmed to not working (yet).
Real hardware is not tested yet.
Clone this repository.
There are multiple options to create a FPOS that you want.
Go read the Environment variables section below.
To compile and create a bootable disk image:
$ make allTo compile:
$ make fpc_allTo create disk/cdrom image:
$ make diskTo create an ISO (requires grub2-mkrescue and xorriso):
$ make grub.isoTo boot in QEMU:
$ make bootTo boot in QEMU using generated GRUB iso:
$ make boot-grubTo regenerate Makefile (requires fpcmake):
$ make makefilesOr:
$ fpcmake -w -Tall| Variable name | Job | Acceptable values | Default value |
|---|---|---|---|
| PLATFORM | Specify the platform that FPOS should target | *many or not?* | x86_64 |
| AMD64_PREFIX | Prefix of ld, strip etc. commands, for AMD64 (x86_64) platform | Any | x86_64-linux-gnu- |
| AARCH64_PREFIX | Same as AMD64_PREFIX, but for aarch64 platform | Any | aarch64-linux-gnu- |
| RISCV64_PREFIX | Same as AMD64_PREFIX, but for riscv64 platform | Any | riscv64-linux-gnu- |
- OSDev of course
- https://github.com/dreamportdev/Osdev-Notes/