Bona Fide OS Development
http://forums.osdever.net/

GCC real mode
http://forums.osdever.net/viewtopic.php?f=5&t=109
Page 1 of 1

Author:  AndyEsser [ Mon Dec 14, 2009 9:53 am ]
Post subject:  Re: GCC real mode

You need to get your bootloader (in ASM) to switch the CPU(s) into 32-bit Protected Mode. Then you can start to use C to write your OS.

There are a number of tutorials that show you how to do this. Check out the tutorials section of this website for a few hints.

If you continue to have problems, let us know and we'll help you out!

Author:  Kieran [ Tue Dec 22, 2009 8:50 am ]
Post subject:  Re: GCC real mode

Yes Andy is right, a move to 32 bit C programming in Protected mode is what most would recommend, but remember most of the BIOS functions you have been using so far will become inoperable in protected mode.

Also as Andy pointed out there are many tutorials on Operating System Development using the C programming language.

Check out the OSDev.org wiki to see some tutorials.

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/