Nope, I followed a tutorial and used the OSDev wiki to make my own shitty kernel that can write Hello World to the BIOS screen.
Next step would be to actually do something (and probably jump to 32bit), but I've not been able to properly read the next sector of the floppy just yet
It honestly is super interesting learning about the inner workings of X86, especially how it managed to stay backwards compatible with 16bit mode even on a 64bit CPU.
I honestly recoomend everyone to at least read up on how this stuff works. I know that not everyone has an interest in making their own shitty kernel, but it gives so many insights in to how the computer actually computes
Bit miffed that this post isn't doing as well as I hoped compared to the AI memes, but that's how the cookie crumbles sometimes.
Also I don't think most folks here know about how the startup works on X86 CPU's, since most of the VibeCoders would never have a reason to learn anything about OSes
I wish we had more reasons to code without an OS. I can still remember my Operating Systems professor telling us in 2013 that he wasn't going to hit us too hard on the coursework and focus more on the skills that studying it exercises than the direct content since 99% of us would never need to know what protected mode is again after the class 😂
I mean, writing a bearmetal app for an RPi would be ridiculous, not to mention an x86. Isn't STM32 already starting to be unfavorable without FreeRTOS?
Don't get me wrong, I'm all for simpler code and removing bloat. But I was once sad to realize that setting up a tailnet client on an STM32 was impractical...
Maybe that was me not knowing what I was doing, but setting up a whole RPi just to serve as a portforwarder for a Modbus/TCP device honestly felt like a painfully overkill implementation.
Well lazy fucks like me who convinced themselves that 16 bit is more than enough and doesn't need anything more for their shitpost kernel: nahhh, legacy boot is all you need
This is how I stared with Linux. Live booting Knopix on a school computer. It was such a game changer to use another operating system without formatting the entire machine
I'd recommend trying RISC-V (or maybe ARM if you want) as the main CPU architecture for your OS instead of x86 or x86-64. RISC-V is much simpler and more enjoyable to work with.
671
u/Vincenzo__ Oct 07 '26
A meme that's not about AI, vibecoding, or extremely basic stuff? No fucking way, thank you
150
u/hpyfox Oct 07 '26 edited Oct 08 '26
"...delicious. Finally some good fucking food." - Gordon Ramsay.gif
I'm actually learning from r/ProgrammerHumor for once instead of hearing about AI and vibe coding. I need those JavaScript framework memes again.
104
u/jdefr Oct 07 '26
Load that bootstrap code fam…
44
u/schewb Oct 08 '26
I wish we had more reasons to code without an OS. I can still remember my Operating Systems professor telling us in 2013 that he wasn't going to hit us too hard on the coursework and focus more on the skills that studying it exercises than the direct content since 99% of us would never need to know what protected mode is again after the class 😂
19
u/Temperz87 Oct 10 '26
I had an idea to start shitposting estoeric compiler memes and seeing stuff like this gives me the energy to start
16
u/stillalone Oct 07 '26
Does anything not use UEFI to boot anymore?
12
u/YellowOnline Oct 07 '26
What year is this?
306
u/Lucasbasques Oct 07 '26
I remember the first time I booted directly from a CD, what a game changer that was
16
u/ilnarildarovuch Oct 07 '26
Even it's not necessary, but AA55 rules
16
u/Interesting_Buy_3969 Oct 08 '26
- Your signature?
- Here it is, sir:
11
u/Time-Worker9846 Oct 07 '26
Stoned virus in 1/8 chances: "Your PC is now Stoned!"
6
u/Tintoverde Oct 08 '26
For the initiated like me https://www.reddit.com/r/osdev/s/V1KXzQWlyR
5
u/chazzeromus Oct 08 '26
don't forget to pull up A20, if you want
2
u/Fearless-Horse-6907 Oct 11 '26
Thanks for the rabbit hole