Page 1 of 1
Different Programming Languages to OS development.
Posted: Thu Dec 22, 2005 10:21 am
by Mstr
I'm really noob and my question is...
I'm looking for tutorials about OS development and everybody uses the same two languages:
-ASM for bootloader
-C, C++ for 'kernel'
Ok. I was wondering if I could use a language different from C in kernel development. I program in Pascal, qnd, finally, my question is:
Is it possible to make the Kernel in Pascal?
Or another question:
If I have a program written in PASCAL, can I make it boot? (I know it would be NOT an operating system, but I'm really interested in booting my own PASCAL programs...)
Thanks, and sorry for the bad english.
Re:Different Programming Languages to OS development.
Posted: Thu Dec 22, 2005 10:49 am
by kataklinger
There is a lot of threads on this subject. You should read them, try searching the forum.
Yes probably it is possible to do that (I know noyhin about QND, I haven't heard for it), but you should use language which makes your job easier, not harder! Isn't that right?
And I think there is Pascal OS projects around the Net.
Re:Different Programming Languages to OS development.
Posted: Thu Dec 22, 2005 10:56 am
by QuiTeVexat
Yes, it's possible (so I've heard). See
An OSFAQ Link.
Second, I think there are some fellow Pascal coders who have posted here before on the topic. Try a search. And if you're still confused, they might be able to help you (if they are so inclined).
Happy... pascaling?
Re:Different Programming Languages to OS development.
Posted: Thu Dec 22, 2005 12:03 pm
by Dex4u
Yes pascal is a great language, that can do anything that C can do, but better, second only to asm
.
Here is a freepascal OS, with fully commented pascal code, that will get you started, it also free to use if you want to build on it.
http://www.dex4u.com/AnonymOS.zip
Re:Different Programming Languages to OS development.
Posted: Thu Dec 22, 2005 2:40 pm
by Warrior
You might want to take a look
here
Re:Different Programming Languages to OS development.
Posted: Fri Dec 23, 2005 4:21 am
by Pype.Clicker
someone posted a link to a ready-to-use "extended barebones" for freepascal. You can grab it from the "BareBones" page of the FAQ.
i'm also mirroring it with fluid=f4429174c6941581ca089553d4342047 just in case...
Re:Different Programming Languages to OS development.
Posted: Fri Dec 23, 2005 9:48 am
by kataklinger
Dex4u wrote:
Yes pascal is a great language, that can do anything that C can do, but better, second only to asm
.
Pascal can do it better? I don't think so... :-\
Well I don't even think that Pascal is great language (but that's my opinion).
Re:Different Programming Languages to OS development.
Posted: Fri Dec 23, 2005 10:02 am
by Pype.Clicker