Page 1 of 1

Pascal

Posted: Sun Dec 12, 2004 12:00 am
by gregv
Hi, im thinking about starting an operating system. I was thinking I should do it in Pascal... Any pointers/code examples :) you can think of?

Re: Pascal

Posted: Mon Dec 13, 2004 12:00 am
by [AlAdDiN]
hmm
pascal is really a simple programing laguage, i used it to learn programing, but i really don't think u can write a "GOOD" Os using it, personally i prefer C.
anyway, it is still possible to develop ur OS in pascal (under linux i donno about woindows),
just use GPC (GCC variant for pascal), to output flat binary object files, then u can link them to construct ur kernel


to download GPC go here http://www.gnu-pascal.de/binary/


more information here http://directory.fsf.org/GNU/GNUPascal.html

also use google u can get a lot o help with ;)

Re: Pascal

Posted: Sat Dec 18, 2004 12:00 am
by krillzip
The first Mac OS classic was made in Pascal.

Re: Pascal

Posted: Sat Dec 18, 2004 12:00 am
by [AlAdDiN]
krillzip wrote:The first Mac OS classic was made in Pascal.
yeah and the last one is a BSD ;)

Re: Pascal

Posted: Mon Dec 20, 2004 12:00 am
by dr_evil
there is no problem with developing a os with pascal. i use freepascal for my os.

c is closer to the system-level, but as soon you made the first steps, you'll be glad to use "var param:array of integer" instead of creating a pointer-ghetto.

only one problem: first of all you have to download parts of the source-code of freepascal (rtl) and change it to your needs.

a good starting point is http://ybx.narod.ru/files/misc/cust_target.tar.bz2

Re: Pascal

Posted: Thu Dec 30, 2004 12:00 am
by Crazed123
I'm writing my OS in FPC.