I got to start a procedure in a pascal unit from the c loader and call from the pascal unit the fo_printf from fo.h http://www.noeska.com/downloads/newos2.tar.gz

So i think i abandon converting the c loader source to pascal.