Greencini OSX 3.1 To get the chat and avira code go to www.greencini.co.nr
Key:: /=/ is Not equal.


Code:
:ClrHome
:ClrDraw
:AxesOff
:Menu("Greencini","New User",NE,"Existing",EX,"Help",H,"Quit",Q) 
:Lbl H
:Text(1,15,"If adding a new user Put A : After your name.)
:Pause
:ClrDraw
:Stop
:Lbl NE
:Input "Name:",Str0
:Pause
:Goto EX
:Stop
:Lbl EX
:Disp "Welcome:",Str0
:Pause
:ClrHome
:Goto GM   
:Stop:End
:Lbl GM
:Text(1,15,"Greencini Osx 07 3.1")
:Text(8,15,"Registered By:",Str0
:Text(14,15,"Push Enter")
:Pause
:ClrDraw
:Goto GC     
:Stop:End   
:Lbl GC
:Text(1,15,"Greencini Menu")
:Text(8,8,"1:Start Menu")
:Text(14,8,"2:About")
:Text(20,8,"3:Shut Down")
:0→D
:While D=0
:getKey→D
:End
:If D=92     
:Goto SM
:If D=93
:Goto A1
:If D=94
:Goto SD
:If D=45
:Goto GC
:Goto GC
:Stop:End   
:Lbl SM
:Menu("Programs","Chat 2.3",CH,"AVIRA4",AV,"TI-BASIC",TI,"CALC",CA,"QUIT",Q) 
:Lbl CA
:ClrHome
:0→X
:While X/=/999.99
:Input " ",X
:Disp " ",X
:End
:Return
:Stop
:Lbl Q
:Goto GC
:Stop
:Lbl CH
:prgmCHAT2
:Stop
:Lbl AV
:prgmAVIRA4
:Stop
:Lbl TI
:Disp "ERROR"
:Disp "NOT BUILT"
:Pause
:Goto GC
:Stop:End
:Lbl A1
:ClrDraw:ClrHome
:Text(1,15,"Registred By:",Str0)
:Text(8,15,"Greencini OSX 3.1)
:Text(14,15,"Chat 2.3")
:Text(20,15,"Avira 4.6")
:Text(26,15,"TI-BASIC(NOT SUPPORTED)")
:Pause
:ClrDraw:ClrHome
:Goto GC
:Stop:End
:Lbl SD
:Text(1,15,"SHUTTING DOWN")
:Text(28,20,"PUSH ENTER")
:Pause
:ClrDraw
:Disp "Clearing Strings"
:Disp "Reset Axes"
:Disp "Push Enter"
:Pause
:DelVar Str1ClrHome 
:Axes On     
:ClrHome:ClrDraw
:Stop   
I need help with 1,5,7,and 10., please post ideas.

Greencini OSX Updates for higher versions.
Version 4.0
1.Frame sets(Like windows)
2.Avira 5.7 update
3.TI-BASIC EditorBuilt In
4.CalculatorBuilt In
5.Multi-Users and passwords(This will be encoded in the script to prevent password theft.)
6.Wireless chat(Chat 3.6)
7.Midi player.
8.Game Handeler(A place to store games so code won't mix.)
9.InterconnectBETA(Wireless internet between calculators)
10.Avira/Greencini Firewall.

Version SE(4.3)
1.Frame set 2.3
2.Interconnect 1.4
3.wireless webpage builderBeta(Very tricky)
4.Hardware updates(Mini Keyboard)
5.Hardware updates(Memory update)
6.Chat 4.0
7.Avira 6 SE
8.Wireless password(Allows you to login securely to the interconnect.)
9.OSX updater wirelessBETA
10.System updater wirelessBETA(Requires TI-Server a.k.a. Powerful calculator)
11.Avira/Greencini Firewall 2.0.
Simple antivir but only cleans you calc.

Code:
:Axes off
:Lbl AM
:ClrDraw
:Text(1,15,"Avira 4.0,Greencini")
:Text(8,8,"1:Clean")
:Text(14,8,"2:Defaults")
:Text(20,8,"3:Version")
:Text(28,8,"4:Return To OSX")
:0→D
:While D=0
:getKey→D
:End
:If D=92
:Goto A
:If D=93
:Goto B
:If D=94
:Goto C
:If D=82
Goto RE
:If D=45
:Goto AM
:Goto AM
:Lbl A
:ClrDraw
:Full
:Garbage Collect
:ClrHome
:ClrDraw
:Goto AM
:Stop:End
:Lbl B
:Normal:Float
:Radian:Func
:Connected:Sequential
:A+bi:Full
:Goto AM
:Stop:End
:Lbl C
:ClrDraw
:Text(1,15,"Avira 4.0")
:Text(8,15,"Greencini Not Connected")
:Goto AM
:Stop
:Lbl RE
:prgmGCOSX
:Stop:End
No offense, but these are some of the most inefficient, bug-ridden, error-prone, bloated messes of code I've ever seen.
Which one avira or GCOSX 3.1?
blm22 wrote:
Which one avira or GCOSX 3.1?
Both of them. You have gluts of Lbls and Gotos, Stops after absolute jumps (Gotos), and more.
The OSX runs fine all i really need help with is making it seem more like windows and I suck at asm so I posted to see if someone would help me.
what exactly does greencini do? It seems as pointless as my programs.
Mostly it's more of a shell but it works like a very simple osx doing command like opening sub programs and allowing you to chat with other people who have greenciniOSX and also has a built in calculator so you don't have to worry about shutting down greencini to do your work.
Hey, it's great that you're learning to work on a OS(i have made at least 3), but at least try to make it complicated and more user friendly. For example, add lines and drawings to make it look more like a shell and not random text. I'm just trying to give examples for what i did, I know others can give more detail and reasons for what you should change.
Well that's what TI-Frames is going to be is make it more friendly looking but i don't know how tho make code that automatically draws in frames for you.
Here is my first version of greenciniOSX

Code:
:Axes off
:ClrHome:ClrDraw
:Text(1,15,"Greencini OSX 1.0")
:Text(8,8,"Push Enter")
:Pause
:ClrDraw
:Lbl GC
:Text(1,15,"Greencini Menu")
:Text(8,8,"1:Start menu")
:Text(14,8,"2:About")
:Text(20,8,"3:Shut Down")
:0→D
:While D=0
:getKey→D
:End
:If D=92
:Goto SM
:If D=93
:Goto A1
:If D=94
:Goto SD
:If D=45
:Goto GC
:Goto GC
:Stop
:Lbl SM
:Menu("Programs","Chat1.2",C1,"Avira",AV)
:Lbl C1
:ClrHome
:Menu("Chat1.2","Send",S,"Receieve",R,"Quit",Q)
:Lbl S
:Input "MSG:",Str1
:Goto C1
:Lbl R
:GetCalc(Str1)
:Output(1,1,Str1)
:Pause
:Goto C1
:Lbl Q
:DelVar Str1ClrHome
:Goto GC
:Stop
:Lbl AV
:prgmAvira4
:Stop
:Lbl A1
:ClrDraw:ClrHome
:Text(1,15,"Version 1.0")
:Pause
:ClrDraw
:Goto GC
:Stop
:Lbl SD
:Text(1,15,"Shuting down...")

:Text8,8,"Push Enter")
:Pause
:Disp "done"
:ClrDraw:ClrHome
:Stop
I'm not totally sure what ur talking about but maybe this will help.

Code:

0->Xmin
0->Ymin
94->Xmax
62->Ymax
Horizontal 0
Horizontal 62
Horizontal 54
Vertical 0
Vertical 94
Text(1,25,"Greencini blah blah"
...
More stuff to add on frame
...
Storepic0 <-choose any number...


this is really simple so i don't think this is what you are talking about.

[edit] try not to double post. I did this once and everyone got mad at me. just edit your post and ill see it.
clementop wrote:
I'm not totally sure what ur talking about but maybe this will help.

Code:

0->Xmin
0->Ymin
94->Xmax
62->Ymax
Horizontal 0
Horizontal 62
Horizontal 54
Vertical 0
Vertical 94
Text(1,25,"Greencini blah blah"
...
More stuff to add on frame
...
Storepic0 <-choose any number...


this is really simple so i don't think this is what you are talking about.

[edit] try not to double post. I did this once and everyone got mad at me. just edit your post and ill see it.



Code:

Horizontal YMin
Horizontal YMax
Horizontal YMax-8[deltaX]
Vertical XMin
Vertical XMax
Text(1,25,"Greencini blah blah"
oh yes, that would keep from changing the zoom. Interesting. Now for storepicX isn't necessary because its so small and fast. Perfect.
clementop your version of the frames won't let me reset the axes and the other one won't work on my calc.
blm22 wrote:
clementop your version of the frames won't let me reset the axes and the other one won't work on my calc.
You know that XMin, XMax, YMin, YMax, and [deltaX] are from [VARS][1], right?
What does deltaX do? ive never really seen it used.
(Xmax-Xmin)/95
Well, here are a couple of recommendations I have for your code:

* DON'T USE LBL/GOTO statements. They can cause memory leakage, they are slow, and they are highly prone to errors.

* You don't need ending " or ); save a few bytes Smile

* Make all of the menus custom with some kind of neat way to select things (I have used the basic cursor (made fancy, of course on the graph screen), blinking selection, boxes, etc). This will make your program MUCH more attractive and usable

* Maybe I'm missing something obvious, but there is no label C1, so there isn't any "chat"

* Chat is nearly impossible to use in basic; linking commands don't work very well, so I'd recommend removing this feature or using an ASM program to help

* xLib does wonders for graphics on programs. You could also use xLib to have a run program command & have highlight menus & checking the amount of free RAM

* To make a calculator, simply have Input "",A:Disp A and a way to return to the OS

* Make sure you don't have memory leakage with calling different programs

* A screen saver or automatic power down (if you are using an ASM program to help); those are always nice and they would make it more like windows

* Lots of useless software updates Very Happy

* One of the main things an OS does is allow programmers to use build in routines, but you'd have to have ASM to do that...
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement