Pascal OS Dev question

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
Frki

Pascal OS Dev question

Post by Frki »

Hello,
I am a Pascal programmer, and I want to write a small OS in Pascal. I have two questions to ask :

1) Is there any way to compile Turbo Pascal 7.0 code to .COM file format ?

2) Are there any web sites covering this topic ?

Best regards,
Frki
Tim

Re:Pascal OS Dev question

Post by Tim »

You might find better results with Free Pascal. It's effectively gcc and binutils with a Pascal front end. It's compatible with Turbo Pascal, or you can write your own libraries (which is necessary, and I don't believe possible with TP). And because it's built on top of binutils, you can do all the tricks (including linking to .COM) that the C guys do.
Frki

Re:Pascal OS Dev question

Post by Frki »

I am currently working on a 16-bit OS, and the FreePascal compiles 32-bit code. That is a little problem, so I'll just stick to Turbo Pascal 7.0.

Anyway, thanks for reply ;)
Post Reply