This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ds84182's profile picture

Dsos - No Downloads Yet

Started by ds84182, 12 August 2013 - 04:24 PM
ds84182 #1
Posted 12 August 2013 - 06:24 PM
I made an OS called DSOS a long time ago, so long ago that it wasn't caught by the admins who were moving things to the OS forums.

Here is a completely rewritten version of DSOS.

For right now, I only have these two pictures to show you, but it's hard to develop the OS, being emulated and all.

http://i.imgur.com/HrufbDv.png

http://i.imgur.com/8FiK9oc.png

Now for talking!

Why emulation:

I am emulating the whole thing, except the bootstrapper and kernel of course. I'm doing this to add more control over lua. In the original CC, creating a multitasking system was easy, but programs that are CPU hogs could cause every other program to slow down. That's not the case with DSOS. When a single operation is run in the emulated environment, the emulator will yield to allow for other processes to run. That lets us run every single process with the same exact speed. The only problem is that, that speed cannot come close to matching what C Lua and LuaJ can do.

Also, because I do emulation, I can suspend the whole OS into the disk and shutdown the compute.. TL;DR: HIBERNATE!

It will not be compatible with CC programs:

Sorry guys, but I really want a unique OS, so I changed the APIs to be more unique.
Standard Lua is the same, but CC Lua is not.
I'll go into details about this later.

Credits:

immibis: Creator of Lua in Lua
Lyqyd #2
Posted 12 August 2013 - 11:29 PM
Moved to OS section, locked. Please PM a moderator or administrator when you have code to show.