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

[CC1.6.3] [Alpha 2.00] BlankOS --Multitasking piggybacking off FG program

Started by CptBlank, 04 May 2014 - 05:55 PM
CptBlank #1
Posted 04 May 2014 - 07:55 PM
Well im sorry but i am gonna implement multitasking instead of custom programs

I tried implementing multitasking,but it needs alot of work and im too lazy to do it
This time, i will do the coding in Minecraft,and if it works out, i will update the pastebin files
While i am implementing my own multitasking i give BlankOS the FG program to use multitasking (multishell in general),also i am working on icons :D/>
*this is not an NDF-OS clone,i only used the mouse events part :P/>*
*this is not an OneOS desktop clone,i just like that style :D/>*

I am planning to make better icons,This letter icons are placeholders


I am sorry,but,The desktop arguments were removed cause of a bug causing black screen on computer when finishing firstTime setup
When i removed the arguments it worked normally again
Features:
SpoilerLoading Screen ..duh! (Will have an logo if enough people suggest it)
Desktop with clickable icons and two context menus,One for basic OS stuff and other for Refresh and Hide/Show Icons
Fully Working Login Screen [One Account Supported]
Factory Reset Button so u can reset password to admin and username to admin
File checker on startup [Without it BlankOS will boot in 3 seconds,but i use it so it check for critical files,i dont want you guys to get attempt to call nil or no such program errors]
Task Manager
Some BSOD's when performing illegal actions like killing BlankOS.exe process
Able to shutdown and reboot…duh!
A File Browser (inventor2514's GUI file browser,)


Coming Soon features:
SpoilerConfig option for desktop color
option to remove individual icons
Some games.
Ability to disable login screen,overwrites shell.run ("login") with shell.run ("desktop")
More Programs than just LuaIDE!
oeed's AppStore after it gets working (For now it wont download stuff because it says they are empty)

Proof we all have right to modify inventor2514's fileBrowser


inventor2514, on 05 July 2012 - 02:36 PM, said:

Feel free to use/modify my code as long as you credit me as the original author. That goes for anyone who is interested


Sweet Screenies: –OUTDATED–I will get the new screenies when my computer gets working.I am typing from my sis comp….
The Loading Screen (Doesnt take a lot to fill the whole bar



The Desktop!




Context Menus:

This one:


and this one with the right click!



Credits
To:


inventor2514's GUI File Browser
GravityScore with LuaIDE
A few random OSes on this site that inspired me.
NDFJay with GUI tutorial (IKR but all i used from the tut is the knowledge of functions and mouse events,the other stuff was known by me already)


To download the OS just type in your console
pastebin get 6ZjubEE4 ins.tmp or pastebin run 6ZjubEE4
It doesn't need any user input while installing just wait till the computer reboots and you're done
be sure to enable http api !i will upload the files when i can.
Feel free to suggest things or report bugs…
Also dont worry about updates.I edit the pastebin files with the newest version of BlankOS code as soon as possible.To updae all your job is to click the BlankOS button ,then
click Update BlankOS and wait
Edited on 06 June 2014 - 04:24 PM
CptBlank #2
Posted 12 May 2014 - 06:57 PM
I am currently working on Alpha 0.99 of BlankOS (IKR Jumped from 0.01 to 0.99 cus the 98 stages were developed privately(Without anyone knowing))
I made a Password and Username config system with fLib
(LULZ 98 stages..//actually every stage was some random bugs and crashes fixed,also config and login was added in Alpha 0.50,Task Manager was added in Alpha 0.99,You can use it for fun,crashing BlankOS bla bla bla)
Also a login screen

The Login Screen with nothing in:
To use it you must write ur username press enter then write password and press enter :)/>
default username is admin and default password is admin






Login Screen with my credentials…Note that u can see the *'s for the password letters



Context menu with Factory Reset button which will reset all configsT
To reset the pass and user to admin admin there are two ways
First Way:If you are new or just lazy you right click the desktop and click Factory Reset ,next time you boot the user and pass is admin admin

Second way:terminate while the loading screen is there and type edit .firstTime then save the file and exit,After that u can boot and it will ask for passwordd and user
you just type admin admin then go to desktop it will ask for new pass and user (Omai gawd long story :P/>)








If you are a bad boy and try to bypass the login screen by terminating and typing desktop in the shell you get this!
I use this as a temporary metod so u can get in desktop if you bypass login screen
This can be bypassed too because it creates a file called .login.tmp when you start the login program
If you succesfully login it deletes the .login.tmp
However if you terminate the login the .login.tmp file will stay there
the desktop checks for .login.tmp and if it exists forces a LOGIN_FORCE_EXIT crash
the same thing is for the .startup.tmp file but instead of crash it reboots the computer







Okay so there is one question for you guys.
Would you like the config to be wiped when updating BlankOS or not?
If no i could just remove the fs.delete ("/conf") line in the updater
Edited on 12 May 2014 - 05:00 PM
Lyqyd #3
Posted 12 May 2014 - 08:33 PM
Threads merged. Everything about your OS needs to stay in this thread, and this thread only.
CptBlank #4
Posted 16 May 2014 - 04:51 PM
—–I just want to keep this alive——–

New Update!
BlankOS Alpha 1.01 is up online with a shiny new installer using fwrite and tables
as always all you need to do is ….pastebin run 6zjubee4
More of this on the first post

Sry for double post,but this topic is dying and i am releasing alpha 1.02 soon,

It should get released instantly but i fixed my computer today.


Summary:I double posted to keep this alive,also some screenies are coming soon

EDIT:Lol stupid typo

EDIT2:Nobody is replying,can i bump?
Edited on 21 May 2014 - 04:57 PM
Blue #5
Posted 23 May 2014 - 04:49 PM
Nice OS! :)/> One cool feature would be the ability to add programs.(I say this all the time :P/>)
CptBlank #6
Posted 24 May 2014 - 03:55 PM
I will try to look in that,The solution would be an App Store
However to run the programs you should use the file manager and open programs folder
Currently you can get programs but they wont appear on desktop
To get programs you just open the shell (BlankOS intergrated shell) and type in pastebin get (CODE) (filename)
To run programs
Planning to add more new features,even a rednet browser (My code)
Will try to make new cooler icons
As said an App Store


To send me new programs to add in the upcoming appstore make a post that looks like this

Name: (name here)
Pastebin code: (code here)
Description: (description here)
Blue #7
Posted 24 May 2014 - 07:24 PM
I will try to look in that,The solution would be an App Store
Actually,you can create and read config files using fs.open.

For more information,click here
CptBlank #8
Posted 26 May 2014 - 03:58 PM
I know,i use fLib for that
Its just easier
I could make some desktop "slots" and have them contain programs
Blue #9
Posted 26 May 2014 - 04:01 PM
I know,i use fLib for that
Its just easier
I could make some desktop "slots" and have them contain programs
Did you look at my os? :P/> It does exactly that.(I recommend it)
Edited on 26 May 2014 - 02:01 PM
CptBlank #10
Posted 27 May 2014 - 02:48 PM
Uh i will look at Glass OS source now.
I am also working on a custom bootloader allowing up to 4 OSes +CraftOS

edit: Uh, i must work on the OP!
Edited on 01 June 2014 - 03:14 PM