r/ProgrammerHumor • • Oct 07 '26

Meme onlyOnX86LegacyBootTho

Post image
2.0k Upvotes

52 comments sorted by

671

u/Vincenzo__ Oct 07 '26

A meme that's not about AI, vibecoding, or extremely basic stuff? No fucking way, thank you

194

u/1_hele_euro Oct 07 '26

I am kinda sick of them AI memes too, so I decided to be the change I wanted to see :3

16

u/DanieleDraganti Oct 08 '26

Spoiler: OP asked AI to make a meme about arcane memory addresses in BIOS

33

u/1_hele_euro Oct 08 '26

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

15

u/DanieleDraganti Oct 08 '26

Nah I was kidding of course. This is a super cool personal project!

11

u/1_hele_euro Oct 08 '26

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

41

u/Leftover_Salad Oct 08 '26

It is basic, that’s what the B in BIOS is!

8

u/Murlock_Holmes Oct 08 '26

This is always the top comment. I’m starting to think you’re all bots complaining about bots.

3

u/Vincenzo__ Oct 09 '26

No this sub is just full of shit posts, so the decent one every now and then really stands out

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.

38

u/1_hele_euro Oct 07 '26

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

8

u/PM_ME_UR_0_DAY Oct 08 '26

The people yearn for shittily hand drawn memes made with MS paint but have x1000 more soul 

104

u/jdefr Oct 07 '26

Load that bootstrap code fam…

29

u/1_hele_euro Oct 07 '26

We can rebuild The Temple by striking lightning into the rocks engraved with ancient runes!
Tricked sand yet again into thinking

13

u/Lucasbasques Oct 07 '26

If you spin rust fast enough it will do whatever you tell it to 

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 😂

38

u/1_hele_euro Oct 08 '26

Mostly because Linux just runs everywhere. Say i need an OS to run on a Rasberry PI, i could make my own, or just use Linux.

Need something smaller? Get a barebones Linux install that just has the basics.

If you have something that can't run Linux, most likely someone already has a production ready Microkernel you can use, like on an ESP32 or Arduino.

Regardless, it's fucking fun to do

3

u/EuphoricCatface0795 Oct 09 '26

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.

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

4

u/1_hele_euro Oct 10 '26

I wanted to continue with OSposting, but apparently it's explicitly banned by the rules for some reason... sad

16

u/stillalone Oct 07 '26

Does anything not use UEFI to boot anymore?

38

u/1_hele_euro Oct 07 '26

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

10

u/chazzeromus Oct 08 '26

I turned off CSM to spite you

6

u/DishSoapedDishwasher Oct 08 '26

Why would being mean to a Certified Scrum Master be used to spite them?

I was going to say what did scrum ever do to you, but that's self explanatory.

0

u/chazzeromus Oct 08 '26

it's legacy setting in BIOSes to boot stuff bios mode and not EFI

1

u/Real-Abrocoma-2823 Oct 08 '26

16bits is plenty but why disadvantage yourself? RIR!

0

u/1_hele_euro Oct 08 '26

Because I can't be arsed to make the jump to 32bit lol

4

u/Real-Abrocoma-2823 Oct 08 '26

UEFI was born 64bit, no need to jump, just make sure you don't need boot services anymore before exiting them.

5

u/Culpirit Oct 08 '26

Well, UEFI jumps for you. x86 processors still start in Real Mode.

7

u/Cootshk Oct 08 '26

my 20+ year old Thönkpad that still runs linux like a trooper

3

u/Cylian91460 Oct 08 '26

My laptop server used to but I had to switch to legacy

Turns out eufi boot entry get reset each time you reboot when you remove the battery

2

u/techy804 Oct 09 '26

FreeDOS

2

u/FailedButterfly Oct 09 '26

I call and raise with an OpenDOS

1

u/noodle-face Oct 14 '26

I work in BIOS and it's like 99% UEFI now

12

u/YellowOnline Oct 07 '26

What year is this?

27

u/1_hele_euro Oct 07 '26

2026, I think

14

u/xynith116 Oct 08 '26

u/RemindMeBot January 19 2038

I’ll ask again then

2

u/RemindMeBot Oct 08 '26

I will be messaging you in 11 years on 2038-01-19 00:00:00 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

306

u/Lucasbasques Oct 07 '26

I remember the first time I booted directly from a CD, what a game changer that was 

128

u/blauskaerm Oct 07 '26

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

5

u/TerminalVector Oct 13 '26

Knopix wow.. haven't thought about that in a while. It got even better once you could boot off of a USB stick.

32

u/Exatex Oct 08 '26

I remember the awe when I discovered my bios had USB mouse support. „What a time to be alive“

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:

0x55aa

3

u/teutinsa Oct 09 '26

Man. Now I want to try writing my own OS again...

2

u/Interesting_Buy_3969 Oct 09 '26

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.

11

u/Time-Worker9846 Oct 07 '26

Stoned virus in 1/8 chances: "Your PC is now Stoned!"

6

u/Tintoverde Oct 08 '26

2

u/Mechakoopa Oct 08 '26

Reading those comments was giving me university flashbacks. Good ol' memory map.

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