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

xOS [Alpha 1.0]

Started by Xuxiym, 17 November 2015 - 04:22 AM
Xuxiym #1
Posted 17 November 2015 - 05:22 AM
I have been a huge fan of ComputerCraft for so long and don't know that much of how to code on ComputerCraft, but I have made my very first OS!

It is currently not 100% complete but most functions of it work, all feedback is appreciated! Oh, and bug reports! :D/>

Install Command:
Spoilerpastebin run iKMjF2uP

Screenshots
Spoiler


CredIts:
SpoilerBrowser / Firewolf - GravityScore & 1lann
Creator #2
Posted 17 November 2015 - 04:02 PM
Very nice! However, I would suggest several things:
  • GUI
  • Multitasing
  • Learning more lua before strarting an OS. Rather start with a file browser or something similar.
Xuxiym #3
Posted 17 November 2015 - 06:55 PM
Very nice! However, I would suggest several things:
  • GUI
  • Multitasing
  • Learning more lua before strarting an OS. Rather start with a file browser or something similar.

I am planning on adding a file browser into the Programs area but I am still getting used to programming on ComputerCraft, but in my choice I think so far it is a nice attempt. :P/>
DubbelSoftware #4
Posted 06 July 2017 - 04:07 PM
Your OS is a good start, if you are a beginner.
But there are somethings that can be better.
Like why do i need to wait 10 seconds for nothing? It doenst load anything.
I also recommend you to make a Logo for your OS. I created a example.

Logo:

		\-\	  /-/
		 \ \	/ /		/---\	  /----
		  \ \--/ /	   /-	 -\   :
		   \	/ ::::  :		 :  :
		   /	\ ::::  :		 :  \-----\  
		  / /--\ \	   \-	 -/		 :
		 / /	\ \		\---/		   :
		/-/	  \-\				 ------/

Here is how to load the logo file:

file = fs.open("logo", "r")
logo = file.readAll()
file.close()
term.clear()
term.setCursorPos(1,1)
print(logo)

Also if i do CTRL=T (terminate). Then i can just get out of the OS. Most OS's do not allow that.

Protect terminating:

oldPullEvent = os.pullEvent
os.pullEvent = os.pullEventRaw

Enable terminating:

os.pullEvent = oldPullEvent

Also, it is not very original. Try to make your own design and custom programs.

NOTE: The logo is not printing on the site exactly, you can download it now:
https://pastebin.com/F5R1CaWD

-DubbelSoftware
Edited on 06 July 2017 - 02:10 PM