Page 1 of 1

how to do chainloading

Posted: Mon Aug 29, 2011 11:19 pm
by VishalPawale
hi guys,
I have made a simple boot loader which enters into PM and displays a character.When I kept all the code within a single file it gets executed properly but when I try to execute the code from two different files it do not executes the second file.I have initialized GDT in 1st file,and in 2nd file I am printing just a single character.I have used %include directive of NASM in main file which I am trying to build.In 1st file I have used int 13h to read 2nd sector of floppy which is 7e00h and then I have made a jump to label in second file(right?).

thnx in advance.......:)

Re: how to do chainloading

Posted: Tue Aug 30, 2011 1:10 am
by Love4Boobies
You haven't described the actual problem; it's irrelevant how you played around with your files---there's a bug somewhere. Show us some code :wink: