864 posts
Location
Sometime.
Posted 08 June 2012 - 12:13 AM
I thought of this amazing idea where you make your own OS.
Now you might say, "This is easy…"
It's not. Look at this link:
http://bit.ly/MkAJu7For people who know how to google (D3matt):
http://en.wikipedia.org/wiki/Operating_systemWhat you would have to create is the actual programs. Edit programs, delete, etc.
Question: Here is a question. How do you edit something?? If you are making an OS from scratch, how do you edit something?
Answer: Create the editor!
How this would be done
————————————————–
No idea, I assume you would change the default path when the computer reboots.
I'll learn and post my progress with this!
Any suggestions post progress below.
Note: This is an edit for everyone. I'll give download and you can try yourself.
504 posts
Location
Seattle, WA
Posted 08 June 2012 - 01:10 AM
In this case to create an entirely new operating system for CC you would need to know a language other than LUA. The reason for this is that you would have to change the way the mod executes commands in game and create your own bios, file system, etc etc.
3 posts
Posted 08 June 2012 - 01:35 AM
not exactly it depends on how far you want to go. Look at garrysmod's wiremod addon for an example.
864 posts
Location
Sometime.
Posted 08 June 2012 - 02:18 AM
Exactly, not deleting the java files and creating it from scratch. Simply using the computers already made, same language, etc.
351 posts
Posted 08 June 2012 - 06:00 AM
I am starting something like this (read: replacing most stuff) but I am building it on top of the existing one, because I play on other peoples SMP servers a lot, and want to be able to use it.
686 posts
Posted 08 June 2012 - 07:10 AM
Remind me why you had to use a LMGTFY link, THROUGH A BIT.LY LINK, instead of just directly linking the wikipedia article?
864 posts
Location
Sometime.
Posted 08 June 2012 - 08:17 AM
D3natt
It's a good lesson to google before you start thinking you know what something is.
Anyways
@kazagistar
For SMP they have to enable editing the rom. Anyways, it's possible and I had SMP in mind when I wrote up the topic.
I'm talking about a complete re-edit. Deleting the programs in rom and starting from scratch. Unfortunately you can't delete rom or the mod will mess up. I hope to make it so it doesn't and we can build up from nothing!
445 posts
Posted 08 June 2012 - 11:21 AM
D3natt
It's a good lesson to google before you start thinking you know what something is.
Cause we all know that Wikipedia knows what everything is and is always right :3
A ROM Editor would be nice, though the ROM and Bios has superior Folder access and such from what i've heard,so that might not be a good idea
864 posts
Location
Sometime.
Posted 08 June 2012 - 08:11 PM
D3natt
It's a good lesson to google before you start thinking you know what something is.
Cause we all know that Wikipedia knows what everything is and is always right :3
A ROM Editor would be nice, though the ROM and Bios has superior Folder access and such from what i've heard,so that might not be a good idea
Wikipedia is MOSTLY correct. Again the topic "OS" is written by someone with good intentions. Who knows, maybe Wikipedia (workers) wrote that page?
ROM editor would be nice, but people can make viruses and an OS SPECIFICALLY for those viruses. My goal is to enable someone to write a new OS from the terminal or even their Notepad ++. It isn't meant for viruses. Anyways people on SMP could buy a floppy with CraftOS. That CraftOS would install to rom and completely disable ROM edits.
EDIT: Overall you would need the ability to edit the ROM, but you would need to establish a password on it that disallows people from editing. Or just lockette it.
1604 posts
Posted 08 June 2012 - 09:15 PM
I think it would be better if the bios loads some boot file/directory on the computer, and if it doesn't find one it loads CraftOs (so you can use it when you build the first computer, and it doesn't make already placed computers useless). This way you can use CraftOS and if you want you can write your own os or use someone else's.
I made one for my os (wich uses it's own apis, no CraftOs at all, since it's not even loaded) and it's pretty simple and easy to make, so it could be implemented by default (not mine, dan or anyone can write it).
2217 posts
Location
3232235883
Posted 08 June 2012 - 09:52 PM
lolnope, ill just install C and lua then run most of my code off of lua and for hardware and io ill make a api in C
718 posts
Location
Hawaii
Posted 08 June 2012 - 10:09 PM
Exactly, not deleting the java files and creating it from scratch. Simply using the computers already made, same language, etc.
You can delete the files (not folder) inside of mods/cc/lua/rom and recode it from scratch like that.
686 posts
Posted 08 June 2012 - 11:45 PM
D3natt
It's a good lesson to google before you start thinking you know what something is.
Anyways
@kazagistar
For SMP they have to enable editing the rom. Anyways, it's possible and I had SMP in mind when I wrote up the topic.
I'm talking about a complete re-edit. Deleting the programs in rom and starting from scratch. Unfortunately you can't delete rom or the mod will mess up. I hope to make it so it doesn't and we can build up from nothing!
You realize the link is a LMGTFY of "Operating System Wikipedia"? Clearly the intent is to read the wikipedia article. So why not just direct link? At the very list, you didn't have to use that abomination known as bit.ly.
474 posts
Posted 08 June 2012 - 11:56 PM
D3natt
It's a good lesson to google before you start thinking you know what something is.
Anyways
@kazagistar
For SMP they have to enable editing the rom. Anyways, it's possible and I had SMP in mind when I wrote up the topic.
I'm talking about a complete re-edit. Deleting the programs in rom and starting from scratch. Unfortunately you can't delete rom or the mod will mess up. I hope to make it so it doesn't and we can build up from nothing!
You realize the link is a LMGTFY of "Operating System Wikipedia"? Clearly the intent is to read the wikipedia article. So why not just direct link? At the very list, you didn't have to use that abomination known as bit.ly.
I think you mean least*?
864 posts
Location
Sometime.
Posted 09 June 2012 - 05:01 AM
Exactly, not deleting the java files and creating it from scratch. Simply using the computers already made, same language, etc.
You can delete the files (not folder) inside of mods/cc/lua/rom and recode it from scratch like that.
Exactly
@D3matt
IK it's more simple to do that, but I want to teach people they should google.
EDIT: Added direct link… D3matt, stop complaining.
2447 posts
Posted 09 June 2012 - 10:01 AM
I don't understand why you simply can't set a new environment for your code without any of dans stuff and then set up your own. It's what Riddler does with his kernel (I should ask him to post it here). There's no need to boot from earlier in the process.
864 posts
Location
Sometime.
Posted 09 June 2012 - 10:20 AM
I don't understand why you simply can't set a new environment for your code without any of dans stuff and then set up your own. It's what Riddler does with his kernel (I should ask him to post it here). There's no need to boot from earlier in the process.
I'm making it right now, when I introduce it to my server they will be able to edit the rom.
They could buy the CraftOS or create by themselves.
It's a "plugin" for this mod that enables you to edit the rom and create something from scratch.
Quick question though.
When you boot up the computer, how do you use the editor if it doesn't exist?
That is why It's a plugin.
EDIT: That's why I plan to have it startup with an editor… I just don't know that it'll be able to do that.
I should make it so you need pastebin (server) to upload files to the computer.
514 posts
Location
Over there
Posted 09 June 2012 - 11:40 AM
How about simple boot disks?
718 posts
Location
Hawaii
Posted 09 June 2012 - 10:11 PM
How about simple boot disks?
This. ^^
I tried making one (i didn't test it yet) so here is my progress of boot disks.
rom/programs/shellEdit:
I made a program for this topic, i'm gonna call it BootDisks :)/>/>
167 posts
Location
District52
Posted 10 June 2012 - 07:41 AM
Whoever manages this can then feebly try to make a O.S for a real computer.not so clever now! Or are you….