Is there a baby-step x86-64 tutorial?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
xtricman
Posts: 16
Joined: Wed Mar 12, 2014 9:52 pm

Is there a baby-step x86-64 tutorial?

Post by xtricman »

I have read the bare bones tutorial but it's too simple,it just use the multiboot state and even has no paging.I want a full tutorial USING AT&T to tell me how to enter long mode from the multiboot state and how to prepare all things that a x86-64 operating system need.

Or maybe there's an x86-64 OS project which is more simpler than Linux I can learn from?Linux's code is too complicate for me~
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Is there a baby-step x86-64 tutorial?

Post by bluemoon »

While x86_64 become more popular choice beside x86/32, it seems that no one dare to write the tutorial (anyone?)

Anyway, booting into long mode does not differ much than booting into protected mode, you may get more resources here: X86-64
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: Is there a baby-step x86-64 tutorial?

Post by Combuster »

Have you read the Beginner Mistakes?
"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 ]
Post Reply