Bona Fide OS Development

Problem with Mixing Assembly & C Tutorial
Page 1 of 1

Author:  chibicitiberiu [ Mon Aug 09, 2010 1:29 am ]
Post subject:  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?

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group