Write Your Own 64-bit Operating System Kernel #1 - Boot code and multiboot header

Поделиться
HTML-код
  • Опубликовано: 7 окт 2024
  • In this series, we'll write our own 64-bit x86 operating system kernel from scratch, which will be multiboot2-compliant. In future episodes we might expand out to other architectures and bootloaders.
    In this first episode, we write our initial boot code and also include a multiboot2 header so that it can be understood by bootloaders.
    This operating system will be primarily written in C, but we'll need some assembly as well for any of the hardware-specific code.
    All the code is available on GitHub:
    github.com/dav...
    Thanks to top Patreon supporters Helge Sverre Hessevik Liseth and Kaas at the time of uploading this video!
    Consider becoming a Patreon supporter below:
    / codepulse
    ---
    Useful resources (in no particular order):
    wiki.osdev.org/
    First edition: os.phil-opp.co...
    Latest edition: os.phil-opp.com/
    en.wikipedia.o...
    www.osdever.net...
    And some youtube videos such as:
    • 1 - How to make an ope...
    • How to Write an Operat...
    • Operating System Basics

Комментарии • 1,2 тыс.

  • @CodePulse
    @CodePulse  3 года назад +202

    *Getting an error?*
    If you are using linux or macos, use *$(pwd)* instead of *$pwd* at 3:02

    • @Emayeah
      @Emayeah 3 года назад +4

      srry i am on linux (ubuntu) but what's the command to do in ubuntu at 2:50?

    • @ropersonline
      @ropersonline 3 года назад +6

      Or just use capital letters, which is arguably more correct: $PWD

    • @finnrobinson674
      @finnrobinson674 2 года назад +2

      I am doing this on windows but I am still getting an error

    • @ropersonline
      @ropersonline 2 года назад +2

      @@finnrobinson674 Are you using the Windows syntax with the %cd% variable, on a Windows cmd command line prompt?

    • @finnrobinson674
      @finnrobinson674 2 года назад

      @@ropersonline no I’m using the $ sign

  • @mr.lo3n
    @mr.lo3n 3 года назад +1485

    I don't understand a single fuck of what is going on but i like it

    • @tulpapainting1718
      @tulpapainting1718 3 года назад +98

      You and everybody else in this industry mate

    • @bluesillybeard
      @bluesillybeard 3 года назад +12

      same lol

    • @slimbenromdhane436
      @slimbenromdhane436 3 года назад +11

      I feel you man

    • @hathuytu
      @hathuytu 3 года назад +1

      hahhaha, so much funny

    • @tusharjain9707
      @tusharjain9707 3 года назад +1

      My friend Humza also agrees with you. If I had to describe this video, it would be "MINDFUCK"! - said humza

  • @christianloizou4463
    @christianloizou4463 3 года назад +1415

    "So in here we're gonna have to do a few things. I don't even know what they do" - Literally every programmer ever.

    • @CodePulse
      @CodePulse  3 года назад +147

      😂😂😂

    • @tobb10001
      @tobb10001 3 года назад +21

      This was the one second of this video CodePulse felt like approximately 100% of his audience felt the whole time.

    • @MrEnder0001
      @MrEnder0001 3 года назад +2

      @@CodePulse I have a problem with this when I do the last step “make build-x86_64” it says “make: *** No rule to make target ‘build-x86_64’. Stop.” The rest of it works but I just can’t get this last step please help.

    • @IDunnoBM
      @IDunnoBM 3 года назад +1

      AGREED im a beginer and classes confuse the f outa me

    • @shadowstorm3158
      @shadowstorm3158 3 года назад

      Yup🤣🤣🤣

  • @networkedsapien1229
    @networkedsapien1229 3 года назад +45

    This is the kind of dopamine releasing undefiled programming content I've been looking for...this is programming bliss ...this is learning

    • @PeterLawton
      @PeterLawton Год назад

      He got arrested for distribution of bliss -- people were "dying" to see the next episode ...

  • @DarkPlaysThings
    @DarkPlaysThings 4 года назад +455

    I have never been this excited in my life :D

  • @m6xw
    @m6xw 3 года назад +166

    I am gonna love the episode 2 and btw don't give up on this series bc it's so cool

    • @NebulaDev
      @NebulaDev 2 года назад

      @YellowKiwi I dont understand any of what he said..

  • @xxMrPHDxx
    @xxMrPHDxx 4 года назад +71

    This is the best RUclips recommendation I get so far. Thank you for this 😃

    • @CodePulse
      @CodePulse  4 года назад +3

      😁😁😁

    • @Tech.Library
      @Tech.Library 3 года назад +1

      @@CodePulse any idea on how to create a kernel for my HP iPAQ glisten windows mobile phone to enable it boot android? Please help
      kolodanjuma@gmail.com

    • @andrejbartulin
      @andrejbartulin 3 года назад +1

      Poncho has better OS DEV

  • @samuelbarber5097
    @samuelbarber5097 Год назад +32

    10:02 for anyone curious, the timeout number is the number of seconds in the multiboot grub screen before it auto-boots into the default os and the default value is the os to boot into. So what the code does is tell grub to immediately boot into our os.

  • @cristianpaulnitulescu9715
    @cristianpaulnitulescu9715 3 года назад +88

    Pls don't tell me you have given up on this series, this is exactly what I need man c'mon . You are doing an amazing job would love it if you finish this.

    • @asedonii-chan8466
      @asedonii-chan8466 3 года назад +2

      Take a level in google fu then grab some av software and finish it yourself.

    • @godnyx117
      @godnyx117 2 года назад +6

      Makes sense, this is a complicated series than need a lot of effort to make and at the same time, people are not going to watch.
      Seeing the view difference between the 2 videos will show you what I'm talking about.... It's not just worth the effort. At the same time, I think that a wrong start has been made as this shows how to create just a kernel and not a whole operating system...

    • @franckmekoulou9278
      @franckmekoulou9278 2 года назад +2

      @@godnyx117 Ola !! c'est justement ce qu'on veut, on ai parfaitement au courant de la grandeur d'un projet d'os on veux certaines demarche plus ou moins complexe; donc voila on ne s'attend pas a construire un os complet ici, un moment ou un autre, on devra ce separer, mais on aura quand meme appris

    • @godnyx117
      @godnyx117 2 года назад +1

      @Alcryx I can only guess, lol!

    • @XxXwarriorXxX
      @XxXwarriorXxX Год назад

      @@godnyx117 nice pfp bro

  • @BorisBrodski
    @BorisBrodski 3 года назад +27

    This is so cool! It looks totally simple, but it is actually very hard to setup such an environment yourself. A lots of work. Nice job!

  • @Quaggabagel
    @Quaggabagel 4 года назад +9

    This is really good timing, just 5 days ago I was looking for a tutorial on how to make an OS if only I saw this which was posted the day before

  • @TheRukisama
    @TheRukisama 3 года назад +11

    Awesome video! Building an OS (and low-level programming in general) has been an interest of mine for years, but I've only ever dabbled in it. Thanks for making this! Looking forward to more in this series!

  • @theotherquou
    @theotherquou 4 года назад +7

    I wake up on my birthday to see that codepulse has made a new video! Straight to computer it is.

  • @roku1892
    @roku1892 4 года назад +16

    this is the greatest tutorial on my life, really, KEEP IT UP SIR!!!!!

  • @zgolkar
    @zgolkar 3 года назад +15

    Nuts... pure magic made understandable! Wow.

  • @0x007A
    @0x007A 3 года назад +28

    Years ago I used MS-DOS debug utility to implement a tiny operating system that was created on paper. It booted and ran a command shell which indirectly made calls to other components such as the TTY and its own file system. The entire system lived on a floppy disk. If I remember the entire operating system was less than 1024 bytes but it worked albeit limited functionality was implemented; it was just a personal project to help me learn about the boot process, the master boot record, the kernel, and the file system. I was inspired by a book that I had read and it is still on one of my book shelves.

    • @cartoons__for__kids_Hindi
      @cartoons__for__kids_Hindi 3 года назад

      Hi, can you please give me roadmap, all i know currently is basics of c , python and core Java, how can I learn to create something like a operating system

    • @0x007A
      @0x007A 3 года назад +1

      @@cartoons__for__kids_Hindi checkout the tutorial series OS Dev - S2.

    • @cartoons__for__kids_Hindi
      @cartoons__for__kids_Hindi 3 года назад

      @@0x007A that's looking really cool,btw should i learn assembly first ?

    • @yyyd6559
      @yyyd6559 4 месяца назад

      ​@@cartoons__for__kids_Hindilearn hos operating systems work first

  • @y2ksw1
    @y2ksw1 3 года назад +5

    I've written several systems, and they were the most exciting experiences I ever had. I suggest every programmer to try it at least once. As shown here, it is extremely simple. 35 years ago, I had also to write a compiler and a linker, and everything else :-)

    • @ruix
      @ruix Год назад +1

      Founding fathers of the Programming world are people like your. My respect is limitless

    • @null6482
      @null6482 Год назад

      Can you recommend me a way to get better at programming

    • @y2ksw1
      @y2ksw1 Год назад

      @@null6482 How good are you? If you have mastered C/C++ then go for Assembly.

    • @solidnywonsz
      @solidnywonsz 8 месяцев назад

      ​@@null6482 just write software lol. You'll get better overtime

  • @CodePulse
    @CodePulse  4 года назад +59

    If you get a command not found error when running qemu, make sure you have it added to your path. "C:\Program Files\qemu" on Windows.

    • @skullmusic2054
      @skullmusic2054 4 года назад +10

      Hey Bro It seems that you are the only one who is Teaching us to create huge projects from scratch, bro i really appreciate your work and I've learn a lot from you! Thanks for your support bro!
      And I can't wait for the further videos!

    • @CodePulse
      @CodePulse  4 года назад +4

      @SKUllMusic Thanks 😁

    • @kingundead4310
      @kingundead4310 3 года назад

      @@CodePulse When is the next video coming out?

    • @torjonashansen
      @torjonashansen 3 года назад +3

      Later in the course, could you give a tutorial on making a file system and a GUI for the os?

    • @CodePulse
      @CodePulse  3 года назад +1

      @@kingundead4310 In a week or two hopefully :)

  • @lbproductions6215
    @lbproductions6215 4 года назад +12

    I've been waiting so long for this!!!

  • @anolchakraborty
    @anolchakraborty 3 года назад +23

    9:56 : A real programmer 😲
    So in here we have to do a few things, i don't even know what they do.
    Rrlatable af 🤧

  • @raeesmuqthar7991
    @raeesmuqthar7991 3 года назад

    18 yrs back I wanted to build my own os and there was hardly any tut available online and the books were too complicated to understand anything... fast forwarding 2 decades I can see my need come true with less difficultly... Thanks

  • @aspectreishauntingeurope
    @aspectreishauntingeurope 3 года назад +7

    Man i am sooooo excited! I was trying to find something on this topic for so long! Keep up the amazing videos!

  • @tonyt73oz
    @tonyt73oz 3 года назад +2

    Excellent series, please keep it going.
    Some setup help for people who want to type along.
    Docker:
    * Install Docker Desktop (Windows for me)
    * Install the VS Code extension
    * Ctrl+, for settings
    * enter "docker"
    * Under Run Interactive - click "Edit in settings.json" and enter the following. Remember to change your project source folder.
    * "docker.commands.runInteractive": "docker run --rm -it -v :/root/env myos-buildenv",
    * You can now right click on the docker images\myos-buildenv\latest and choose run interactive to correctly have your container using the project source folder
    QEMU:
    * add -L "C:\Program Files\qemu" to the command line argument. Not DO NOT add a trailing \
    I found this necessary even when adding the qemu path to the system PATH environment variable.
    ie. qemu-system-x86_64.exe -cdrom .\dist\x86_64\kernel.iso -L "C:\Program Files\qemu"
    I hope this helps.

    • @CodePulse
      @CodePulse  3 года назад

      Thank you for sharing that!

  • @YsKCreations
    @YsKCreations 4 года назад +42

    Finally. 2020 is not that bad😁

    • @ansh6848
      @ansh6848 4 года назад +1

      Ya

    • @CodePulse
      @CodePulse  4 года назад +7

      😁 Let me know if the video is too complicated or too simple!

    • @YsKCreations
      @YsKCreations 4 года назад +3

      It's not that complicated😁 Thank you 🤟 ❤️

  • @berkgaffaroglu8614
    @berkgaffaroglu8614 3 года назад +2

    Even though I am a web dev, I am always curious about creating os, working with C and assembly. The tutorial is well explained. You have earned a like my friend.

  • @noam190
    @noam190 4 года назад +22

    YES KING SHOW THE WORLD HOW SMART YOU ARE SHARE YOUR KNOWLEDGE

    • @noam190
      @noam190 4 года назад +2

      wow he actually noticed me :o :D
      pog moment

    • @CodePulse
      @CodePulse  4 года назад +1

      Hello

    • @noam190
      @noam190 4 года назад

      @@CodePulse HI

    • @CodePulse
      @CodePulse  4 года назад

      Hello again

    • @trungthanhbp
      @trungthanhbp 3 года назад

      @@CodePulse hello, more video bro

  • @-sarangpark5750
    @-sarangpark5750 4 года назад +2

    I waited for a year for this series, I am so excited!!!

  • @ansh6848
    @ansh6848 4 года назад +4

    Yeah! SUPER excited for this!! 😍😍

    • @CodePulse
      @CodePulse  4 года назад +1

      Great! Let me know if the video is too complicated or if I am explaining too much

    • @ansh6848
      @ansh6848 4 года назад +2

      @@CodePulse Great Your explanation is too good.. KEEP IT UP! 😍😍👍

    • @ansh6848
      @ansh6848 4 года назад +1

      @@CodePulse But I will be more excited if you have created this OS using C++

    • @CodePulse
      @CodePulse  4 года назад +1

      @@ansh6848 Hmmm, I always could use C++, but I don't think it's necessary. I prefer C when working this low-level.

  • @nicholassattaur9964
    @nicholassattaur9964 3 года назад +1

    Best RUclips suggestion ever!! I've been looking for this information for a long time and now I've found it!

  • @Dan123TheStarman
    @Dan123TheStarman 3 года назад +3

    Thank you CodePulse for finally getting me to use Docker (had to do it on my laptop, because it won't work on my desktop; long story!) BUT it's quite easy to do all this in a WSL install of Ubuntu 20.04 LTS by adding the "Remote WSL Extension" for VS Code! The only thing you need to do first before starting the video is: "sudo apt install build-essentials". Then just put the "os-series" etc. folders under your "home/username" directory. I spoke too soon: You will also need to edit the Makefile since it uses "x86_64-elf-gcc" instead of only "gcc" and "x86_64-elf-ld" instead of only "ld" (or simply set up an alias for those).

  • @KennedyOtieno1944
    @KennedyOtieno1944 3 года назад

    The algorithm understood the assignment... Exactly what I wanted to get my hands on during this lockdown period... 💪🏿

  • @kingundead4310
    @kingundead4310 4 года назад +3

    I have been looking for an Episode like this for so long thank you so much!

  • @sortof3337
    @sortof3337 3 года назад +1

    Nice nice. I used your programming language tutorial to spin my own programming language project. I m sure this will be equally awesome. Thank you for this tutorial

  • @skilless935
    @skilless935 3 года назад +58

    Why am I watching this, I just learned to display "Hello World"

    • @brhh
      @brhh 3 года назад +7

      I've been into web development for more than a year and as a full stack web developer I can tell you I can't understand a single line he's writing lol

    • @JohnSmith-ox3gy
      @JohnSmith-ox3gy 3 года назад

      Goals people, goals!

    • @GuardianRexs
      @GuardianRexs 3 года назад

      Pr0

    • @johnnypiquel2295
      @johnnypiquel2295 3 года назад +1

      @@brhh figures considering os development is well os development

    • @annasofienordstrand3235
      @annasofienordstrand3235 3 года назад +1

      @@brhh That's because webshits don't understand anything

  • @haiguyzimnew
    @haiguyzimnew 3 года назад

    I really like how you explain what it is you're typing and why.

  • @billy-cg1qq
    @billy-cg1qq 3 года назад +7

    Just vibing here, it's 2am and i'm watching this like the man that creates home in the middle of the forest. Docker! Is it like duck, duck. Ok never mind

  • @ankitraj4991
    @ankitraj4991 3 года назад +2

    sir please make a video on prerequisites and roadmap for how to make an OS! So much love and support to you. Thanks for free and quality education. love from INDIA

  • @deltakid0
    @deltakid0 3 года назад +9

    2:08 for the sake of correctness, you don't compile assembly code, you *_assemble assembly_* code, you compile a compiled language like C.

    • @sb_dunk
      @sb_dunk 3 года назад +2

      Compile (verb):
      Convert (a program) into a machine-code or lower-level form in which the program can be executed.
      I think you're being too pedantic, by this definition it's still correct to talk about "compiling" assembly code.

  • @vrjb100
    @vrjb100 3 года назад +1

    Andrew Tanenbaum has a grand child in his works! Interesting series to watch.

  • @s1nister688
    @s1nister688 3 года назад +3

    Please don't stop like most RUclipsrs do amidst the tutorial series. When can we expect part 2?

  • @dreamhollow
    @dreamhollow 9 месяцев назад

    Thanks for this.
    I've been doing research on CPUs and kernel level operation for a few months now, but I wasn't sure where to start.
    This helps clear up some things I was still not clear on.

  • @logix8969
    @logix8969 4 года назад +81

    Note: That "docker run" command near the start doesn't work if VSCode is using PowerShell as the terminal. Switch to command prompt (click the plus button next to the dropdown list and if you're asked to choose a default terminal, choose Command.

    • @fionnmcgovern545
      @fionnmcgovern545 3 года назад +2

      I ran the docker build buildenv -t command and it said docker didnt exist (this is in cmd btw)

    • @donovanelliott9060
      @donovanelliott9060 3 года назад +1

      Did you download docker

    • @johnparker1754
      @johnparker1754 3 года назад +3

      Replacing %cd% with ${PWD} also works to let you continue using powershell

    • @CodePulse
      @CodePulse  3 года назад +4

      @@fionnmcgovern545 Did you download and install docker? Also you might have to manually start docker. You might need to restart your PC too.

    • @CodePulse
      @CodePulse  3 года назад +4

      You can also keep using PowerShell using the command here if anyone wants to: github.com/davidcallanan/os-series/issues/38

  • @zigginzag584
    @zigginzag584 3 года назад

    My mind is running wild with the possibilities.
    Will definitely come back when I have a solid chunk of time to dedicate to this.

  • @Adrian-re9fh
    @Adrian-re9fh 3 года назад +4

    This is amazing!. A programmer dream coming true hehe.
    Keep up the good work plss. :)

  • @RakshithPrakash
    @RakshithPrakash 3 года назад +2

    Wow youtube recommended just what I needed, thanks man please make more videos!

    • @CodePulse
      @CodePulse  3 года назад +1

      More to come soon!

  • @JackMCGamerAnimations
    @JackMCGamerAnimations 4 года назад +7

    Wow, this is going to be awesome!! I'm interested in C stuff and I'm so glad you are making an OS tutorial!! Will this work in Ubuntu?

    • @CodePulse
      @CodePulse  4 года назад +2

      Should work on any OS since I'm using docker.

    • @JackMCGamerAnimations
      @JackMCGamerAnimations 4 года назад

      @@CodePulse Well I am getting errors when I build the docker, and how did you simply make the terminal in VS Code start with "$"

    • @CodePulse
      @CodePulse  4 года назад

      @@JackMCGamerAnimations What are the errors? On windows you can use "prompt $$" command to do that, I'm not sure if you can do this on Ubuntu.

    • @xxMrPHDxx
      @xxMrPHDxx 3 года назад

      @@JackMCGamerAnimations You can just run those commands in Terminal (CTRL + ALT + T)

    • @CodePulse
      @CodePulse  3 года назад +1

      If anyone is having errors with building, try use one of these commands when entering docker environment: github.com/davidcallanan/os-series/issues/38

  • @prasaddixit4065
    @prasaddixit4065 3 года назад

    I have not completed even first 2 minutes watching this video and i really don't know what lies ahead in this and the other subsequent videos. BUT I am feeling like i am already on top of the world ! The title itself is sooo crazy .. i am super excited to learn this ! THANK YOU VERY MUCH !

  • @noam190
    @noam190 4 года назад +4

    tbh excited to the c/c++ part gonna be more interesting
    still interesting tho
    :D

  • @pritamhalder5962
    @pritamhalder5962 3 года назад +1

    whatt ! a OS programming tutorial on RUclips 😲
    gawd or wot 🔥

  • @noam190
    @noam190 4 года назад +8

    It is just a matter of time when this dude overtakes every operating system lmao

  • @NeZversSounds
    @NeZversSounds 3 года назад +1

    Feck yeah! At last perfect step-by-step OS dev video tutorial.... almost perfect, no step how to get Docker running 2:36

    • @Kurabaga
      @Kurabaga Месяц назад

      Hey had the same problem you got to open virtualisation sorry if I'm late

  • @UrzuaNicolas
    @UrzuaNicolas 4 года назад +2

    🤯 amazing video, waiting for part 2!!

  • @jaysonedson
    @jaysonedson 3 года назад +4

    timeout=0 default=0 in grub means that it will select the first entry right away instead of showing the boot menu and letting you select an entry to boot.

  • @DeltaNrOne
    @DeltaNrOne 3 года назад +1

    I have one word for this video “magic!”

  • @phineasg7709
    @phineasg7709 3 года назад +14

    set timeout and set default have to do with the UI that grub presents. timeout is the amount of time before grub automatically boots into default.

    • @cartoons__for__kids_Hindi
      @cartoons__for__kids_Hindi 3 года назад

      Now thinking about it, was that guy joking or he really didn't Know 😅

    • @CodePulse
      @CodePulse  3 года назад

      @@cartoons__for__kids_Hindi I didn't, but now that I do it's obvious.

  • @MrMatthijsr
    @MrMatthijsr 3 года назад +1

    YES! I've been wanting to do something like this for weeks now, this video is a great starting point thanks!

  • @CodePulse
    @CodePulse  3 года назад +117

    If you're looking for server hosting check out Vultr using my affiliate link below to support my channel and get $10 credit. I've been using their services for a while and they have great price/performance.
    www.vultr.com/?ref=8330534

    • @RayTech18
      @RayTech18 3 года назад

      I used to do lua scripting but I got used to c++ bc of u. thx!

    • @Oxey405
      @Oxey405 3 года назад

      So if this is a new kernel this is not based on linux kernel and then it means that we can't run linux programms on it right ?

    • @Tech.Library
      @Tech.Library 3 года назад

      Hello, I have an old HP ipac glisten windows phone. I want to put android but I need to get its kernel to make it boot android. Where do I start?

    • @penguinpolaronyoutube5887
      @penguinpolaronyoutube5887 3 года назад

      did u notice my 2nd comment?

    • @Tech.Library
      @Tech.Library 3 года назад

      @@penguinpolaronyoutube5887 I. Could not find the comment

  • @YunoBillie
    @YunoBillie 3 года назад

    I like how incredible vague this guy is and automatically expects to configure docker and doesnt give any paths what so ever. its like docker and this emulation is there and well figure out as we continue and copy and paste with a few changes of variables 10 outta 10 on making anyone completely oblivious

    • @CodePulse
      @CodePulse  3 года назад +1

      I didn't think it would be that difficult to install docker. I am teaching how to write an OS kernel, not how to install programs.
      The only configuration necessary is that you might need to add a shared drive, which I did show how to do in this video.
      Unfortunately the UI for that step has already changed, so my video is now outdated.
      That is exactly why I don't cover these details, because they are prone to change and make my videos outdated.
      If you have problems, you can always ask a question in the comment section. Otherwise you can just read the official docker documentation for the most up-to-date information.

  • @maybeoliv6235
    @maybeoliv6235 3 года назад +7

    HELP! 14:40, when entering command “make build-x86_64” I get the error “make: *** No rule to make target ‘build-x86_64’. Stop”. What do I do

    • @dodderss
      @dodderss 3 года назад +3

      You need to do docker run --rm -it -v $(pwd):/root/env myos-env to get into your docker instead.

    • @maybeoliv6235
      @maybeoliv6235 3 года назад +2

      @@dodderss thanks

    • @CodePulse
      @CodePulse  3 года назад

      ​@@maybeoliv6235 For other operating systems: github.com/davidcallanan/os-series/issues/38

  • @MaksymOliinyk-z5u
    @MaksymOliinyk-z5u 3 года назад +1

    After watching this video I clearly saw a gap between guys like back/front-end web developers and people who really understand what the programming is all about.

  • @soulextracter
    @soulextracter 3 года назад +11

    Like everyone else here, I enjoy watching this, but I don't really understand what is going on most of the time. Could you recommend some sources for written information if one would want to deep dive in this stuff?

    • @CodePulse
      @CodePulse  3 года назад +2

      There's a good few links in the description you can have a look at

    • @vrjb100
      @vrjb100 3 года назад +1

      The books of Andrew Tanenbaum. He created the minix os. His book on this explains every detail of os design. Linus Trovalds picked this one to make linux.

  • @SamDy99
    @SamDy99 3 года назад

    My brain's got Bigger just by watching the video. MARVELOUS

  • @indrajitpatil4999
    @indrajitpatil4999 4 года назад +5

    Cool

  • @Senda98
    @Senda98 3 года назад +1

    After years of longing for this.. finally my brain cells are excited 😆

  • @jake-xz9jw
    @jake-xz9jw Год назад +3

    What are good alternatives for the Docker-Image? The one used is not working for me

  • @eXfilPr4tik
    @eXfilPr4tik 3 года назад +1

    EXCITATION LEVEL 100, iamgoingtomakemyownOS !

  • @xter13
    @xter13 3 года назад +4

    Help it gives me No rule to make target 'build-x86_64'. Stop. error lpease help :(

    • @pvisit
      @pvisit 3 года назад

      The same for me, but only when building through Ubuntu

    • @CodePulse
      @CodePulse  3 года назад

      Change $pwd to $PWD in the command for entering the docker container. I got it wrong in the video. github.com/davidcallanan/os-series/issues/38

  • @undefined1470
    @undefined1470 4 года назад +1

    Aswome video! Hope next episode will be out very soon.

  • @blackasthesky
    @blackasthesky 3 года назад +1

    This is awesome! I will be looking forward for more!

  • @SkyenNovaA
    @SkyenNovaA 2 года назад +1

    Awesome video, a great starting point for those wanting to learn low level programming

  • @अण्वायुवरीवर्त

    Wowowo I don't even have the CS IT nor EE Background yet this throbs me, straight into the weekend playlist.

  • @XxLocodragonxX
    @XxLocodragonxX 3 года назад +1

    this is so cool, gonna watch and implement along with you

  • @ivaldirbatalha5436
    @ivaldirbatalha5436 3 года назад +1

    Very humble and some great content, thank you and keep it up

  • @EinSatzMitX
    @EinSatzMitX 2 месяца назад +1

    4:31 small correction: the BIOS IS actually the First Thing that Starts in your machine, then that searches for executable Code in the so called Boot Sector of your hard Drive. Normally that ist where the bootloader IS located and the bootloader then Starts the Rest of the operating system.

  • @martygusto3056
    @martygusto3056 3 года назад

    I cannot express how useful your channel is

  • @wertuxhd6201
    @wertuxhd6201 2 года назад +1

    For people having trouble in Windows..
    Here is the code for docker env:
    Windows Powershell: docker run --rm -it -v "${pwd}:/root/env" myos-buildenv
    Windows CMD: docker run --rm -it -v "%cd%":/root/env myos-buildenv
    I had error with cmd so simply used powershell and worked fine.
    Also for those who have qemu-system-x86_64 is not recognized as the bla bla... You have to go This Pc > Properties > Advanced Settings > Environment... > Path (Edit) then add C:\Program Files\qemu to the path. Your problem is fixed. I hope this helps you stay safe!
    Edit: After adding the path, move it up to the first row. That is important!

  • @trungthanhbp
    @trungthanhbp 4 года назад +2

    nice bro, cant wait for this series xD

  • @shreedaghatpande1878
    @shreedaghatpande1878 3 года назад

    This proves that to learn anything a programmer will definitely start with print hello, world.
    Great video btw

  • @puspamadak
    @puspamadak 3 года назад

    This seems amazing to me. I can finally learn how a computer actually works!

  • @michaelvanderbeek6869
    @michaelvanderbeek6869 3 года назад +1

    Did something like this on a 68000 processor way back in 1998. Multithreaded preemptive OS.. in machine language. During University days. Worst part, we had the build the 68000 computer from scratch first with ram/eprom/serial ports.. etc. These were the days before linux had kernel 0.8.

  • @priyanshukumarpu
    @priyanshukumarpu 3 года назад

    I'm glad it showed up in my recommendation

  • @lbirkert
    @lbirkert 3 года назад +1

    This is really helpfull ! Please consider this series

  • @zuruckvor4994
    @zuruckvor4994 Год назад

    This is not my construction site but I admire your work! Back then I did PC internal hardware programming, it was too hard and dry for me!
    Maybe this will result in new approaches for a truly modern operating system instead of millions of Linux derivatives.
    A completely reprogrammed operating system without the burden of backwards compatibility would be something!

  • @tatterdemalion898
    @tatterdemalion898 3 года назад

    Very good work! I will be checking out the second part soon.

  • @climbeverest
    @climbeverest Год назад

    Exactly what I was looking for, you should put bdos and bios in the hashtags to enable finding this easier

  • @TheRedAstro
    @TheRedAstro 3 года назад

    This is highly ambitious. Love it!

  • @thesecondsage
    @thesecondsage 3 года назад

    Sir, I didn't know i could feel such a euphoric feeling without taking drugs... I'm glad i found this channel

  • @bharatheshjaishankar9773
    @bharatheshjaishankar9773 3 года назад +1

    This sir is genius

  • @ruadeil_zabelin
    @ruadeil_zabelin 3 года назад

    Clear and to the point. I like it. Very nice.

  • @saeedmahmoodi7211
    @saeedmahmoodi7211 3 года назад

    finally a channel that forced me to turn off the add block, so deserved

    • @CodePulse
      @CodePulse  3 года назад

      Wow thanks :) I didn't know ad block still worked on RUclips

    • @saeedmahmoodi7211
      @saeedmahmoodi7211 3 года назад

      @@CodePulsei cant wait for next episodes man, will you continue?
      and also please make and episode for describing x86_64 instructions

  • @laljohn
    @laljohn 3 года назад +1

    This is awesome Waiting for the new one

  • @my_j.a.r.v.i.s.
    @my_j.a.r.v.i.s. 3 года назад

    Some videos are really made for recommending. THIS IS THE ONE !

    • @CodePulse
      @CodePulse  3 года назад

      Thanks youtube algorithm :)

  • @godnyx117
    @godnyx117 4 месяца назад

    That's awesome! Thank you so much!

  • @PeterRichardsandYoureNot
    @PeterRichardsandYoureNot Год назад

    “Turty-two bit memory”. Could listen to your voice all day long!

  • @voidshell6273
    @voidshell6273 3 года назад

    Really cool ... & funny how the makefile is the most complicated

    • @CodePulse
      @CodePulse  3 года назад +1

      Makefiles do get complicated haha!

    • @null5573
      @null5573 3 года назад

      I died at making rules in makefile part

  • @soumalyakundu2354
    @soumalyakundu2354 3 года назад +1

    Just do it bro! You are just awesome

  • @BlensonPaul
    @BlensonPaul 3 года назад

    so much info in 1 video , awesome..

  • @DuffkaBigNerd
    @DuffkaBigNerd 3 года назад

    CodePlus is just any programming channel *but way cooler*
    Like name another channel that shows how to make a goddamn kernel

  • @prasada7650
    @prasada7650 3 года назад

    Pls do continue the series of kernel development

  • @todortodorov940
    @todortodorov940 3 года назад +1

    Finally, I can replace Windows, Linux and Macos with my own OS. As we all know, home made is better that industrial products.