Author Topic: zStart - an app that runs on ram clears  (Read 333364 times)

0 Members and 1 Guest are viewing this topic.

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #300 on: July 04, 2011, 12:24:01 am »
If you go to the program EDIT menu and try to open a program by pressing the numbers 1-0, you get ERR:ARCHIVED.

If you edit an archived program and use Omnicalc's fast apps to enter another application, zStart doesn't catch the application change and doesn't rearchive the program you were editing.
« Last Edit: July 04, 2011, 12:25:40 am by DrDnar »
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #301 on: July 04, 2011, 01:41:06 am »
Ok, good call on those. I know why the numbers 1-0 cause the glitch. It's because you aren't highlighting the one you are going to pick. If I can figure out how to make that work, it might make the whole process easier than what I do now.

Omnicalc's fast apps is a hard one though, I don't think it follows all the rules. (You can get to the regular program menu from it.) But nonetheless, I'll try to stop whatever it's doing.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

samebull (metagross111)

  • Guest
Re: zStart - an app that runs on ram clears
« Reply #302 on: July 04, 2011, 06:05:53 am »
This is the coolest app I've seen on the forum, way to go.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #303 on: July 11, 2011, 11:04:32 am »
Feature request/need:
Abort displaying grayscale pic on startup if battery level is low.  I almost missed the low battery message today...

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: zStart - an app that runs on ram clears
« Reply #304 on: July 11, 2011, 11:21:07 pm »
Random bug:
Editing an archived program while calcutil is installed makes a separate program as it's supposed to.  But the "temporary" program stays afterwards, runs like a normal program and everything (even shows up in Axe's compile menu :P )
Vy'o'us pleorsdti thl'e gjaemue

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #305 on: July 12, 2011, 12:50:36 am »
Feature request/need:
Abort displaying grayscale pic on startup if battery level is low.  I almost missed the low battery message today...

That shouldn't be too hard, a quick battery check should probably take care of that.


Random bug:
Editing an archived program while calcutil is installed makes a separate program as it's supposed to.  But the "temporary" program stays afterwards, runs like a normal program and everything (even shows up in Axe's compile menu :P )

Bleh, calcutil. I'll try to figure out what's causing it.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #306 on: July 25, 2011, 01:59:53 am »
Total reformat update!!

Here's a massive update on my part, even though on the surface it would appear not much has changed:
  • Completely redid the appVar system, (I cut off around 50 bytes through compression)
  • Removed Executing past $C000
  • Removed specific font options
  • Added an ONSCRPT so that the hardware changes will persist through battery pulls
  • Label menu shows 3 character labels
  • Ability to run programs from the home screen
  • Ability to run basic programs
  • Seamless Goto in case an archived basic program Errors
  • New parser hook system
  • Parser hooks no longer runs in basic programs (used to cause errors)
  • Font editor now exports appVars
  • Running asm programs now handles the error handler correctly through hacking
  • No longer store data on the extra ram page, now I use the very first Vat spot



Changing my appVar system meant a lot of changes, since it is used in almost every feature of the app. That's why so many little things were changed. It was also a good time to get rid of some of the unnecessary stuff.

Running programs from the home screen works exactly like you would expect it to. Check off the option under Run Programs and then just type prgmNAME on the homescreen and whether it is basic/asm archived/unarchived, it will run. It also allows you to put Asm( in front of it, even if it's a basic program :D Any basic programmers out there will also be happy to see that running stuff from the archive feels exactly like running stuff from ram. If an error pops up, just press goto and it will open an archived editing session. If you're not really paying attention, you would never even notice.

My parser hook system is pretty cool, it only enables itself when necessary, and it chains to omnicalc if omnicalc is enabled. It only runs if it is being called from the homescreen though, because the way I handle my parser hook, it wouldn't work right in basic programs. (Now if kerm would fix his chaining, we could have: DCS>zStart>Omnicalc>Symbolic, but we'll just have to wait on kerm ;))

I also stopped storing information on the extra ram page because I just didn't like doing that. I store stuff like where the font is located and where omnicalc is located because if I had to find them every time, your calculator would be noticeable slower. Now, I put it in the very first VAT spot. My hooks will always move it to the first spot and fix it's values, so feel free to try to mess with it in calcsys, you'll have best results if have the font hook turned on. Another interesting note is that it uses it's name for storage, that's why it looks so weird. And like all the other features in my app, the VAT entry only exists if there is a hook that needs it.


I'm trying to gear up for a ticalc.org release, so if you find any bugs, tell me. Since I changed all 21 of my source files, there are bound to still be a few errors here and there that I missed in my 16 hour debugging spree. I'd also like to know if the appVar conversion process is working nicely. You won't know that anything has changed, but the first time you run the new version, it actually does some serious work to the appVar.

