Write Your Own 64-bit Operating System Kernel #2 - Stack, long mode and printing using C code

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • 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/dav...
    Consider becoming a Patreon supporter below if you'd like me to continue to spend time creating these videos:
    / 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.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

ความคิดเห็น • 856

  • @AshiqurRahman
    @AshiqurRahman 3 ปีที่แล้ว +548

    Finally found a guy who answers our question in stack overflow

    • @simonfj20
      @simonfj20 3 ปีที่แล้ว +45

      when the tech suppport needs tech support

    • @antoniofuller2331
      @antoniofuller2331 3 ปีที่แล้ว +13

      A hacker trying to hack a hacker

    • @cocosloan3748
      @cocosloan3748 3 ปีที่แล้ว +2

      I have Saphire Nitro PLUS - not PULS ! ITS DIFFERENT !!!

    • @hackersareherewhereareyou
      @hackersareherewhereareyou 2 ปีที่แล้ว

      @@antoniofuller2331 yup

  • @davidhernandeze
    @davidhernandeze 3 ปีที่แล้ว +487

    Windows : please activate your license
    me: time to start my own os

    • @pitust
      @pitust 3 ปีที่แล้ว +10

      Just burn arch onto a pendrive.

    • @G-u-z-i-o
      @G-u-z-i-o 3 ปีที่แล้ว +4

      That's the very thing I wanted to say. Damn, you were faster.

    • @ready-player-6945
      @ready-player-6945 3 ปีที่แล้ว +11

      @maDeveloper maybe in your dreams

    • @dbwt22
      @dbwt22 3 ปีที่แล้ว +4

      @maDeveloper how so?

    • @psychoticgamer6853
      @psychoticgamer6853 3 ปีที่แล้ว +4

      @@dbwt22if Windows is sniper,
      Linux is nuclear weapon

  • @gigog27
    @gigog27 3 ปีที่แล้ว +309

    please continue this series, we will watch it with great interest

    • @x86debug
      @x86debug ปีที่แล้ว +4

      @@sillygoose1030 because he is the average programming youtuber

    • @sastashroud7646
      @sastashroud7646 ปีที่แล้ว

      what does it mean?@@x86debug

    • @x86debug
      @x86debug 11 หลายเดือนก่อน

      @@sastashroud7646 you lack any critical thinking and it shows

    • @sastashroud7646
      @sastashroud7646 11 หลายเดือนก่อน

      @@x86debug I'm in 12th just started programming though

  • @S3tekh
    @S3tekh 3 ปีที่แล้ว +369

    Windows: *windows activation label appears*
    CodePulse: Challenge accepted.

    • @mrgummage
      @mrgummage 3 ปีที่แล้ว +35

      Fine, I'll just make my own operating system with Blackjack and hookers!

    • @hariranormal5584
      @hariranormal5584 3 ปีที่แล้ว +2

      Or just use GNU :P

    • @echoptic775
      @echoptic775 2 ปีที่แล้ว +2

      @@hariranormal5584 Its actuallt gnu/linux

    • @dominikmazurek753
      @dominikmazurek753 2 ปีที่แล้ว +1

      @@echoptic775 GNU ain't Linux tho

    • @nezdanchickkun
      @nezdanchickkun 5 หลายเดือนก่อน

      @@echoptic775 systemd/gnu/linux

  • @toyvo
    @toyvo 3 ปีที่แล้ว +416

    This is such an interesting project, I wish this stuff was taught in my operating systems course. I'm really glad you didn't give up on this little series.

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +47

      Thank you :)

    • @toyvo
      @toyvo 3 ปีที่แล้ว +2

      @@javidfarhan1675 it will obviously depend on your university/college and your professor, but at mine the os course was used for both computer science and computer engineering and so as a result it wasn't focused enough for either study because each study is wanting a different thing. In the beginning of the course we focused on hardware logic gates and the study of boolean math, while the latter part of the course we did some programming but we really just ran performance tests on code ran with and without using threads (using java in an os course and slightly talked about c and c++) and it finally got interesting when we were learning about piping the output of one program to the input of another.

    • @juzujuzu4555
      @juzujuzu4555 3 ปีที่แล้ว +2

      @@CodePulse This series is just awesome, as the number of views on these videos shows. I really hope you continue, I can see this series inspire new people to enter into kernel programming.

    • @linuxwithaman4890
      @linuxwithaman4890 3 ปีที่แล้ว

      Where did you get an operating system course, through a University or online 🤔

    • @TacticalAllRounder
      @TacticalAllRounder 3 ปีที่แล้ว

      @Powersoft RIP

  • @GraemeWoller
    @GraemeWoller 3 ปีที่แล้ว +183

    Watching this made me feel both smarter and dumber. It was glorious!

    • @bpbrainiak
      @bpbrainiak 3 ปีที่แล้ว +4

      fell you bro!

    • @trueriver1950
      @trueriver1950 3 ปีที่แล้ว +13

      Good education always has that double effect. The more you know the more you discover is still to learn.
      Avoid the channels that make you feel like you've totally arrived

    • @mateo1466
      @mateo1466 3 ปีที่แล้ว +6

      @@trueriver1950 and also avoid the channels that only make feel stupid

  • @Schwuuuuup
    @Schwuuuuup 3 ปีที่แล้ว +71

    While fast, I find this style of presentation excellent! If something is unclear, I con always rewind or pause... but no time get wasted for explaining things over and over. Also I really liked the sentence "If you don't understand it yet, accept it as is for now, you can come back to this when you are ready" (paraphrasing), I think I steal it for my own courses

  • @DarkPlaysThings
    @DarkPlaysThings 3 ปีที่แล้ว +153

    Yes! Just what I needed in lockdown.

  • @kevinalanmartinezvirgen1120
    @kevinalanmartinezvirgen1120 3 ปีที่แล้ว +1

    Please, don't stop making this series

  • @mohammad4388
    @mohammad4388 3 ปีที่แล้ว +74

    The only coding TH-cam channel that doesn’t make me skip any parts like other ones. This guy needs a job at Google

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +23

      Glad to hear that! I was worried that this episode had some boring and complicated parts in it.

    • @skilz8098
      @skilz8098 3 ปีที่แล้ว +31

      Forget Google and having a Job at some already established corporation... I would suggest starting and building his own Corporation!
      Next up, building a custom OS for Risc-V CPU architectures!

    • @mohammad4388
      @mohammad4388 3 ปีที่แล้ว +7

      @@skilz8098 exactly

    • @yournemesis8232
      @yournemesis8232 3 ปีที่แล้ว

      @@CodePulse no bro, you explained it beautifully. Waiting for the next part

    • @i6ey
      @i6ey 2 ปีที่แล้ว

      @@yournemesis8232 i dont think there's gonna be a next part

  • @youreperfectstudio4789
    @youreperfectstudio4789 3 ปีที่แล้ว +46

    Can’t wait for the next entry!

  • @armandoalamilla
    @armandoalamilla 3 ปีที่แล้ว +17

    Wow, it's amazing. There are few videos on youtube explaining how to make an operating system, please, send more videos about projects like this with asm and c.

  • @PaulPassarelli
    @PaulPassarelli ปีที่แล้ว +1

    I'm so jealous. We had to wait for the card to signal that it was instructing the display to retrace the electron beam from right to left. We accomplished that by polling the CGA adapter's refresh I/O port to prevent the display from going all snowy if video RAM was written to while the card was painting a horizontal scan line on the tube. We had to do that because the RAM on those old CGA cards wasn't dual port. It was a breath of fresh air when the newfangled EGA adapters allowed us to skip that tedious step, and text printing rates tripled!
    Thanks for the trip down memory lane. It's probably been 35 years since I created a .bss, .text, .code, .data, or .stack section.

  • @whoman0385
    @whoman0385 6 หลายเดือนก่อน +3

    I think keyboard input should be on part 3, its pretty important for an os to have an input method

    • @KapPetrovLol
      @KapPetrovLol หลายเดือนก่อน

      You need an IDT and GDT befor that.

  • @lefteriseleftheriades7381
    @lefteriseleftheriades7381 3 ปีที่แล้ว +1

    This is easy to follow and understand. I think the level of detail is just right!
    Excellent work :)
    Suggestions for the next videos:
    -read keyboard input
    -malloc
    -hard disk driver
    -32bit graphics
    -multi tasking

  • @danm2092
    @danm2092 2 ปีที่แล้ว

    Please come back to this series @CodePulse. You did incredible with it and taught many of us so much!

  • @nixcc1628
    @nixcc1628 3 ปีที่แล้ว +9

    Can't wait for the next video on this topic, the editing is just amazing

  • @ben65797
    @ben65797 3 ปีที่แล้ว

    I’ve followed multiple tutorials on how to do this but they all just stay in 16bit mode and or quit before anything interesting was made, thank you for this!

  • @henson2k
    @henson2k 3 ปีที่แล้ว +22

    Support for some kind of keyboard input would be really nice!

  • @skullmusic2054
    @skullmusic2054 ปีที่แล้ว +4

    Hey there man! I highly encourage you to continue this series and lead a way to create a full fledged OS with GUI, It's going to be hard, but i know it's gonna be worth it, cause you're the only one, who's actually working and teaching us to create things we use, from scratch, i really love that!

  • @BorisBrodski
    @BorisBrodski 3 ปีที่แล้ว +1

    Amazing stuff!
    A friend and me were writing our own OS back in 2000. It was using i386 protected mode, starting and returning to DOS, loading our own mouse driver and using some optimized memory allocation for internal needs.
    We also got scheduler to work. Accessing HDD without any BIOS calls would be the next challenge for us...

    • @henson2k
      @henson2k 3 ปีที่แล้ว

      I tried in 1994 but then Windows 95 showed up and I gave up ;-)

    • @BorisBrodski
      @BorisBrodski 3 ปีที่แล้ว

      @@henson2k :) Windows 95 was actually the best motivation to build something new. Almost all, what you could build would be better :-D

  • @loafingcoffin1030
    @loafingcoffin1030 3 ปีที่แล้ว +3

    I'm really glad I happened to stumble across this series of videos!

  • @ibm9117
    @ibm9117 3 ปีที่แล้ว +5

    Man, this brought tears to my eyes. This is beautiful. You have restored my faith in humanity. True programmers still exist. I feel 20 again...

    • @angelcaru
      @angelcaru 3 ปีที่แล้ว

      What do you mean by "true" programmers? Do you mean writing code in assembly language? Because if so, you have the wrong picture.

  • @DarioCazzani
    @DarioCazzani 3 ปีที่แล้ว +4

    Awesome videos, thank you so much for sharing them.
    Could you do an episode (or more) for ARM architectures? 🙏

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +4

      Thanks, I'll get to that eventually

    • @aswath1144
      @aswath1144 3 ปีที่แล้ว

      Good suggestion

    • @DarioCazzani
      @DarioCazzani 3 ปีที่แล้ว

      Awesome! Looking forward to it!

  • @strangelpeaceful
    @strangelpeaceful 2 ปีที่แล้ว +2

    These videos are amazing. They're concise, no bs and just anything you need to know without any open endings. Keep it up dude!

  • @TechCreatorsHub1
    @TechCreatorsHub1 3 ปีที่แล้ว +25

    You are lit bro, please continue this series.

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +7

      Thanks!

    • @julesl2087
      @julesl2087 3 ปีที่แล้ว

      Donate if you want more !

  • @helidrones
    @helidrones 3 ปีที่แล้ว +3

    Man, you made me want to get back to assembly language. I fiddled around with GDT, IDT and LDTs back in the late 1980s right before the 386 made things so much easier. Looking forward to the next episode.

  • @not_herobrine3752
    @not_herobrine3752 3 ปีที่แล้ว +1

    please dont give up on this series, its pretty interesting despite me understanding not even a quarter of it

  • @gregorpurdy
    @gregorpurdy 3 ปีที่แล้ว +10

    Very interesting first two episodes; thanks for doing this! I noticed at about 23:49 you call clear_row(NUM_COLS - 1) and that should be clear_row(NUM_ROWS - 1) to clear out the bottom row of the screen as the last step of scrolling things up. Looking forward to Episode 3!

  • @gavyeah9866
    @gavyeah9866 27 วันที่ผ่านมา +2

    CodePulse Please continue this Series it is really good and my os is barely done i only have some text on the screen

  • @gabrielmansano
    @gabrielmansano 3 ปีที่แล้ว

    I'm a beginner C++ programmer and while I don't understand most of what's going on I appreciate the content because that's not an easy thing to do, even so while explaining it in such a way that makes it sounds so easy. Thanks for sharing this.

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว

      Thank you. Yeah I always try make it feel easy even if it's not.

  • @drdopesec
    @drdopesec 3 ปีที่แล้ว +1

    Just to add something, instead of
    MOV EAX,0
    use -
    XOR EAX,EAX
    as XOR is more efficient and fast. (instead of moving zero, we can xor any register from itself so get same result faster.)

  • @MaxTheDragon
    @MaxTheDragon 3 ปีที่แล้ว +1

    At 21:55, in the *print_char* function,
    if (col > NUM_COLS)
    should be:
    if (col >= NUM_COLS)
    because the col number starts from 0 and so is already past the screen border at 80.

  • @Ilovecarrot
    @Ilovecarrot 3 ปีที่แล้ว +1

    this is speechless.... after watching.... i think i know something about the thing I use everyday. **PLESE CONTINUE THIS SERIES**

  • @anisht1838
    @anisht1838 3 ปีที่แล้ว +1

    Great work broi, waiting for next episode. Hope, one day you would add network socket, assign an ip, create a listener service, and serve some web pages as well. Keep it up.

  • @nitroflap
    @nitroflap 3 ปีที่แล้ว +4

    This looks nice. I was writing (and want to still write) my own operating system and was looking forward to try x64 mode. Great video!

  • @juliust.5650
    @juliust.5650 3 ปีที่แล้ว +5

    Being that you already have the print function for output, it's time to setup the input. Implement the command line and the first command, echo. You should then implement a file system and move accessing the command line input and echo output into a shell program. After that you'll need to setup output redirection for your shell program so that you can echo to/from a file/program. Then maybe you'll want to create an assembler :)
    Enjoying this series, looking forward to more. Will check out your other videos too! o7

    • @KimTiger777
      @KimTiger777 3 ปีที่แล้ว

      I like this idea as this could be like good old DOS just an extremely simple one. Perfect for makers/tinkers to create their own customized OS. Like for instance OS which only purpose is to use the serial port data like from a multimeter/oscilloscope etc.

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +4

      I'll probably leave the shell to be a userspace program, and userspace can't be implemented until there is memory and process management, and drivers. I'm considering making some test code though that takes keyboard input in the next episode, but it won't be anything permanent.

  • @gamer_si
    @gamer_si 3 ปีที่แล้ว +5

    WE NEED PART 3! YOU ARE AWESOME!

  • @coderebel3568
    @coderebel3568 ปีที่แล้ว

    Ohh that's really cool! I experimented a few years ago with writing a little bootsector program and putting it on a disk, making the partition bootable and then booting from it. But this goes quite a bit further. Please continue the series! You could make a memory manager, preemptive scheduler, graphics driver, mouse and keyboard support, sound, etc..

  • @CaioAletroca
    @CaioAletroca 3 ปีที่แล้ว

    I wish this video existed when I hang around custom kernel 2 years ago.
    Maybe the next episode could be about setup the interruptions for keyboard input, I never managed to get this to work.
    Awesome video and good quality content!!

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +1

      I think I will do keyboard input in the next episode

  • @RobinGugel
    @RobinGugel 3 ปีที่แล้ว +1

    I always wanted to see code down to the bare level, so nice!

  • @raphaelchen1282
    @raphaelchen1282 ปีที่แล้ว +1

    Please continue this series! I want to know how to add user input via keyboard!

  • @lukemehl.c.7493
    @lukemehl.c.7493 3 ปีที่แล้ว

    Why didn't I find this video sooner? This is by far the best step by step OS prototyping I have seen on youtube.. Cheers!

  • @666CoDFREAK
    @666CoDFREAK 3 ปีที่แล้ว +4

    You've gained yourself a new sub, incredibly valuable content for building a fundamental understanding of how an os actually operates to the core or kern :)

  • @Dan123TheStarman
    @Dan123TheStarman 3 ปีที่แล้ว

    For those who really like to know what you've seen here: Your PC or QEMU or Bochs or Virtual PC or VMWare or whatever emulator you use, are FIRST booting up into the GRUB rescue boot-loader; _not_ CodePulse's "os". To see some of the GRUB stuff, in the "grub.cfg" file change timeout to: "set timeout=20" (There are other tutorials which will show you how to boot directly into your own code; most using a floppy disk image!)

  • @kingundead4310
    @kingundead4310 3 ปีที่แล้ว +1

    I have been trying to make my own os using just an assembler and a c compiler. Which is pretty hard. So glad software makes this easier.

  • @ryanjeffares8238
    @ryanjeffares8238 3 ปีที่แล้ว

    Just stumbled across your channel this morning, this and the language series are EXACTLY what I've been wanting to do recently - incredible videos, thank you and very much looking forward to more!

  • @charlielighting1
    @charlielighting1 3 ปีที่แล้ว +2

    Please make ep3
    This series is so helpful

  • @BashingDinosaurs
    @BashingDinosaurs 3 ปีที่แล้ว +1

    This is a great series. I would love to see this continue and see the creation of an OS with a scheduler etc.

  • @arisweedler4703
    @arisweedler4703 3 ปีที่แล้ว +7

    I think it would be cool to write a simple text editor :D Something like 'ed'. Anything interactive that needs to be responsive seems tough. And you'd need a file system before a file editor. A super basic shell would also be rad. Oh man! This is so cool! How lucky I am to own a computer!!

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +16

      I'm thinking of doing basic keyboard input in the next episode along with implementing memory allocation functions. With that I could create a simple text editor or something along those lines. But no saving of course for now since there's no file system.

    • @thatgurkangurk
      @thatgurkangurk 3 ปีที่แล้ว +1

      @@CodePulse WAIT, are you doing more YAY, when is it coming

    • @whoami6107
      @whoami6107 3 ปีที่แล้ว

      @@thatgurkangurk pretty soon I guess

    • @Lualt
      @Lualt 3 ปีที่แล้ว

      @@whoami6107 has it been soon yet

    • @outofstepbaritone
      @outofstepbaritone 2 ปีที่แล้ว

      @@CodePulse Yes.

  • @ratulsaha9487
    @ratulsaha9487 3 ปีที่แล้ว +8

    Comeon its been ages since this episode. We want the 3rd part!!!!!!!!!!!!!!!!!

  • @joechang8696
    @joechang8696 3 ปีที่แล้ว +2

    totally thrilled to know that assembly is still alive

  • @stoorps
    @stoorps 3 ปีที่แล้ว +2

    I've been wanting to tinker with OSes for a while now, and you just cut the cost of entry (time) down to a point where I'm going to actually give it a go.
    Thank you very much, keep up the great work mate :)

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +1

      Thank you! Best of luck!

  • @cryptmind4202
    @cryptmind4202 3 ปีที่แล้ว +5

    When can we expect episode 3? This is really awesome!

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +4

      Thanks! In a few months

  • @hdfsyu
    @hdfsyu 3 ปีที่แล้ว +4

    PLEASE CONTINUE THIS SERIES IT IS AWESOME PLEASE DO! Also u got a new sub! :D

  • @wiktorwojcik3678
    @wiktorwojcik3678 3 ปีที่แล้ว +1

    This tutorial is amazing! Everything is easily understandable. I wanted to create my own OS, but I couldn't find any good tutorials, so this is very helpful. I think that next episode could be about input.

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +1

      Thank you!

  • @osj237
    @osj237 9 หลายเดือนก่อน

    This was a very interesting project, and I learned a lot by copying down the code and debugging the unavoidable errors I made. Especially, I learned a lot about assembly programming for the X86_64, and I did not know how to bring it up to long mode before this. Wery well done, and Thank You!

  • @swarnavasamanta2628
    @swarnavasamanta2628 3 ปีที่แล้ว

    Patiently wating for next episode. Hope you make this series a little faster. I am so hooked into this.

  • @dirkus3722
    @dirkus3722 3 ปีที่แล้ว

    Excellent video. I like the fast pace. There are already PLENTY of great programming videos out there that explain all the nitty gritty details of this stuff, so it's refreshing to just blast through the topic start to finish like you do. If I miss stuff I can always go back and revisit, but so far it feels like Neo learning Jujitsu, and I'm loving it. Thanks!

  • @bukanaleglencesi7940
    @bukanaleglencesi7940 3 ปีที่แล้ว +1

    I was thinking, the second part will never come. Thanks for video 😁

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +2

      No problem 👍

  • @aqualung2000
    @aqualung2000 ปีที่แล้ว

    Would definitely be interested in more videos in this series. The next step seems obvious to me: you need I/O. Probably RS-232 serial would make the most sense.
    After that, maybe hardware timers.

  • @parvizhojiev8567
    @parvizhojiev8567 3 ปีที่แล้ว +1

    Please continue this series. They are very interesting

  • @maxlee3838
    @maxlee3838 3 ปีที่แล้ว

    Eagerly awaiting the part 3! Thanks for these Amazing videos.
    I saw some other youtuber make an OS that can only play Tetris.

  • @XArticSpartanX
    @XArticSpartanX 3 ปีที่แล้ว

    Another cool set of videos never being finished

  • @fabboy41
    @fabboy41 2 ปีที่แล้ว

    I would like to watch more of this. For example keyboard inputs and so on

  • @nezumi.5015
    @nezumi.5015 2 ปีที่แล้ว

    It's so helpful but there's no EP3, so I'll have to continue on my own. Thanks for helping me code the basic stuff, cheers! +CodePulse👐

  • @manishgurawalia7625
    @manishgurawalia7625 3 ปีที่แล้ว +36

    Please start assembly tutorials for beginners🙏🙏🙏

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +19

      Good idea!

    • @oolmfoxz8170
      @oolmfoxz8170 3 ปีที่แล้ว +1

      don't put one foot in this country... or you never come back... I falled in love with asm

  • @herbert_von_karajan
    @herbert_von_karajan 3 ปีที่แล้ว +4

    U deserve much more! Please make new series!Also can you add Gui?

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +1

      This series is focused on the kernel, so if I do get around to gui it would be very basic, and probably wouldn't happen until a much later point.

  • @TheRukisama
    @TheRukisama 3 ปีที่แล้ว +3

    I'm feeling really good that I actually (at a very basic level) mostly understood what was going on lol.

  • @anonymouspuppy
    @anonymouspuppy 3 ปีที่แล้ว +1

    Can’t wait to see the next episode!

  • @ushaagarwal4058
    @ushaagarwal4058 3 ปีที่แล้ว

    I am totally amazed that how clearly you are giving these tutorials. New sub :D . Can you please guide me that which language should I learn first for this

  • @systeminabox
    @systeminabox 3 ปีที่แล้ว

    idk if you're already working on the next episode but I think adding user input and basic commands would be the next logical step

  • @MaxPlayle
    @MaxPlayle 3 ปีที่แล้ว +4

    This is the craziest youtube tutorial project i’ve seen! Good luck to you!! I won’t be following this, i’m quite happy in my comfy C#/C++ chair 😂

  • @unknownethnicity
    @unknownethnicity 3 ปีที่แล้ว

    I think every low-level programmer should be able to read CPU datasheets and write machine code. This is a great introduction and a great compliment to ben eater’s more hardware-side endeavors.

  • @Yanis2
    @Yanis2 3 ปีที่แล้ว +2

    This project is really cool, can't wait to see what's next

  • @DzDesignHD
    @DzDesignHD 3 ปีที่แล้ว +1

    Honestly this is so cool. Please continue with this series!

  • @michavk
    @michavk 2 ปีที่แล้ว

    Dude, this is amazing! Clear, concise and respects the viewer's time and intelligence. These videos are RARE! I was ready to binge through these, turns out there are only 2 episodes. :"(
    These videos combined have more than 600k views, why did you stop? Clearly these are the gems of your channel.

  • @thisiszeev
    @thisiszeev ปีที่แล้ว

    Please can you continue this series... I am finding the knowledge to be very useful and valuable.

  • @spicybaguette7706
    @spicybaguette7706 3 ปีที่แล้ว

    Really cool series. Never intended to write an operating system but now I wanna give it a shot.

  • @republish368
    @republish368 3 ปีที่แล้ว +1

    Your knowledge has HUGE POTENTIALS to free people from the TECHNOCRACY and MEDIEVAL view over people.
    I'll learn what you know to free people from COMMUNICATION SLAVERY!
    Thank you dude ;)

  • @Bleibruk
    @Bleibruk 3 ปีที่แล้ว +1

    Hi! you should consider putting the playlist link on all videos! Thank you very much for the contribution!

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +1

      I will do that.

  • @kkpdk
    @kkpdk 3 ปีที่แล้ว

    @3:55 underhanded way to set the colour byte. For what's next, you could do a simple cooperative thread switch. Or something I'd really want to see (since I have not done so), bring up another core.

  • @solomax2011
    @solomax2011 3 ปีที่แล้ว

    Wow. Episode 1 just popped up in my recommendations. And I already like it as a CS student :) I never thought about how OS works under the hood. Even though it will take you a few months for the next episode, I'll be glad to wait :) Keep going!

  • @wertuxhd6201
    @wertuxhd6201 2 ปีที่แล้ว

    We are still hoping this apprentice OS can be a yoda one day. Please continue, your stuff is amazing.

    • @technobrocrack6306
      @technobrocrack6306 2 ปีที่แล้ว

      Code Pulse Do you have free time like someone comment why don't you help people having error in code like @TUTO - REAL and @Team Investigators pls help everybody out

  • @philo430
    @philo430 3 ปีที่แล้ว

    Oh man I was loving this series. I know it's only a 2 month gap, but do you have any more episodes planned, or are you still curious what to do next? Personally I'd say anything with keyboard input, or File R/W.

  • @baburajp8342
    @baburajp8342 3 ปีที่แล้ว +10

    I was waiting for this

  • @samholland209
    @samholland209 ปีที่แล้ว +1

    The next episode should be about how to draw pixels on the screen.

  • @bpbrainiak
    @bpbrainiak 3 ปีที่แล้ว +2

    I just can't wait for the next episode on the series... :)

  • @randomusername69421
    @randomusername69421 3 ปีที่แล้ว

    Man .. I’m definitely subscribing.. the way you just explain it is mind blowing.. keep up the good work please

  • @manulinux
    @manulinux 3 ปีที่แล้ว +7

    Boi if I wrote mine you could feel those Kernel Panics from the other side of the world

  • @motbus3
    @motbus3 3 ปีที่แล้ว

    these 2 videos were way too cooler than i expected. hope you keep going with this series.
    i guess as next steps you could show how to integrate keyboard (maybe mouse), write text editor, maybe embed a simple program compiler. this is how computers have evolved, but you will need to deal with modernities such as 64 asm and modern protections.
    another idea is to port something like android with support for screen. obviously there is already thr gold fish, but maybe it can be interesting
    very very nice video man!!!

  • @amikomalania3406
    @amikomalania3406 3 ปีที่แล้ว

    Hope you continue the series! Well done

  • @uplink-on-yt
    @uplink-on-yt 2 ปีที่แล้ว +1

    Hope there will be an episode 3 soon. Is the next step actual process scheduling and privilege separation or is that a jump too far? Episodes 1 and 2 were already packing quite a lot of information that I'll have to read upon separately. "Modern Operating Systems" by Andrew Tanenbaum?

  • @simonlafrikh3847
    @simonlafrikh3847 3 ปีที่แล้ว +1

    Love this series

  • @mishaparem
    @mishaparem 3 ปีที่แล้ว

    I'd like to suggest a couple of topics.
    1) bootloader from scratch (although this might be a separate series)
    2) adding a common driver ie usb io device (keyboard?) To the kernel
    3) interfacing the kernel with partitions on the hdd
    4) launcing binary executables using the custom kernel, ie pressing 'F' key will execute a simple helloworld.o binary, rather than printing the helloworld in the kernel code itself.
    5) custom bios/uefi - also potentially a separate series
    6) graphics ie display a logo
    7) combine #2 (drivers) with #6 (graphics) - graphics using a video card

  • @DanielXP-rf4ig
    @DanielXP-rf4ig ปีที่แล้ว

    @CodePulse please continue this series

  • @koki10190
    @koki10190 2 ปีที่แล้ว

    Please continue the series i litearlly learned a lot just from these series

  • @christianloizou4463
    @christianloizou4463 3 ปีที่แล้ว

    Please please keep this series up. I don't want another half-made operating system on my computer 😂

    • @CodePulse
      @CodePulse  3 ปีที่แล้ว +2

      I definitely will! But I haven't much spare time at the moment and I try to keep the quality high so it'll be a few months until the next episode

  • @albertove1676
    @albertove1676 2 ปีที่แล้ว

    Please continue this series.

  • @taureon_
    @taureon_ 3 ปีที่แล้ว

    this is one of the youtube vids that you always like and wont skip a part of
    nice job lad