[fpc-devel]Porting FPC to another OS

Leif Ekblad leif at rdos.net
Mon Apr 22 10:47:30 CEST 2002


Hi,

Is there any documentation on how to port FPC and FP to another OS? I've started
by writing my own interface unit to RDOS syscalls. The next step would be to take
the win32 version and remove all win32 references. With this done, I would like
to build my own system unit. I have a couple of questions about this:

How does the compiler know where it should look for units?
How do you add a new target type in FP?

BTW, both win32 and go32v2 targets work in RDOS, but I want a native version
that can run without win32 emulation DLLs or dpmi reflects to V86 mode.

Who is responsible for GO32V2? There is a bug in it that accesses BIOS. If
FPC should be a serious alternative for embedded systems, it should not assume
there is a BIOS chip at F000!

Leif
www.rdos.net






More information about the fpc-devel mailing list