Up is down - Baremetal Programming & Pascal as Low As It Gets
by
Published on 03-12-2011 03:51 PM
Number of Views: 51816
In the lead up to the next propper tutorial I am planning to post - to do with linux and a lot less layers of code between the programmer and the bare silicon of the platform I came across an old, derelict project of mine which I had once dubbed HeliOS - and as you may have guessed by the CaMeLcAse there its an OS which just happened to fit in with the word helios - the sun god/deity. Reading through brought back the memories of coding and the question of 'how much faster would it be, if the program ran alone on the computer?'. An OS dedicated to running native pascal code. Shiny.
Or rather not so. It needed to be compiled with some weird directives, it refused to work with grub correctly - had its roots far too sunk into the barebones of the OSDEV wiki and lacked much core functionality. The original intention was to have it run a very basic UI which coud shift a few pixels and run pascal code as fast as the hardware could
I'll take my time now and say this: OS development is not for the fainthearted - I had all hell getting things booted and since grub won't work your more or less with
Code:
qemu -kernel kernel.obj
for running anything but here goes - If anyone out there wants to run their own code as a standalone OS I'm putting up this basic manual of how to go about things if thats what you want to do.
vBulletin Message