Typo in the C barebones tutorial?

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
LloydX86
Posts: 2
Joined: Wed Jan 19, 2011 11:36 am

Typo in the C barebones tutorial?

Post by LloydX86 »

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"!
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Typo in the C barebones tutorial?

Post by Combuster »

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 ]
LloydX86
Posts: 2
Joined: Wed Jan 19, 2011 11:36 am

Re: Typo in the C barebones tutorial?

Post by LloydX86 »

Ah I see. Thanks for the answers, I was confused.
Post Reply