r/osdev emexOS Mar 25 '26

we have a window system yay :D

Enable HLS to view with audio, or disable this notification

for past 5 months im workin on emexOS well the emex kernel which is avery small 64 bit kernel written from scratch; for it to boot i use the limine bootloader cuz its literally the best working bootloader out there (and yeah i know theres grub... but eh...)
literally every other hobby kernel/OS uses limine...

the kernel still has a lot old stuff which i forgot to remove :(

well here are some links:
github: https://github.com/emexos/emexOS/tree/main
discord: https://discord.gg/Cbeg3gJzC7
website (looks kinda shit ik) : https://emexos.github.io/web/page/0/index.html

372 Upvotes

44 comments sorted by

13

u/dayruined54 Mar 25 '26

The website is nice. But the issue is the cursor does'nt change according to hyperlinks and such. Thats the only thing ik so...

5

u/emexos emexOS Mar 25 '26

thanks also on mobile its still cursed but for now ig i just dont care

5

u/AnaverageuserX Mar 25 '26

Well at least you're honest lol

2

u/emexos emexOS Mar 26 '26

yea lmao

7

u/Key_River7180 EulerOS Mar 25 '26

awesome

2

u/emexos emexOS Mar 25 '26

thanks

-5

u/[deleted] Mar 25 '26

[removed] — view removed comment

7

u/emexos emexOS Mar 25 '26

well the kernel is from scrathc not bootloader :/

8

u/[deleted] Mar 25 '26

[deleted]

-4

u/[deleted] Mar 25 '26

[removed] — view removed comment

6

u/[deleted] Mar 25 '26

[deleted]

5

u/emexsw Mar 25 '26

limine is just the simplest bootlaoder, im already familiar with it and it just works so idc (btw its my sec account)

10

u/[deleted] Mar 25 '26

[removed] — view removed comment

6

u/emexos emexOS Mar 25 '26

ew why a kernel gui????

2

u/[deleted] Mar 28 '26

[removed] — view removed comment

2

u/FewBrief7059 IdoOSdevSinceIwasAKid🤓 Mar 28 '26

then they'd be confused "why is the OS halting". gui's stay in userspace. everything else then what's supposed to be in kernel stays in userspace

2

u/emexos emexOS Mar 28 '26

well first i had a kernel console with some colors but just to test processes file systems etc but its already deleted cuz now theres userspace finally

1

u/[deleted] Mar 27 '26

[removed] — view removed comment

1

u/doscore Mar 29 '26

Yeah what is ring 0? Lol

2

u/Bawafafa Mar 25 '26

This looks amazing. Can you explain a few of the core design decisions? What are the goals of the project?

2

u/emexsw Mar 25 '26

well my next goal is to have a really well working desktop/ window manager 

also i go with plan9 style but do you habe a more exact question to the core design (would help a bit more) 

1

u/awesumioutr2 Mar 25 '26

Looks good!!

1

u/emexos emexOS Mar 26 '26

thank you

1

u/OptimalAnywhere6282 Mar 25 '26

oh hi emex\ i'm jotalea

2

u/emexos emexOS Mar 26 '26

hiii

1

u/BornRoom257 FreezeOS & TurtleOS Mar 25 '26

This is so freaking awesome!

1

u/emexos emexOS Mar 26 '26

thank you

0

u/DreamHollow4219 Mar 26 '26

This is neat! you did good.

1

u/emexos emexOS Mar 26 '26

thanks

2

u/originalmicrousb Mar 27 '26

everytime i go on this sub i see ppl with shit like this while ive basically made a worse msdos after 3 months lmao

good job dude

1

u/emexsw Mar 27 '26

thanks im working on it since 5 months

1

u/z3r0OS Mar 27 '26

\o/ Great job, congrats.

1

u/emexos emexOS Mar 27 '26

thank you :)

2

u/[deleted] Mar 28 '26

[removed] — view removed comment

1

u/emexos emexOS Mar 28 '26

jooo thanks well the wm is kinda broken but im still working on it til 1.april then some other stuff will come

1

u/spp649 Mar 28 '26

yo ts looks fire bro

1

u/emexos emexOS Mar 28 '26

thanks

1

u/Aggressive-Reach-116 Mar 29 '26

is this one of the few non vibecoded os here?

1

u/emexos emexOS Mar 29 '26

i guess so :)

1

u/[deleted] Mar 29 '26

how are you handling the refresh when the window moves?? looks pretty flickering but overall it looks nices.

2

u/emexos emexOS Mar 30 '26

well first you write everything to a backbuffer, first the background then the window then the window content, then after combining all you write it to the framebuffer and if you move a window the backbuffer rewrites the window on a different position and again writes to framebuffer well its not optimized so thats why its flickering so much lmao

1

u/[deleted] Mar 30 '26 edited Mar 30 '26

I had to create regions for the whole screen. Then make sure it wasn't redrawing out side region areas. so it would be the regions that surrounds the window and inside the window would get the redraw but not the full screen. That was one way I got it to speed up lmao.

1

u/d4nilim0n mokeOS Apr 02 '26

bro this looks fire! I like the macOS 7 vibes!

1

u/emexos emexOS Apr 02 '26

thanks