OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 12:30 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Typo in the C barebones tutorial?
PostPosted: Wed Jan 19, 2011 11:40 am 
Offline

Joined: Wed Jan 19, 2011 11:36 am
Posts: 2
Hi :D

I've just noticed a possible typo in the tutorial, in the loader.s file it says:

MAGIC equ 0x1BADB002

However, in the kernel.c file it checks for the value: "0x2BADB002"!


Top
 Profile  
 
 Post subject: Re: Typo in the C barebones tutorial?
PostPosted: Wed Jan 19, 2011 11:52 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
It is correct. See [1] and [2]

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Typo in the C barebones tutorial?
PostPosted: Wed Jan 19, 2011 11:55 am 
Offline

Joined: Wed Jan 19, 2011 11:36 am
Posts: 2
Ah I see. Thanks for the answers, I was confused.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 20 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group