Anyways, I think I've finally absorbed calcutil, so stop telling me about compatibility errors ;D

Edit:
   It helps to attach the program.

Edit2:
   Fixed Eeems's little problem, and put C000 back.
« Last Edit: July 25, 2011, 12:32:39 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #307 on: July 25, 2011, 02:04:24 am »
Nice. I was wondering what happened to this project. I'll try this on my calculator.
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: zStart - an app that runs on ram clears
« Reply #308 on: July 25, 2011, 05:53:56 am »
So just installed and transferred over from an older version. How I did this was uninstalling the old one, deleted it and then installed the new one, so it was a clean slate basically. I then proceeded to change all the settings to how I wanted. when I quit the app it crashed, and would no turn back on. I tried pulling the batteries and it was still not turning on, so I did a pull+delete and then restarted it, it then started, and changed my contrast to the highest setting. My boot program and my archive program did not run because for some reason my entire program list has been deleted :/
I'd appreciate some help getting it back, because I don't want to have to go and recompile some of that stuff as well as search around for others. ( I didn't lose any of my own work though ).
Thanks, and hopefully this is an easy fix.
/e

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #309 on: July 25, 2011, 09:54:08 am »
Removed Executing past $C000
No!! :'(
I use this option a ton when I'm working with large Axe programs like Cube Droid, as then I don't have to compile them to an App just to debug something simple.  I'd really, really like to see this feature back.  Thank you. ;)

Everything else sounds awesome!  I'm going to try it as soon as we figure out what happened to Eeems. ;D

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #310 on: July 25, 2011, 11:15:42 am »
Eeems, most likely you just need to clear ram again while holding VARS. I'll try to figure out what happened to you.

zTrumpet, I'll add it back, I didn't realize anyone actually used it ;D I couldn't see how it would be used, but debugging makes sense.

Edit:
    Eeems, what settings did you change? That might help explain what happened, because it sounds to me like it crashed either when it was making the changes, or it made bad changes.

Edit2:
    It looks like installing/uninstalling the mod destroys some ram, so no harm was done. I'll just figure out what it's killing.
« Last Edit: July 25, 2011, 12:08:58 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #311 on: July 25, 2011, 12:35:54 pm »
I never tested out the OS modding because I never even opened that file during this whole conversion process, but the problem was that it destroyed IX. I use IX as a pointer to my flags so that I can read them individually. However, when the flash writing process screwed with IX, it made all of the options in zStart invalid. That's why your contrast went to 0 and all sorts of other nasty stuff.

However, I fixed it, and it's all good now. I also re added the ability to execute past C000 for zTrumpet :D

Also, your fix is definitely just to hold VARS while clearing ram, no harm was done.


(Program is reattached up there if you couldn't figure it out ;D)
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

SirCmpwn

  • Guest
Re: zStart - an app that runs on ram clears
« Reply #312 on: July 25, 2011, 03:50:52 pm »
zStart set my contrast level automatically to the max, and I can't figure out how to reduce the number ;_; help?

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: zStart - an app that runs on ram clears
« Reply #313 on: July 25, 2011, 04:32:40 pm »
Actually, there's one thing CalcUtil does that zStart doesn't: allow log() to be used with arbitrary bases. I know MathPrint OSes have a logbase() function, but 2.53 was sooo buggy for me last I tried it.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: zStart - an app that runs on ram clears
« Reply #314 on: July 25, 2011, 05:10:46 pm »
Eeems, most likely you just need to clear ram again while holding VARS. I'll try to figure out what happened to you.
That didn't work, my archive is still gone :/ oh well.
Edit:
    Eeems, what settings did you change? That might help explain what happened, because it sounds to me like it crashed either when it was making the changes, or it made bad changes.
I just set my contrast, lcd delay, changed the program settings to work with certain stuff, installed the on ramclear part etc.
I never tested out the OS modding because I never even opened that file during this whole conversion process, but the problem was that it destroyed IX. I use IX as a pointer to my flags so that I can read them individually. However, when the flash writing process screwed with IX, it made all of the options in zStart invalid. That's why your contrast went to 0 and all sorts of other nasty stuff.

However, I fixed it, and it's all good now. I also re added the ability to execute past C000 for zTrumpet :D

Also, your fix is definitely just to hold VARS while clearing ram, no harm was done.


(Program is reattached up there if you couldn't figure it out ;D)
I'll try to see if that one works :P
zStart set my contrast level automatically to the max, and I can't figure out how to reduce the number ;_; help?
same for me
/e