Mail Archives: djgpp/2000/08/22/10:45:25
>I don't know anything about FPK; what's below relates to DJGPP only.
>
>You need to replace the low-level library functions which interface
>with the OS. Basically, search for all the occurences of __dpmi_int
>and int86, and you will find these functions.
ok. whew, looks like alot of work! maybe I could merely change the
__dpmi_int and int86 functions?
>
>The library startup code (crt0.S) will have to be rewritten as well,
>since it is tailored to the DPMI environment. Exception-handling
>code, which is also the basis for signal support, will also need to be
>reviewed.
the crt0.S scares me, as I am not that good with assembler (especially not
att syntax). Is there any documentation available that explains what this
code does? I have no idea what exactly it does... Maybe most of it can just
be taken out since its mostly for dpmi? what would happen if crt0.S contains
nothing?
I'm sure others must have changed this libc to work with their custom OS's.
If you know of any links or documentation regarding this I would be most
greatfull if you could post them.
thanks!
Tobias Skytte
- Raw text -