[fpc-pascal]OS develing.

Florian Klaempfl Florian.Klaempfl at gmx.de
Sun Dec 30 12:39:04 CET 2001


At 14:35 29.12.01 -0500, you wrote:
>om
>
>I am getting back to work again... My current half-baked plan is to skip
>making the thing load on a raw system and instead use DOS's brilliantly
>designed and perfectly reliable loader. ;)
>
>The units document could use a master units index that collects all the
>unit overviews into a few pages of description. -- again I'm looking for
>roadmaps and guideposts....
>
>My biggest questions at the moment have to do with actually writing a
>kernel in FPC; and then writing programs that can be loaded and run
>correctly in my far-from-standard OS environment...
>
>It seems that my biggest enemy is the 'system' unit... From the
>description, it seems that it is loaded IMPLICITLY by the compiler with
>no "uses" statement. This is doublepluss ungood because My OS design is
>about a 180 degree departure from what the current system unit does, How
>do I get the compiler to require the system unit be loaded explicitly?

The compiler needs the system unit because it loads all type definitions
from the system. I think Marco gave already the hint with the fake rtl.
Put only things which the compiler needs into the system unit and the
OS specific things into an extra unit.





More information about the fpc-pascal mailing list