Hello,
I used a REAL mode bootloader which is written by Mr. Daniel Marjamäki.
The Real mode loader just put the program to 0x10000, and jump to it
using retf.
I also wrote a test program which was compsed of two parts, one in NASM
and the other was in DJGPP.
When booting, the computer hangs or just to reboot again and again.
I compiled the ASM program into aout format and linked it with the
C part.
In fact, I changed to Protected mode before calling the C function.
Would you please tell me the reason? Thank you very much.