Author Topic: BASIC Shell  (Read 22263 times)

0 Members and 3 Guests are viewing this topic.

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 #15 on: September 22, 2009, 02:03:25 pm »
mhmm I am not sure if this would be possible, though, unless Celtic III allows such things. My guess, though, is that if Celtic III has a command to detect if a program is in ASM or not, the shell could simply try running the program with Asm(. In some cases, this might work. I remember Galaxian could be ran from home screen with Asm(. ZTetris caused RAM clears, though.

Also, another thing I was wondering, I think the shell should save every setting, variable used like cursor position and stuff like that into an appvar or a big list that would optionally get archived before any attempt at running a program, and get as much RAM freed up before running it because some BASIC games will most likely require all the RAM or will cause variable conflicts with the shell the next time you run it.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #16 on: September 22, 2009, 05:56:46 pm »
that isn't possible for a BASIC program, but it will be able to do noshell ASM, when I get to that
also, I almost finished the folder system, so far so good :D just a little more code to add all the relevant non-system items to the main folder (faster then skipping all the system vars in the displaying process)
screenshot/zip soon
/e

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: BASIC Shell
« Reply #17 on: September 22, 2009, 06:12:44 pm »
that isn't possible for a BASIC program, but it will be able to do noshell ASM
I'm not sure which suggestion that was aimed at, but it is possible to tell if a program is Asm or Basic using CelticIII.  :"BB6D"=det(14,"PROG",0,2 will be true if PROG is an assembly program, and false otherwise (since every Asm program starts with BB6D).
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #18 on: September 22, 2009, 06:24:12 pm »
ah yeah, well, I'll have to find out some stuff with that....thanks :D
and btw, here is the new screenshot and zip

EDIT: oh yeah and to answer this
Also, another thing I was wondering, I think the shell should save every setting, variable used like cursor position and stuff like that into an appvar or a big list that would optionally get archived before any attempt at running a program, and get as much RAM freed up before running it because some BASIC games will most likely require all the RAM or will cause variable conflicts with the shell the next time you run it.
yeah that was my plan

EDIT2: oh yeah, I also forgot to mention, this new version supports scrolling :D

EDIT3: commented code: http://eeems.pastebin.com/f30513616 and http://eeems.pastebin.com/f76faea86
only has comments on new stuff (and some old stuff)

EDIT4: also I settled on a name :D
Celtic Calculator Interface SHELL (CCI - SHELL)
what do you guys think?
« Last Edit: September 22, 2009, 08:53:10 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 #19 on: September 22, 2009, 11:39:35 pm »
Wow I like the loading screen ^^

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: BASIC Shell
« Reply #20 on: September 23, 2009, 12:08:14 am »
Great graphics! I'm really not the one for shells, Basic or otherwise, unless they are needed to run certain games, so I can't comment on the actual functionality, but everything looks very nice, clean, and professional.  The functionality also looks better than some of the shells i've tried over the years.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #21 on: September 23, 2009, 03:22:47 pm »
Thank I got my calc taken away so I may be a while
« Last Edit: November 08, 2009, 02:14:07 am by Eeems »
/e

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: BASIC Shell
« Reply #22 on: September 23, 2009, 04:09:49 pm »
Thank I got my calf taken away so I may be a while

Poor little cow... :(
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #23 on: September 24, 2009, 02:53:15 pm »
Ugh this sucks, I hope you just mean taken away by teacher/parents though,not stolen x.x

Offline JoeyBelgier

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 545
  • Rating: +25/-21
  • Joey
    • View Profile
Re: BASIC Shell
« Reply #24 on: September 24, 2009, 03:00:22 pm »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #25 on: September 24, 2009, 09:08:00 pm »
yeah sorry I meant to type in calc but my friends ipod touch changed it to calf....
but yeah by my 'rents
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #26 on: November 08, 2009, 02:13:06 am »
Hmm, I had forgotten to mention that I had just about fixed my folder errors when my calc was taken...so as soon as I get it back, hopefully I will be able to show that off
/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 #27 on: November 08, 2009, 02:20:19 am »
Nice, I hope you get it back soon

I noticed someone else on UTI is starting a shell, but idk if he's just planning to do the usual so called "basic shell" that does nothing along the lines of management or something like yours. People were quite hard on him on UTI, tho x.x, had I got an account there, still, I would be tempted to just invite him here so he can announce his project in peace :P

Is it me or has UTI gone increasingly hostile in the past year? There used to be a time where only like two members (including one staff) were occasionally rude and/or discouraging, but now more and more like Graphmastur seems to be and it seems to happen regulary. Still not at the level of how Cemetech used to be, but it seems to get closer. Oh well, at least at Omnimaga we do care about keeping our new members and unlike other sites, newbies are allowed to do mistakes and learn from them

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: BASIC Shell
« Reply #28 on: November 08, 2009, 11:48:36 am »
I have noticed it as well, several members in particular have been starting up a lot of fights/trolls recently... :(


Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: BASIC Shell
« Reply #29 on: November 08, 2009, 12:36:18 pm »
Yeah, I hope I can get back to this soon too. Ice also notices that, and I did try to be nice to him, and to calm the others down so they would give him a chance
/e