how to do chainloading

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
VishalPawale
Posts: 10
Joined: Mon Aug 15, 2011 1:33 am
Location: Pune,India

how to do chainloading

Post 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.......:)
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: how to do chainloading

Post 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:
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply