zxOS -- A very Realistic Operating System simulation!

Hey there friends! Today I will walk you through my own project I am making on Roblox!
It is an OS!

I will walk you through what the OS has, what it can do, what it tries to simulate, and what I am planning for the near future.

Let’s talk about the APIs/Kernel features that I currently have, that will lay the foundation for future stuff.
My current APIs are:

  • File System (FS) – write() writes to a file; read() reads from a file; mkdir() creates a directory; rm() removes a file/directory and children; ls() returns a list of all files in the current directory.
  • Process Manager (PM) – works hand in hand with the FS, runs processes, handles signals, rebooting, shutting down, memory management, sandboxing.
  • Memory Manager (MM) – Pretty weak right now, simulation is not really good (malloc() simulates allocating a value to memory, while it should just reserve a memory pool instead, but it is there, at least it returns a pointer for the next functions), read() and free() do work accordingly tho.
  • LogIO – Just handles logs to the screen, printing, etc.
  • KeyboardIO – Simulates keyboard presses to the subscribed listeners, listeners can unsubscribe as well, scripts can also emulate key presses that the listeners will receive!

Let’s now take a look at the visuals that I currently have:

Shutting down


Gracefully kills all processes, force kills them if stuck/necessary.
Nothing else, just a shut down.

Rebooting


Same as shut down, just it starts the OS again.

Questions:

  • What is the ueficonfig.cfg? I noticed it in the video!


    It is basically just a boot up configuration. Supports coding in it. Uses the Ring0 sandboxing. Not recommended tho, it is kinda pointless and the config is there just if the user wants to switch to another boot manager / a future OS install.

  • Does the “Fetch zxOS installation media” work?
    Yes, but a bit buggy. And kinda useless now, It will be the feature I will expand the most tho.

  • Can we see the place?
    Sure, here is a place with the OS. It is under active development tho. Bugs are there. Changes will always be released.

Thank you to everyone who has read this article about the OS. Please share your opinions. I would really appreciate it!

6 Likes