This patch is based on the work of Monochromator. It allows to create dynamic libraries in dos, using dxe format, and allows to use threads in dos, using phtreads and libsocket (files ls080b.zip and pth207b.zip are needed, to compile the runtime library)
Fixed file hinit.c to work in graphic mode, too