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

[Jos] - A Computer Craft OS

Started by je06, 22 June 2013 - 09:04 PM
je06 #1
Posted 22 June 2013 - 11:04 PM
This OS is still in progress.
Version:0.3
Installer:pastebin get WfPiVr5H install
You are free to use the apis.
Spoilerapi paths:
Spoiler/.os/jos
/.os/screens/screen
/.os/cci
how to use
Spoilerjos api
Spoilerjos.version() – returns os version
jos.name() – returns os name
jos.run() – runs a program
screen api
Spoilerscreen.drawImg(path,x, y) – draws an Image
screen.printCenter(text, y) – print text in center of screen
screen.writeCenter(text, y) – write text in center of screen
screen.printX(text, x) – print text at x on the current line
screen.printY(text, y) – print text line y
screen.printXY(text, x, y) – print text at x on line y
screen.writeX(text, x) – write text at x on current line
screen.writeY(text, y) – write text on line y
screen.writeXY(text, x, y) – write text at x on line y
cci
SpoilerreadC(x, y) – gets input at x on line y
getLastRead() – get last input
inputRead(text, time) – emulates keybord. put in one char of text and sleeps(time). Only works if you are using readC().
inputOther(e, p) – qeueu event with p(unlimited). pulls with 'cci_" + e.
PM me bugs/ideas
Change log
Spoiler0.3
SpoilerAdded cci
Fixed screen flickering bug when holding up/down key on desktop
0.2
SpoilerAdded installer
Added desktop
Added background to desktop
Removed Auto-Update
0.1
SpoilerJos created
Plans
SpoilerDatabase api
3D objects api
Bank program
cci(computer controlled input) api
world internet controller api
Anavrins #2
Posted 22 June 2013 - 11:33 PM
Did you tried your OS at all before posting?


I would guess your "start" program should have a line that runs the "apis" programs, but it doesn't, so it crashes at line 2.
H4X0RZ #3
Posted 23 June 2013 - 04:06 AM
There aren't any APIs…
You only have a filebrowser and GravityScores Firewolf…
je06 #4
Posted 06 July 2013 - 02:28 PM
I test the basic programs to see if it runs at all.