I think others to this list may have seen my prior post on how this 'challenge' of writing a OS kernel in Object Pascal could be met using the Unix/Linux history as a guide.
It probably wouldn't be worth the additional effort needed to write the entire kernel in Object Pascal in much the same way the neither the Unix or Linux kernels were written entirely in C.
What would be interesting in a OP/Kernel would be how the a modern microkernel design could implemented in Object Pascal and the programming techniques used
to follow the current OS system paradigms (including data structures).
I'd be interested in how the OP system made the trade-offs in terms of performance versus size (code/data), how portable it could be (to other processor architectures) and then a comparison of it speed for various tasks.
Skybuck Flying wrote 29 lines
I'd say if whoever has enough drive to try something like this, simply
> start by implementing the kernel. Something relatively simple so that
> your PC can boot using a Object Pascal written kernel. No matter if
> there is no user interaction, shell or user level programs. Just show
> that you CAN write a bootable kernel in Object Pascal would already
> achieve the "wow" factor.
>
I have a question about this, relating to what the free pascal compiler can
actually do ?
Does free pascal compiler actually implement and support the entire x86
instruction set/registers ?
Since "application space" is different from "kernel space".
For example:
asm
// full instruction set support possible ?
end;
Bye,
Skybuck.
_______________________________________________
fpc-pascal maillist -
http://lists.freepascal.org/mailman/listinfo/fpc-pascal