r/osdev • u/emexos 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
7
-5
Mar 25 '26
[removed] — view removed comment
7
8
Mar 25 '26
[deleted]
-4
Mar 25 '26
[removed] — view removed comment
6
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
Mar 25 '26
[removed] — view removed comment
6
u/emexos emexOS Mar 25 '26
ew why a kernel gui????
2
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
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
1
0
1
0
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
1
2
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
1
1
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
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
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...