OS in pascall...

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
Crg

OS in pascall...

Post by Crg »

Anyone have heared about an OS in Pascal?
Anyone have some ideas? I would be greatful
for _any_ help.
Maybe someone wants to do such a OS
(in free pascal compiler or in TMT pascal?).
Anyone knows how to
put "my own" extender in FPC or TMT pascal comp?

Thx!
sergey_volosat

RE:OS in pascall...

Post by sergey_volosat »

>On 2001-02-18 07:46:14, Crg wrote:
>Anyone have heared about an OS in Pascal?
>Anyone have some ideas? I would be greatful
>for _any_ help.
>Maybe someone wants to do such a OS
>(in free pascal compiler or in TMT pascal?).
>Anyone knows how to
>put "my own" extender in FPC or TMT pascal comp?

it's perversion to write OS in pascal. use c instead.
Schol-R-LEA

RE:OS in pascall...

Post by Schol-R-LEA »

>On 2001-02-18 07:46:14, Crg wrote:
>Anyone have heared about an OS in Pascal?
>Anyone have some ideas? I would be greatful
>for _any_ help.
>Maybe someone wants to do such a OS
>(in free pascal compiler or in TMT pascal?).
>Anyone knows how to
>put "my own" extender in FPC or TMT pascal comp?
>
>Thx!

I know it's almost a year out of date, but...

Despite what some barbarians here think, it is possibler to do so. Prior to Turbo Pascal's debut, the most common Pascal available was UCSD Pascal, which was a full OS and environment written in Pascal (actually, the low-level stuff was handled by the p-code interpreter, roughly the equivalent of a Java JVM).

That having been said, Pascal is far from an ideal language for OS development. If you wish to avoid C, you'd be better off learning one of Wirth's later systems, such as Modula-2 or Oberon. Both of these languages are specifically designed for systems programming (unlike Pascal, which was meant as a pedigogical tool) and have facilities equal to C for it - but with a syntax and structure much closer to Pascal's.

There are several other Pascal derivatives, including Ada, which could also be used for OS design Take yor pick.

As for 'perversions', I personally am planning to use a Scheme vaiant for my higher-level work. The perverse part is, I expect to get better performance than C bigots could ever dream of - there are advantages to working at a higher level of abstraction, and one of them is not getting bogged down in details better left to the compiler.
Post Reply