Bona Fide OS Developer
View unanswered posts | View active topics It is currently Tue Mar 19, 2024 5:38 am



Post new topic Reply to topic  [ 1 post ] 
 Problem with Mixing Assembly & C Tutorial 
Author Message

Joined: Wed May 19, 2010 12:14 am
Posts: 10
Post Re: Problem with Mixing Assembly & C Tutorial
Does the bootloader switch to protected mode before calling these routines? What compiler are you using?
Are you sure main() is called?

Usually, C compilers add an underscore before the name of the function, so in the bootloader you would have:
call _k_main


What does the bootloader do in detail, so that I know where the problem could be? Are you using GRUB?


Mon Aug 09, 2010 1:29 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.