Real mode loader

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
chendsh

Real mode loader

Post by chendsh »

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.
Post Reply