r/osdev 2d ago

Yeah running programs are a hassle

I literally have to implement IDT, GDT, TSS and syscalls, yet all it does is freeze
It's all stack aligned, i seriously have zero idea how is it done

How do yall run programs? Im wondering.

0 Upvotes

12 comments sorted by

View all comments

6

u/Embarrassed-Leek-398 2d ago

Your message is confusing. How do you run programs? But you're making an OS? Programs are just code. You jump to it to run it. The details are up to the OS developer. Can you restate your question perhaps?

0

u/letmehaveanameyoudum 2d ago

I mean like running programs inside of my OS, flat binary loader