Implementing a HLL in an OS
Posted: Wed Dec 19, 2007 7:23 pm
I have been working on an operating system for a while now, I have a fair amount of the Kernel done and a boot loader finished. The problem is the entire point of the OS is to make an operating system written in pascal and up to this point it is written in 80x86 asm (NASM).
So I need to start either implementing DOS interrupt services in order to use Turbo Pascal 7.0 or Find some Pascal Compiler (preferably as TP as possible in syntax) that does not use DOS interrupt services.
The first option would really mean I need GPL'd code that has DOS compatible services in ASM. I think FreeDOS implements them in C (I think) but there might be some code out there that I don't know about.
as far as the second option I know that plenty of people seem to be using GCC to implement operating systems, and it doesn't seem that they are having to rewrite linux/unix in order to use it, so is it possible to use something like Gnu Pascal to do something similar?
So I need to start either implementing DOS interrupt services in order to use Turbo Pascal 7.0 or Find some Pascal Compiler (preferably as TP as possible in syntax) that does not use DOS interrupt services.
The first option would really mean I need GPL'd code that has DOS compatible services in ASM. I think FreeDOS implements them in C (I think) but there might be some code out there that I don't know about.
as far as the second option I know that plenty of people seem to be using GCC to implement operating systems, and it doesn't seem that they are having to rewrite linux/unix in order to use it, so is it possible to use something like Gnu Pascal to do something similar?