Page 1 of 1
Design an OS with FreePascal?
Posted: Sun Jun 06, 2004 9:52 am
by embrance
If im not mistaken(im using FPC)Free pascal has an option to export code to ASM(Nasm,tasm etc)SO can i code the OS and then export it to asm and work?
Re:Design an OS with FreePascal?
Posted: Sun Jun 06, 2004 3:45 pm
by Pype.Clicker
there are OS project in pascal (including FreePAscal, iirc), but having intermediary ASM source will not mean that sources will not depend on a heavy runtime environment.
Re:Design an OS with FreePascal?
Posted: Mon Jun 07, 2004 8:38 am
by embrance
Didnt get it...I just asked ,if i convert Pascal top ASM with the tool thats included,will it work?
Re:Design an OS with FreePascal?
Posted: Mon Jun 07, 2004 8:49 am
by Pype.Clicker
... and i replied that it will depend on how much 'library calls' that ASM code does.
Re:Design an OS with FreePascal?
Posted: Mon Jun 07, 2004 8:49 am
by Solar
I don't know FreePascal, but chances are excellent that the ASM code you are generating that way is still dependent on a hosted environment - i.e., user space code.
For an Operating System kernel, you need freestanding code, that does not call upon a (non-existent) operating system to open files, print text etc.