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
Pascal OS Dev question
Re:Pascal OS Dev question
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.
Re:Pascal OS Dev question
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
Anyway, thanks for reply