GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sfleandro/PascalOS: A (work in progress) toy operating system written in Object Pascal

BranchesTags
Open more actions menu

Latest commit

 

History

52 Commits
52 Commits

Folders and files

NameName
Last commit message
Last commit date
image
image
 
 
kernel
kernel
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
bochsrc.txt
bochsrc.txt
 
 

Repository files navigation

PascalOS

In an attempt to learn how to write an operating system and to relive the nostalgia of tinkering with Delphi as a kid, I have decided to begin writing an operating system in Object Pascal. This is simply a toy project to work on when I am bored.

Progress and features

Despite having "OS" in the name, PascalOS is far from an operating system right now. Here's a summary of what is and isn't currently implemented:

  • Boot to kernel entrypoint
  • Basic GDT setup
  • Bare-minimum IDT setup and ISR handling
  • Bare-minimum IRQ handling
  • Keyboard support
  • Virtual memeory (paging)
  • Dynamic memory allocation
  • Filesystem support
  • Multitasking
  • User mode
  • Everything else

Build instructions

WARNING: The current Makefile makes some pretty strong assumptions about your build environment and is NOT portable. I am developing PascalOS inside a 32-bit Debian 10 virtual machine because I am too lazy to set up proper cross compilation. To set up a development environment on Debian, run the following command to install all necessary packages (I might be forgetting some):

sudo apt install build-essential fpc git qemu-system-i386

If for some reason you still want to build this, you can like so:

git clone https://github.com/jonpalmisc/PascalOS.git
cd PascalOS
make iso

Running the OS

To run the OS after building the ISO, use the included run targets:

make runb # to run with Bochs; or
make runq # to run with QEMU

Acknowledgements

This project would not have been possible without the following resources:

  • The OSDev Wiki
  • James Molloy's Kernel Development Tutorials
  • Bran's Kernel Development Tutorials

License

This project is licensed under the Mozilla Public License v2. For more information, see the LICENSE.txt file.

About

A (work in progress) toy operating system written in Object Pascal

Resources

Readme
MPL-2.0 license
Activity

Stars

1 star

Watchers

0 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.