Author Topic: BASIC Shell  (Read 22293 times)

0 Members and 1 Guest are viewing this topic.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
BASIC Shell
« on: September 20, 2009, 06:34:03 pm »
ok, I've had this idea for a BASIC shell...so yeah

list of features
  • folders
  • icons
  • support for DCS (BASIC) Icons
  • Appvar savefile (settings, passwords, folders)
  • Text files
  • BASIC IDE
  • grouped file running
  • un/archiving
  • un/hiding
  • un/locking
  • deleting
  • un/grouping (all or specific)
  • program creation

Folders
  • Appvar setup:
Code: [Select]
"foldername"
:"appvarname.var"
:"Groupname.grp"
:"foldername"
::"textfilename.txt"
::"programname.prg"
  • If file is not found in list; it is added to the root
  • A special hidden folder is created for system/app files (smart recognize with Manuel additions
I still have more features to document, I'll add them later

tell me what you think

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: BASIC Shell
« Reply #1 on: September 20, 2009, 06:48:22 pm »
Well, to be honest, I am not really a big fan of BASIC shells, and I am sure most people would share the same opinion of them. Heck, even on Omnimaga, which is open minded toward most projects, BASIC or ASM, didn't welcome BASIC shell projects too well in the past, simply because most people are sick to death of seeing Ticalc archives being flooded with thousands of them, making it harder to find more useful basic tools such as ASM utilities/hacked tokens stuff.

Else, I think it would be cool to have everything related to program management in one single place, like in MirageOs. The ability of unlocking programs even if they're not Mirage/DCS compatible would be cool, too. Same for stuff such as copying files/duplicating them or even compiling ASM programs (those containing AsmPrgm:hexcodes).

One other thing I would also like is a folder system that won't get deleted when RAM is cleared and as less RAM usage as possible during shell execution.

Everything should also run at relatively fast speed, while not being too fast, to make sure it's easy

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #2 on: September 20, 2009, 07:03:37 pm »
yeah, I know
another thing I like about my idea is the running programs that are in groups :D
and I know how to do it :P
EDIT: oh yeah, take a look at this (it's my folder viewer)
this is only a demo displayer, displaying random files, I haven't made the program that grabs the real files
« Last Edit: September 20, 2009, 07:58:49 pm by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: BASIC Shell
« Reply #3 on: September 20, 2009, 08:47:12 pm »
Looks nice :)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #4 on: September 21, 2009, 06:11:38 pm »
ok, here is what I have finished
it will grab the list from what is on the calculator, there is no scrolling though, or folders...all the features work to some degree, but you can't do anything to the programs/appvars/groups/textfiles yet, and you also can't tell if programs are text files and etcetera
also I'm trying to keep it as small as possible, but as graphical as possible, so yeah, it might end up big...
also I am still working on the folder system, and yeah, there is an error with my string fixing from when you add more programs or take some away due to the detection....
but yeah, you can select folders though and the path will change, but I haven't finished with the whole folder thing
I'll have to finish documenting the vars later too...
oh yeah on a side note, I also made a mouse routine, and a click routine for when you select things, it makes the objects part of L3 and yeah, it works really well :D
also it's much smaller then hard coding it :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: BASIC Shell
« Reply #5 on: September 21, 2009, 06:16:52 pm »
wow looks pretty nice :)

I also like the mouse idea. Make sure only mouse movement is ran in its loop, though and have keypresses (like 2nd/alpha) exit the loop to execute their functions. That way it remains fast. Also suggestion: Some people don't use DCS because of the inability to disable the mouse without a plugin. Will you add the ability to switch to regular selection with arrows and shortcuts too? I think it would be a good idea to reach a bigger audience.,

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #6 on: September 21, 2009, 06:25:48 pm »
the only problem with that would be that it would make the code huge, so yeah, not really an option....although if I made a modded version of the mouse routine that would work (instead of mouse it would be something else)
oh yeah, actually you can use the number keys instead of the mouse in dcs...so yeah...
and yes the loop is small, I'll upload the program actually

EDIT: oh yeah, I need a name for this, so if anybody has a suggestion please post it
« Last Edit: September 21, 2009, 06:31:19 pm by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: BASIC Shell
« Reply #7 on: September 21, 2009, 06:38:07 pm »
oh wow didn't knew that about DCS, I was sure you needed to install that additional RAM program that got deleted on RAM clears/crashes

Anyway gonna try it soon. As for name I don't have much idea yet aside from the thing I said on IRC a few mins ago. I'll try to find more ideas, though x.x

Mhmm what about CanadOS? (Canada OS) :P

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #8 on: September 21, 2009, 06:42:11 pm »
lol hmm, I'll add it to the list :P
yeah it was added to the most recent version that is out there
the external thing was for moving the mouse between the things, but yeah, :)
take a look at the documentation and you will see it

EDIT: oh yeah, here is the program so far for all of it in case you want to play around with it
« Last Edit: September 21, 2009, 07:17:07 pm by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: BASIC Shell
« Reply #9 on: September 21, 2009, 08:42:21 pm »
wow awesome so far, trying it right now. Is/will there be functions to change the mouse cursor speed, btw?

Also btw if I quit the program, even by clicking the X, when I run it again I get ERR:UNDEFINED until I delete everything except the programs and the hacked pic

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #10 on: September 21, 2009, 08:48:30 pm »
actually yes there is :D I have it set though in Arose, just play around with the last two items in L4, first is how soon it gets to that speed, the second is how fast it will go
oh yeah, I forgot to add a program to it, here is the zip

and here is the source with comments:
http://eeems.pastebin.com/f69989c0b

EDIT: some fixes to the main file storing, and such, so new zip

EDIT2: hmm, did you see what was undefined? it was probably the program I forgot
« Last Edit: September 21, 2009, 10:23:42 pm by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: BASIC Shell
« Reply #11 on: September 21, 2009, 10:30:18 pm »
actually yes there is :D I have it set though in Arose, just play around with the last two items in L4, first is how soon it gets to that speed, the second is how fast it will go
I see no difference when changing the values

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: BASIC Shell
« Reply #12 on: September 21, 2009, 11:56:34 pm »
Darn, you totally beat me to this!  I just finally started using Celtic III today, and the first thing I thought of was making a basic shell, which I worked on all today at school.  It has a good bit of functionality, but it doesn't look near as nice as yours. :P

Yours looks great though.  If you finish it, I'll definately use yours.

BTW, very interesting way of acessing the programs.  For mine, I stripped all the appvars from the string, then indexed the programs in the string.
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #13 on: September 22, 2009, 12:56:57 am »
well I index all the items in the list actually, I'm not focusing on only programs though, I want to make it so that you can effect all the varables on the calc, including groups.
thanks btw, I was focusing on looks and functionality btw :P
maybe you'll learn from my code and improve upon it :P
oh yeah, another reason I do what I do with my programs and such it because of my folder system, which is still on the drawing board, but I hope to try to implement it by tomorrow :P
/e

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: BASIC Shell
« Reply #14 on: September 22, 2009, 01:13:20 pm »
wow this looks amazing eeems ... random question will this launch mirage os games or ion games as well?
(i apologize for a n00bish question but im curios as to if it can be done as well