Bona Fide OS Developer
View unanswered posts | View active topics It is currently Mon Dec 09, 2019 12:52 pm



Post new topic Reply to topic  [ 2 posts ] 
 GCC real mode 
Author Message

Joined: Mon Oct 26, 2009 2:33 pm
Posts: 38
Location: United Kingdom
Post 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!

_________________
Andy Esser
neogenix Broadcast


Mon Dec 14, 2009 9:53 am
Profile
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post 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.

_________________
Thank you for reading,

Kieran C G Foot


Tue Dec 22, 2009 8:50 am
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


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.