so you want to write an operating system...

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 49

  • @bananaman9869
    @bananaman9869 День назад +77

    You forgot that the first step is to write your own compiler.

    • @ArchieHalliwell
      @ArchieHalliwell День назад +10

      i think this is a joke but i have actually started doing that, and so far i have an interpreter that is a huge memory leak, and about a 3rd of a linker
      also elfs are weird

    • @bananaman9869
      @bananaman9869 День назад

      @@ArchieHalliwellI don’t know man, I just got the advice from some guy who used to work at Ticketmaster.

  • @brettbroadhurst8325
    @brettbroadhurst8325 День назад +73

    >MoistCritical gives you OS Dev advice

  • @dpacarana
    @dpacarana  День назад +107

    tldw, learn assembly and read the osdev wiki

  • @vk8a8
    @vk8a8 День назад +50

    charlie moust critcal

  • @Garfield_Minecraft
    @Garfield_Minecraft День назад +67

    my answer: don't
    just use linux and change the wall paper call it a new OS

    • @tiagosilva7841
      @tiagosilva7841 День назад +3

      but what's the fun in that?

    • @saiv46
      @saiv46 День назад

      ​@@tiagosilva7841 Oh, there'll be enough fun building **Linux ...from scratch**
      (title card)

    •  56 минут назад

      @@tiagosilva7841 Selecting the best wallpaper is thrilling, bro

  • @hannibal7831
    @hannibal7831 День назад +20

    Thank you penguinz0

  • @bodycornflower
    @bodycornflower День назад +23

    no way charlie

    • @dpacarana
      @dpacarana  День назад +16

      "Publicly subscribed to you (1 year)" making charlie comments ggs

    • @bodycornflower
      @bodycornflower День назад +6

      @@dpacarana i've been foiled 😔

  • @sudotto
    @sudotto День назад +16

    i dropped my OS project a bit ago to work with my friends on gamedev, but this video made me want to get back into it again.

  • @MaskMajor
    @MaskMajor День назад +13

    Maybe one day i WILL write my own os for the shits and giggles

  • @Shea7TDM
    @Shea7TDM День назад +21

    tldw; the hardest question you must ask yourself during programming is: is your operating system osakalicious or is it chiyo intellect

  • @Stingpie
    @Stingpie День назад +10

    I've just been cobbling together the craziest ideas I've had to make my OS. The memory allocator is a sparse hexadecimal tree, all OS data includes a function on how to read the data (useful for windowing), and I only have support for linear vector fonts. It's deranged and I love working on it.

    • @dpacarana
      @dpacarana  День назад +1

      thats what its all about

    • @spaghettiking653
      @spaghettiking653 17 часов назад

      How does that memory allocator work exactly?

    • @Stingpie
      @Stingpie 15 часов назад

      ​@@spaghettiking653 The root node divides the memory space into 16 chunks, and each child does the same. A node is only required if the memory it keeps track of is partially full, so each node is deleted if it is full or empty. The node has two 16-bit integers and 16 pointers. The integers are bitfields, and the first one stores whether or not the corresponding child node exists, and the second integer stores whether a child node is full.

    • @mobcont8335
      @mobcont8335 5 часов назад

      I had an idea for another weird os, in that the filesystem itself would be a sqlite database, allowing for fast search and indexing with tags, in the future joined with a local LLM to tag everything neatly. I heard BeOS tried something similar but it was pretty slow back then, with disk HDs and such.

  • @thegoobernamedcosmic
    @thegoobernamedcosmic День назад +8

    a really good headstart into OSDev would be learning how a CPU works (which involves assembly). You communicate with it a LOT when writing your own Operating System. And if you'd like to use a high-level language, learn C/C++ and how it interacts with ASM.

    • @dpacarana
      @dpacarana  День назад +5

      Pretty much anything you need to know about the CPU is understood by just studying more assembly, specifically within the context of osdev. Most OS stuff doesn't require you to know how the CPU works on a technical level, maybe just understanding things like clock cycles, CISC vs RISC, and the difference between the ALU, CU, etc., but most of this stuff is covered in any entry level college assembly coursework anyways. Learning more never hurts though.

  • @DemonikSiege
    @DemonikSiege День назад +19

    Steal the codebase from a guy and restyle it 😂

  • @97mizuno
    @97mizuno День назад +1

    This is the greatest OS writing tutorial of All Time

  • @ariabk
    @ariabk День назад +4

    me when the critical is moist

  • @tophatty
    @tophatty День назад

    thank you for using your platform to spread the niche topic known as osdev i very much appreciate it

  • @DOOMVXGA
    @DOOMVXGA День назад

    Dude, thank you!!! Already have some preliminary ideas for an OS sketched out. I’ll have to finish my other projects first but seriously thank you. This lowers the entry gate a little for me.

  • @mostafashaker8279
    @mostafashaker8279 День назад +2

    Your content is beautiful & helpful please continue

  • @samuelbanya
    @samuelbanya День назад +2

    Also fuck with assembly on old school computer emulators instead. That's way more useful for your time.
    A more fun way to do it is to do Gameboy rom hacks

  • @Don-zo3ts
    @Don-zo3ts День назад

    Ok let's fork Temple OS
    💫Work for God 💫

  • @whamer100
    @whamer100 14 часов назад

    challenge accepted

  • @rodentous
    @rodentous День назад +3

    i dropped my os recently coz i failed to set up IDT (i am stupid)

    • @dpacarana
      @dpacarana  День назад +2

      interrupts are probably the most annoying thing to get through when starting, but there's still plenty of resources online and example code to look at to see how other people catch and handle interrupts, could also be something with the GDT not being set up properly.

    • @rodentous
      @rodentous 20 часов назад

      @dpacarana well my GDT is fine and yes there are many resourses online but not that many for how to do it in assembly. i still managed to almost get it working but i think i still have to learn a lot about how it actually works. thanks anyway!

  • @samuelbanya
    @samuelbanya День назад +1

    Just fork a Linux distro

    • @fluoriteByte
      @fluoriteByte 23 часа назад

      That's more devops than OSDev

    • @samuelbanya
      @samuelbanya 14 часов назад

      @@fluoriteByte Might as well, easier to maintain, and personalize.

  • @compositeboson123
    @compositeboson123 День назад

    good but ı have a question, does ncurses work without the graphics driver?

  • @therealsunfl0wer
    @therealsunfl0wer День назад +6

    miau

  • @wecantthinkofaname2247
    @wecantthinkofaname2247 День назад +4

    hai

    • @XplosivDS
      @XplosivDS День назад +3

      "sata andagi :D"

  • @xXBlueSheepXx
    @xXBlueSheepXx 33 минуты назад

    Great Value Moist Critikal

  • @cvabds
    @cvabds День назад

    why cant you fork templeOS

  • @jacobdavidcunningham1440
    @jacobdavidcunningham1440 День назад

    lol vulcan fist of god

  • @BettersonMcgee
    @BettersonMcgee День назад

    nice!