CodePulse | Write Your Own 64-bit Operating System Kernel #2 - Stack, long mode and printing using C code @CodePulse | Uploaded 3 years ago | Updated 3 hours ago
In the second episode of this series, we setup a basic stack, enable long mode, setup basic paging, and write some C code that prints any text onto the screen.
All the code is available on GitHub:
github.com/davidcallanan/yt-os-series/tree/ep2
Consider becoming a Patreon supporter below if you'd like me to continue to spend time creating these videos:
patreon.com/CodePulse
Thanks to the Patreon supporters since last episode: Helge Sverre Hessevik Liseth, Kaas, D L, Fernando Muinos
---
Useful resources (in no particular order):
wiki.osdev.org
First edition: os.phil-opp.com/edition-1
Latest edition: os.phil-opp.com
en.wikipedia.org/wiki/X86_calling_conventions#System_V_AMD64_ABI
http://www.osdever.net/bkerndev/Docs/creatingmain.htm
And some youtube videos such as:
youtube.com/watch?v=rr-9w2gITDM
youtube.com/watch?v=Lke3QOytgcQ&list=PLmlvkUN3-1MNKwINqdCDtTdNDjfBmWcZA
youtube.com/watch?v=9GDX-IyZ_C8
In the second episode of this series, we setup a basic stack, enable long mode, setup basic paging, and write some C code that prints any text onto the screen.
All the code is available on GitHub:
github.com/davidcallanan/yt-os-series/tree/ep2
Consider becoming a Patreon supporter below if you'd like me to continue to spend time creating these videos:
patreon.com/CodePulse
Thanks to the Patreon supporters since last episode: Helge Sverre Hessevik Liseth, Kaas, D L, Fernando Muinos
---
Useful resources (in no particular order):
wiki.osdev.org
First edition: os.phil-opp.com/edition-1
Latest edition: os.phil-opp.com
en.wikipedia.org/wiki/X86_calling_conventions#System_V_AMD64_ABI
http://www.osdever.net/bkerndev/Docs/creatingmain.htm
And some youtube videos such as:
youtube.com/watch?v=rr-9w2gITDM
youtube.com/watch?v=Lke3QOytgcQ&list=PLmlvkUN3-1MNKwINqdCDtTdNDjfBmWcZA
youtube.com/watch?v=9GDX-IyZ_C8