Up is down - Baremetal Programming & Pascal as Low As It Gets
by
Published on 03-12-2011 03:51 PM
Number of Views: 28444
The easiest way I find, would be to write a unit containing you program and having a name to initialize/launch that then include your units name in code_helios.pas and add the procedure you wish to run inside the oHelios.Kernel() procedure.
Then followed by
Code:
./build.sh
./run.sh
You now have a kernel.obj with all your code inside that runs inside a qemu window - you now have your own OS that runs your pascal code as close to the baremetal as I think is practical. Although a lot of this code is not mine - just look at the headers

I thought that for those out there interested in the working of operating systems and just how little you need to program in pascal it might be worth me putting this up while I write up the next tutorial.
I apologize for my brevity but there is honestly not that much to say, any questions/suggestions are welcome and I will continue work on Helios as well as my desktop UI in the meantime...
As for the next tutorial - its coming with a green plush robot from google
PS: Any takers for the LD48 in 2 weeks time?
vBulletin Message