well now i've had my bootloader to work but i can't seem to be able to compile any pascal code down in an obj file without have it to need all sort of external object libraries. i wonder how they did it with petrOS which was said to be compiled in fpc.