Different Programming Languages to OS development.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Mstr

Different Programming Languages to OS development.

Post 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.
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

Re:Different Programming Languages to OS development.

Post 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.
QuiTeVexat

Re:Different Programming Languages to OS development.

Post 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?
Dex4u

Re:Different Programming Languages to OS development.

Post 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
Warrior

Re:Different Programming Languages to OS development.

Post by Warrior »

You might want to take a look here
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Different Programming Languages to OS development.

Post 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...
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

Re:Different Programming Languages to OS development.

Post 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).
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Different Programming Languages to OS development.

Post by Pype.Clicker »

Post Reply