Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: thepenguin77 on April 04, 2011, 10:33:42 pm

Title: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 04, 2011, 10:33:42 pm
From the future: To get the latest version of zStart, click on the link in my signature.



I've been needing to make this topic for about a year, I just never did because it was started before I joined omni.

Features:
zStart is a really cool app made by me that enables all kinds of things within the calculator. These include:
-setting degrees/radians
-enabling diagnostics
-MathPrint/Classic
-Kill the 2.5x popup
-Enable/disable stat wizards
-Enabling an 8 level grayscale picture on startup (which can and should be in the archive)
-Enabling the CtlgHelp app
-Enabling Omnicalc
-Setting contrast
-Calibrating the screen driver (ALCDFIX)
-Setting custom fonts (which can and should be in the archive)
-Creating and editing custom fonts
-A molar mass calculator for the homescreen
-A hex/binary converter for the homescreen

And some silly stuff:
-An unfinished Solver++ (I wanted to have one side equal the other side, but I got bored with it)
-The ability to use long tokens (sin( = sine(, tan-1( = arcTangent(, ln( = naturalLogarithm( )

But most importantly, it runs on ram clears. This means, once you set an option in zStart, it is essentially permanent. I haven't had to deal with MathPrint in probably 6 months. Also, since its name is zStart, it will probably be the last app in the app menu for quick access.


Using the Homescreen tools
Most of the options are pretty easy to find as they are actually options. The only two you might have trouble finding are the molar mass calculator and the hex/binary converter. To enable these, while turning on the calculator, hold + for the hex calculator and - for the molar mass calculator.

To use the molar mass calculator, put a ?, then your equation, then another ?. The ? act like parenthesis, so you don't actually need the last one. For instance, ?Ca(NO3)2 will return 164.1.

To use the hex/binary convert, just follow a number with either a h or a b. So FFFFh returns 65,535 and 10101010b returns 170.

These tools don't really like basic programs and both can be disabled by running something that enables a parser hook (zStart if you selected Omnicalc, or DCS)


Running on Ram Clears:
   Here's the cool part. I currently have support for OS's 2.43, 2.53, and 2.55. Just enable the Run on Ram Clears option and you're good to go. If for some reason something should go wrong and you enter a boot loop, (with about 100 people running this for about a year I've only heard of 2, and I caused one of them) hold [VARS] while restarting the calculator. zStart will not run and you can figure out what you screwed up.


For best results, I say use MirageOS because I have designed it mostly for that. The only reason I say this is because DCS and zStart both use OFFSCRPT and the parser hook, so whichever one you run last will have it's stuff enabled.


Technical Stuff:
    To make the calculator run on ram clears, it first found the call that displayed "RAM cleared." Then I routed this to the end of that page and added my own code to set a getCSC hook that points to $4083 in zStart. ($4083 so it will never move) Then when zStart gets control, it closes the edit buffer and does it's thing. It then returns control back to the OS with all the settings now in place.

During the whole 2.71 thing, I disassembled the entire boot sequence and found a much better place to install all the features, the only problem is that I don't really want to have to make an unpatcher for all the previously patched calcs.

Solver++ was my attempt at a true TI app. It uses a lot of semidocumented bcalls to make the edit buffer happen. I got the top part completely done, but the bottom part will probably crash.

zStart never actually disables hooks, it only enables them. This is to prevent it from disabling hooks other programs set. The only downside is that if you disable a feature, the hook is still there so it's still going to work.


Included:
For this first post, the file is the whole thing I tried to upload to ticalc.org. (It wouldn't accept it) It includes:
-the app
-the source (~8500 lines)
-the versions of the apps its compatible with (Omnicalc + CtlgHelp)
-the font I currently use on my calculator (smaller basically, all caps are same height and lowers are too)
-some sample pictures along with the converter
-outdated readme  (it's not too old, it has good instructions on how to make pictures)

So try it out, it might be the most useful app on your calculator :D
Title: Re: zStart - an app that runs on ram clears
Post by: leafy on April 04, 2011, 10:35:37 pm
Sounds awesome.
Title: Re: zStart - an app that runs on ram clears
Post by: Ashbad on April 04, 2011, 10:36:49 pm
Sounds awesome.

Lol, the strong silent type xD

But awesome penguin, I should probably download this sometime soon, sounds actually quite useful ^-^
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on April 04, 2011, 10:39:23 pm
Ah. Thanks. I was using the an outdated version (1.1). :P

Keep up the great work!

EDIT: Double ninja all the way!
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 04, 2011, 11:47:14 pm
This looks amazing...definite dl

Will there be compatibility with CalcUtil eventually?  If so, this is going to be on my calc with the same permanence as Axe ;D
Another idea: run program on startup
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on April 05, 2011, 12:09:01 am
This is nice. By the way if you want you can upload it in the Omni download section. By the way does it let you use archived fonts?
Title: Re: zStart - an app that runs on ram clears
Post by: Juju on April 05, 2011, 12:11:45 am
Sounds really awesome, does it work for OS 1.19?
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on April 05, 2011, 12:23:07 am
it's 84+ only, juju (as is most stuff the penguin writes)
and it DOES sound awesome =D
i'm going to test this out just as soon as that laptop charger cable is shipped...
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on April 05, 2011, 12:34:09 am
@DJ Yes, it uses archived fonts. :)

It's too bad the start up picture interferes with one of the DCS Hooks. :(
But the grayscale is still awesome :D
Title: Re: zStart - an app that runs on ram clears
Post by: Xeda112358 on April 05, 2011, 12:39:02 am
Hehe, downloaded! This is really nice awesome!
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 05, 2011, 02:41:55 am
I will download ASAP. This looks awesome!
Title: Re: zStart - an app that runs on ram clears
Post by: Munchor on April 05, 2011, 02:59:53 am
This sounds pretty cool! Great! No quadratic solver? :P

Quote
-the source (~8500 lines)
w00000t
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 05, 2011, 03:43:15 am
I just noticed a typo:
"refrest"
Title: Re: zStart - an app that runs on ram clears
Post by: Xeda112358 on April 05, 2011, 11:56:52 am
Hmm, the font set didn't work on Wabbit :/ it seems to be shifted left a pixel.... I will try it again to see if I screwed up anything
EDIT: Uploaded screenie...
Title: Re: zStart - an app that runs on ram clears
Post by: Munchor on April 05, 2011, 02:51:38 pm
Hmm, the font set didn't work on Wabbit :/ it seems to be shifted left a pixel.... I will try it again to see if I screwed up anything
EDIT: Uploaded screenie...

Oh my god, is that how it works???? I mean, the font editor, it's so pure perfect!

Eitherway, I noticed the error, hope thepenguin can fix it, but that font editor is sweeeeeeeeet.
/me goes install.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 05, 2011, 02:55:01 pm
/me drools.
Man, none of the computers here at school have TI-Connect! I have to wait 'till I get home!
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on April 05, 2011, 02:59:30 pm
Hmm, the font set didn't work on Wabbit :/ it seems to be shifted left a pixel.... I will try it again to see if I screwed up anything
EDIT: Uploaded screenie...
I had an issue like this in school today. After much scrambling and trying things, the workaround I've found for now is to create a new font set, set it and turn it on, exit zStart, delete the font set, open zStart again, go to the font menu and set your original font set. It's kinda a pain to do, and I still haven't figured out if anything in particular seems to trigger it...
Title: Re: zStart - an app that runs on ram clears
Post by: JustCause on April 05, 2011, 03:18:09 pm
/me drools.
Man, none of the computers here at school have TI-Connect! I have to wait 'till I get home!
I have the opposite problem. Let's see if I can get a slot in the Mac Lab... Seriously, this is freaking amazing. Nice work.

Spoiler For offtopic:
Finale, when do you unlock custom titles like your "ridiculously awesome?"
Title: Re: zStart - an app that runs on ram clears
Post by: Xeda112358 on April 05, 2011, 03:25:42 pm
Oh my god, is that how it works???? I mean, the font editor, it's so pure perfect!
Uh-huh! When I saw I could create fonts directly with the app I fell in love with it ♥
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 05, 2011, 03:31:31 pm
I've been using this quite a bit...
A problem tho.  I tried to make a pic and level8.exe is saying through command that "msvcp100.dll" is missing ??? (and yes I read the readme :P)
Also, I made a font using the app, and the chars look fine in the editor, but in TIOS the they're always one pixel to the left, numbers and letters, so with an L it would just show a line on the bottom and things like that.
Title: Re: zStart - an app that runs on ram clears
Post by: JustCause on April 05, 2011, 03:41:23 pm
Broadly speaking, you can almost always fix missing DLL errors by googling the DLL and putting it in the same folder as the .exe. Hope this helps.

ED: Also, Finale noted the one-pixel-to-the-left problem:
Hmm, the font set didn't work on Wabbit :/ it seems to be shifted left a pixel.... I will try it again to see if I screwed up anything
EDIT: Uploaded screenie...
I had an issue like this in school today. After much scrambling and trying things, the workaround I've found for now is to create a new font set, set it and turn it on, exit zStart, delete the font set, open zStart again, go to the font menu and set your original font set. It's kinda a pain to do, and I still haven't figured out if anything in particular seems to trigger it...
ED2: I'm having the same font problem, and Finale's workaround isn't working for me. Grr...
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 05, 2011, 06:47:10 pm
Broadly speaking, you can almost always fix missing DLL errors by googling the DLL and putting it in the same folder as the .exe. Hope this helps.
I guess this is one of the exceptions...it threw some really long error
"The procedure entry point _invalid_parameter_noinfo_noreturn could not be located in the dynamic library MSVCR100.dll."
so IDK what's going on :P

EDIT: tried the other level8 thing (http://ourl.ca/4866/101850) and it threw the same error

EDIT2:
this just isn't working...at least not for me...
attached image I'm trying to compile...can someone compile it? TIA
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 05, 2011, 10:04:38 pm
With the font being shifted left a pixel, that is being caused by some glitch in the display code. It worked perfectly until I implemented the ability to use it in places where the font is not aligned to the 16*8 grid, which requires the sprite to be shifted to the left. I haven't been able to fix it because I haven't managed to get a font to do it in wabbitEmu.

It's an easy fix though, unarchive and rearchive the font. Then open and close zStart. You might have to do it more than once though.


For the converter not working, you need the C++ runtime libraries. (x86 (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84) x64 (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=bd512d9e-43c8-4655-81bf-9350143d5867))

For 32 bit, install the x86, for 64 bit, install both. I do not know why.
Title: Re: zStart - an app that runs on ram clears
Post by: Deep Toaster on April 05, 2011, 10:35:37 pm
it's 84+ only, juju (as is most stuff the penguin writes)

Aww...

That is amazing.
Title: Re: zStart - an app that runs on ram clears
Post by: turiqwalrus on April 05, 2011, 10:39:20 pm
this just isn't working...at least not for me...
attached image I'm trying to compile...can someone compile it? TIA
the supernaturalists cover :D
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 05, 2011, 10:53:13 pm
it's 84+ only, juju (as is most stuff the penguin writes)

Aww...

That is amazing.

Sorry about that. I could add in support for 1.19 without to much difficulty, and the only thing that wouldn't work is the 8 level grayscale. But I hate the fact that the 83+BE doesn't map outputs to port (06) to pages that it actually owns. If you output $7F, you don't get redirected to $1F, instead it goes somewhere random and this means that for every single write to a port, I would have to add in 83+BE detection. It is just stupid to have to add in all kinds of checks just to avoid crashing the calculator by asking for features that don't exist. I think even trying to enable fast mode will cause some problems. [/83+BE rant]

@Darl:
I made your picture for you, it was only 7 colors, so I added in a random light gray dot.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 05, 2011, 11:08:31 pm
kk, thanks ;D

So, it won't compile/convert if there's only 7 colors?

EDIT: you just need the dll to convert it, right?  Or is a whole package needed?

Spoiler For offtopic edit:
Finale, when do you unlock custom titles like your "ridiculously awesome?"
I'm not finale, but it's at level 9 @ 1000 posts. http://ourl.ca/6827
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on April 06, 2011, 02:51:41 am
Sorry about that. I could add in support for 1.19 without to much difficulty, and the only thing that wouldn't work is the 8 level grayscale. But I hate the fact that the 83+BE doesn't map outputs to port (06) to pages that it actually owns. If you output $7F, you don't get redirected to $1F, instead it goes somewhere random and this means that for every single write to a port, I would have to add in 83+BE detection. It is just stupid to have to add in all kinds of checks just to avoid crashing the calculator by asking for features that don't exist. I think even trying to enable fast mode will cause some problems. [/83+BE rant]
But 1.19 support is still useful for users of the TI-83+SE, which is more more similar to the TI-84+SE than to the TI-83+.

Anyway, on the topic of fonts, does it support fonts on the graph screen? When I made my MathPrint-safe version of Omnicalc (http://www.unitedti.org/forum/index.php?showtopic=9316) I added a quick fix for allowing using custom large fonts on the graph screen (by writing the data to 0FE78h, right before the end of the stack zone). Does your custom font system do that? Also, any plans for adding small custom fonts?
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 06, 2011, 03:05:53 am
Since this doesn't actually reset the flags, how do I turn it off? And I can't send it to my calc;  I keep getting an "Access is denied" error.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 06, 2011, 05:40:32 pm
kk, thanks ;D

So, it won't compile/convert if there's only 7 colors?

EDIT: you just need the dll to convert it, right?  Or is a whole package needed?

Spoiler For offtopic edit:
Finale, when do you unlock custom titles like your "ridiculously awesome?"
I'm not finale, but it's at level 9 @ 1000 posts. http://ourl.ca/6827

Nope, it needs 8, that's good anyways because you would want to add a color that you wouldn't notice. For instance, if the picture is mostly white, you wouldn't want the program to auto assign white as very light grey.

And if I were you, I'd install the whole runtime, you'll probably need it someday. Plus, it can be difficult to find individual, up-to-date dlls.

But 1.19 support is still useful for users of the TI-83+SE, which is more more similar to the TI-84+SE than to the TI-83+.

Anyway, on the topic of fonts, does it support fonts on the graph screen? When I made my MathPrint-safe version of Omnicalc (http://www.unitedti.org/forum/index.php?showtopic=9316) I added a quick fix for allowing using custom large fonts on the graph screen (by writing the data to 0FE78h, right before the end of the stack zone). Does your custom font system do that? Also, any plans for adding small custom fonts?


Yes, since I'm now posting this online, I'll probably try to find a spot in 1.19 to install it. I agree that it's worth it for the 83+SE. And, maybe someday, I'll even add in 83+BE.

I included support for graphscreen font which is what is causing my current shifted text issue. And I copy the character to lFont_record+1. I don't plan to have lowercase because lowercase is so small that I'm not sure anyone could make a productive secondary font. Also, I believe a lot of system routines rely on the font being the same width as usual.


Since this doesn't actually reset the flags, how do I turn it off? And I can't send it to my calc;  I keep getting an "Access is denied" error.

To turn it off, firstly set the first option (install) to no. Then either, Clear Ram, or open up a press to test menu but don't run it. I usually press Left+Right+ON then press clear.

And "Access is denied," that almost deserves it's own topic. It has to do with ti-connect usb and can be nasty to fix.
-Try new batteries
-Plug in calculator, open device manager, find the calculator, right click>uninstall, replug your calculator into that specific usb port
-Lastly, do step 2 again, but before replugging your calculator, reinstall ti-connect.
Title: Re: zStart - an app that runs on ram clears
Post by: GB on April 06, 2011, 06:13:28 pm
Can this program remember the time stored in the calculator clock so it doesn't reset itself every time the RAM is cleared?
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on April 06, 2011, 06:21:41 pm
^^that would actually be mad useful.

Also, can I ask for clarification on the molar mass/hex/bin>dec converter? I tried holding down - and + both on the homescreen and in the zStart menu, but I couldn't tell if anything happened...
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 06, 2011, 06:29:15 pm
Can this program remember the time stored in the calculator clock so it doesn't reset itself every time the RAM is cleared?

No, I don't think that's possible. In order to make that happen, zStart would have to gain control at least once per second so that it could write the clock to memory. This would mean that it wouldn't be running during Asm programs which are when ram clears would usually occur.

Also, each time the calculator crashes, the clock will slow down by the amount of time it is crashed. So after about 10 crashes, the clock might be off a minute.

And before you say it, OS mods won't work either. When the calculator officially crashes, all registers including the clock get reset and the clock gets set back to 1997. Same thing with a battery pull. I did patch it once, and all that happened was when it crashed the clock just got stuck on 1997.


^^that would actually be mad useful.

Also, can I ask for clarification on the molar mass/hex/bin>dec converter? I tried holding down - and + both on the homescreen and in the zStart menu, but I couldn't tell if anything happened...

Sorry, hold down + or - while turning the calculator ON. Also, make sure that you have run zStart since the last time you ran DCS.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 06, 2011, 09:44:40 pm
Is it possible to compile from a flash drive?  b/c I tried like 15 times from my flash drive, and it didn't work ("entry point not found")...I copy it to system32 and it works instantly :P

Anyway...↓

EDIT: found a pretty epic pic on google, of a calc at an angle
EDIT2: and another one on my flash drive, yay clouds
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 06, 2011, 10:53:00 pm
Those are epic./me curses at 'his' computer.
Work, damn you!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 06, 2011, 10:55:28 pm
I have no idea if it works from a flash drive. I don't see why it wouldn't, but I didn't write the file handling.

One thing it might be though is that you have to use double //. I'm not sure how to stop my program from thinking that / is an escape char, so file names look like this: c:\\windows\\system32\\cmd.exe.

Edit:
   That second picture looks awesome on the computer. But imagine what that would look like on a calculator lol. People would say, "Why do you have a picture of your calculator on your calculator?" ;)
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 06, 2011, 11:00:23 pm
But that's the point.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 07, 2011, 12:27:25 am
It actually does look kind of weird to have a calc on a calc...oh well

made a few more ;D

The first one was a wallpaper somewhere, the other a section of a pic that's with a console game's save file.

EDIT: one last one...

EDIT2: it doesn't work on command.com, but it does work in command.exe...
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on April 07, 2011, 04:03:32 pm
It's kind of hard to find photos that can convert to such a small resolution well. . . .
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 07, 2011, 04:05:56 pm
   That second picture looks awesome on the computer. But imagine what that would look like on a calculator lol. People would say, "Why do you have a picture of your calculator on your calculator?" ;)
And you would say back "Well, this dude heard I like numbers, so he put a calculator on my calculator so I can math while I math."
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 07, 2011, 06:33:51 pm
  That second picture looks awesome on the computer. But imagine what that would look like on a calculator lol. People would say, "Why do you have a picture of your calculator on your calculator?" ;)
And you would say back "Well, this dude heard I like numbers, so he put a calculator on my calculator so I can math while I math."
Omnicalc, virtual calc ;)

I made a few personalized ones...yay GIMP
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on April 07, 2011, 08:14:04 pm
I personally really like this App.  It's a very useful background App that only interferes with DoorsCS.  If that could be possibly fixed, I could see this on every single user in the calc community's calc. :)  Well, that and adding 1.19 support. :D

Oh, one request: Can you make a certain key combination (maybe [On] + [Sin]) switch the calc from Degree/Radian mode to the other without having to enter the Mode menu? ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 07, 2011, 08:20:24 pm
I personally really like this App.  It's a very useful background App that only interferes with DoorsCS.  If that could be possibly fixed, I could see this on every single user in the calc community's calc. :)  Well, that and adding 1.19 support. :D
^++
Can you make a certain key combination (maybe [On] + [Sin]) switch the calc from Degree/Radian mode to the other without having to enter the Mode menu? ;D
Hmm...maybe there could be a quick menu or something...

A few random questions:
Can this be made to support calcutil?
How about krolypto?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 07, 2011, 10:42:50 pm
I personally really like this App.  It's a very useful background App that only interferes with DoorsCS.  If that could be possibly fixed, I could see this on every single user in the calc community's calc. :)  Well, that and adding 1.19 support. :D

Oh, one request: Can you make a certain key combination (maybe [On] + [Sin]) switch the calc from Degree/Radian mode to the other without having to enter the Mode menu? ;D

DCS incompatibility cannot be fixed without disabling stuff. The problem is that there is only one OFFSCRPT, so you have a choice of either DCS or zStart. One option would be to save DCS's OFFSCRPT and run it after mine runs, but as soon as you run DCS, it's going to kill mine. One easy option would be to have a DCS option that individually disables things.

The Degree/Radian switch is a pretty good idea, I'll have to permanently chain a hook to Omnicalc, but I guess that's ok. The only thing I wonder though is can I find a hook that neither DCS nor Mirage uses that gets run when a key is pressed. If I can't again, I'll have compatibility issues.

A few random questions:
Can this be made to support calcutil?
How about krolypto?

I don't know the specifics behind krolypto and calcutil, but I would almost guarantee that they use OFFSCRPT. So they'll have to fall into that "disable for compatibility section."


I did some testing. Mirage uses the GetCSC hook, DCS uses the RawKey hook. But, thank you kerm, DCS chains whatever hook was there first. Which means that I can install a RawKey hook and chain it to Omnicalc. Three way chains are the best!

Edit:
    Good news also, the cursor hook is free. This means I'll actually have a way to erase degrees from the homescreen. (The RawKey hook only gets called on button presses)
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 07, 2011, 10:46:59 pm
iirc calcutil can chain hooks...

EDIT: yeah, it just adds on to other ones
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 07, 2011, 10:53:45 pm
I just encountered the font shift thing, and the font's fine before J, and on J the top two rows are fine, the following 5 are shifted, and the rest of the font is shifted.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 07, 2011, 10:54:50 pm
Do not do anything archive related. Do you have Calcsys on your calculator?

Edit:
    Nvm, I realized what I want you to do, I can do myself.

Edit2:
    I would love the savestate of someone who has the text glitch going on in wabbitemu. I just can't seem to trigger it.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 07, 2011, 11:26:58 pm
I deleted ID[whatever] and it worked fine. I don't know what the [whatever] was, because that was illegible.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on April 07, 2011, 11:30:34 pm
You know, when I was using Omnicalc's fonts, sometimes the font would get corrupted or disabled randomly.

EDIT: So Omnicalc's bug is unrelated. Oh, well. That's the sort of bug that makes you feel really stupid. I certainly know the feeling.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 07, 2011, 11:34:43 pm
Found it!!! (Even though I've still never had it happen in wabbitemu.)

I was using the flags to signal whether the font needed to be shifted or not. I was also using port (07) to read fonts straight from the archive. Anyone see a problem? For those who don't know, the flags are stored at $89F0 on ram page 1. I was swapping in a different page to the $8000-$C000 memory region. Therefore, I was not reading the flags but rather the archive.

Anyways, I fixed it. So here you go.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 07, 2011, 11:34:57 pm
I'm using zStart's font editor, btw.
Title: Re: zStart - an app that runs on ram clears
Post by: FloppusMaximus on April 07, 2011, 11:46:57 pm
I've only had a brief look at the code, but it looks like when the hook is called in fracDrawLFont mode, you're trying to shift the font bitmap yourself.  Don't do that; you're supposed to return the normal bitmap to the OS, and the OS will shift it left for you.

Also, it looks like you're using OP1, which is a recipe for disaster if the hook is active while assembly programs are running.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 08, 2011, 12:01:19 am
A few random questions:
Can this be made to support calcutil?
How about krolypto?
I don't know the specifics behind krolypto and calcutil, but I would almost guarantee that they use OFFSCRPT. So they'll have to fall into that "disable for compatibility section."
Maybe an idea would be to replicate the features...like, "enable password protection" and/or "run ASM programs from homescreen"
Actually btw i've been using calcutil in tandem with this and haven't had any problems as of yet...

EDIT: @thepenguin your respect is two bytes now O.o
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 08, 2011, 12:06:54 am
I can confirm that zStart+custom font+Asm=Calc crash.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 08, 2011, 12:15:56 am
Umm...
I installed a custom font, installed calcutil (chaining hooks btw), and after that ran an asm program without a problem...
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 08, 2011, 12:29:04 am
New bug: Text(-1 (BASIC) shifts the chars left one pxl left and, I haven't fully tested yet, but I can tell you that definate weirdness results. From what I know so far, it seems that that leftmost column gets printed eight columns over! O.O
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 08, 2011, 04:13:46 am
I have a weird bug, if I install any font all characters are shifted 1 row to the left so I see all characters "killed"
Title: Re: zStart - an app that runs on ram clears
Post by: JustCause on April 08, 2011, 08:51:18 am
I have a weird bug, if I install any font all characters are shifted 1 row to the left so I see all characters "killed"
This has been brought up already, and while I haven't gotten the chance to test, I think it's been fixed too. Scroll up for thepenguin77's post.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 08, 2011, 09:20:10 am
x.x it fixed itself
Title: Re: zStart - an app that runs on ram clears
Post by: JustCause on April 08, 2011, 10:35:42 am
x.x it fixed itself
Don't worry, it will come back :) I'd install the update if I were you.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 08, 2011, 10:37:56 am
Any news on fixing the Text(-1 bug?
Title: Re: zStart - an app that runs on ram clears
Post by: ACagliano on April 08, 2011, 11:15:49 am
The Solver++ freezes on my calc.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 08, 2011, 11:22:45 am
Oh, and sometimes, (seems to be when there's nothing on the screen otherwise) when I press up on the homescreen, the calc crashes.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 08, 2011, 01:47:57 pm
x.x it fixed itself
Don't worry, it will come back :) I'd install the update if I were you.
Lol you're right, it came back when I re-sent it after validation fail :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 08, 2011, 07:36:37 pm
I've only had a brief look at the code, but it looks like when the hook is called in fracDrawLFont mode, you're trying to shift the font bitmap yourself.  Don't do that; you're supposed to return the normal bitmap to the OS, and the OS will shift it left for you.

Also, it looks like you're using OP1, which is a recipe for disaster if the hook is active while assembly programs are running.

Thanks. Text(-1 glitch fixed. I also backed up op1 to the stack and stopped writing to $8000, so that there won't be any conflicts. When I was writing that, I totally forgot about watching memory.

I guess the only reason it hasn't caused problems is that it only needs to be called once after: clearing the extra ram page, garbage collecting, or quitting zStart.

And a cool fact that I've never mentioned, the extra font will continue to work after you delete it. Just don't do any of that ^^

Edit:
    Solver++ doesn't work. So don't seriously try to use it, I just haven't deleted it because someday I might finish it.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 08, 2011, 07:44:30 pm
I tried Solver++ today and got BLOD the next time I went to run the app, so yeah. :P

I was wondering about the base conversions tho...like entering FFFFh returns 65535.  Is that a part of zStart?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 08, 2011, 07:47:07 pm
Yeah, don't use solver++. I only partially implemented the lower screen. And it has some quitting problems.

Yes, the base conversion are part of zStart. And if you use them with omnicalc's ON+LOG, you can do math completely in another base.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 08, 2011, 08:18:23 pm
The base conversion isn't working for me...I enter something like ABCDh and it returns a syntax error ???
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 08, 2011, 11:57:55 pm
To prevent Solver++ from being used, you could simply remove it from the menu.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 09, 2011, 02:18:07 am
To prevent Solver++ from being used, you could simply remove it from the menu.
Yeah, got it figured out, treating it the same as 2.55 (avoiding) :P

The base conversion still isn't working...it works in 2.43 right?
Tried it in wabbitemu and it still threw a syntax error, so something I'm doing or something that's happening is wrong..

Is there some special method to use it?
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 09, 2011, 10:08:23 am
it is not working for me too.
I made a g(r)eek(y) font, attached. It is just for fun and not intended for casual users (but I know you arent hah :hyper:)
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 09, 2011, 07:07:39 pm
/me is very very happy.
Interestingly, inverse text with a font installed is the same speed as regular text, whereas it's much, much slower without. Interesting....

EDIT:
I ran an ASM program w/ custom fnt, changed the font, ran it again, and this happened.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 09, 2011, 07:37:22 pm
Tried it in wabbitemu and it still threw a syntax error, so something I'm doing or something that's happening is wrong..

Is there some special method to use it?

Yes and no. On wabbitemu, you can't press any other keyboard buttons in addition to F12. So you need to hold +/- on the keyboard and click the ON button. You would never have this problem on a real calculator.

Also, I don't think that OFFSCRPT works on some older OS's. Like I saw a 2.20 at school, I have no idea where it came from, but it wouldn't run the OFFSCRPT. And after I updated it to 2.53, it worked perfectly.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 09, 2011, 07:53:24 pm
Ok, so hold [+],[-] and [ON] instead of pressing enter?  so that's what I was missing...
EDIT: :/
EDIT2: I just read through the readme for the second or third time, and it isn't mentioned...I guess the question is how is it used?

I made a g(r)eek(y) font, attached.
/me doesn't see an attachment...;)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 03:48:18 pm
So after implementing ZTrumpet's idea with changing Degrees/radians, I realized I can make it a lot better.

Things I changed:


So what does this mean to you? As soon as Kerm fixes a hook chaining bug, (hook only chains on first DCS run,) everything but the picture on startup will be fully DCS compatible.

Also, there sure are a lot of buttons on that calculator... Anyone have any cool ideas?


Edit:
    A key combo to compile an Axe program would be cool, of course I'd have to get some cooperation from Quigibo. Just edit the program, and press [ON] + <some key>
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 04:01:56 pm
Change the bar at the top of the menu  in the app to reflect the current version

And

Fix the random ram clears and the weirdness shown in the video I attached a few posts back.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 04:05:23 pm
I don't think you uploaded the right video.

And from now on, I'll update that number ;)
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 10, 2011, 04:20:59 pm
Request: Safe ram clear.
You would have an option to Archive all unarchived:
*Programs
*Variables
*Appvars
*Etc.

After that, it would clear you ram and Unarchive the things that were just archived. [/ridiculous but awesome idea]
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 04:41:18 pm
^Ditto.
And I'm pretty sure I uploaded a shaky video of an 84+SE going berserk.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 04:50:41 pm
Sorry, windows media player didn't show the video for some reason, only sound. I'm not sure what caused that problem, have you been able to replicate it? Also, what Asm program was it?

To me, that looks like CurRow went past 7.

Request: Safe ram clear.
You would have an option to Archive all unarchived:
*Programs
*Variables
*Appvars
*Etc.

After that, it would clear you ram and Unarchive the things that were just archived. [/ridiculous but awesome idea]

I can probably do that, of course I'd have to make the button that does that a little more obscure. Maybe [Alpha] R.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 10, 2011, 04:54:00 pm
Thanks, that's really cool.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 04:59:04 pm
It's a .mov. Try quicktime. There also is a bug caused when you uninstall it w/o turning off the custom font first. Also, where the hook pointing to?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 05:05:15 pm
I got the video to play. But what I meant is that the glitch looks like CurRow went off the bottom of the screen.

What is the bug? Is it that the font isn't disabled? Because I'll fix that right now.

And the hooks all point to different spots in my app. You can look up their addresses (http://wikiti.brandonw.net/index.php?title=Category:83Plus:Hooks:By_Name) and find the exact spot they point to if you really want to know. But it will change from version to version.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 05:14:35 pm
I forget what exactly happens, but iirc it involves scrolling up on the homescreen and a ram clear. Either that, or the one with a right-pointing triangle in the top left corner & the cursor top right
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 05:20:41 pm
I forget what exactly happens, but iirc it involves scrolling up on the homescreen and a ram clear. Either that, or the one with a right-pointing triangle in the top left corner & the cursor top right

So you are uninstalling it (option 1) correct? I'm not sure what would cause that. But I made it disable the font hook when it runs so it shouldn't happen again.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 05:29:51 pm
About the font hook; Does it point to the program or does the app copy the font to some blank space inside itself and that's where the hook points? Could you also add the ability to convert the font to a different format, so that it could be used by a different app, say Omnicalc?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 05:36:33 pm
Hooks are pieces of code that get called when something happens. So the hook is is pointing to a routine in my app that goes out and finds the font program, then gets the character out of it. The font is never actually copied, I just keep it's name in my appVar.

Converting to Omnicalc shouldn't be hard, it probably just has a different header. My fonts start out "FONT," Omnicalc's might be "OMNI" or something. Converting would just be as simple as changing the header. Although I'm not sure what Omnicalc would do about the new characters added in 2.53...

Edit:
   .db $BB, $6D, $C9, "omnicalc"
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 05:44:31 pm
Would storing the active font in the app itself speed things up any or fix any bugs?
Would editing of the small font be possible? Of tokens?
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on April 10, 2011, 05:46:07 pm
storing the active font in the app itself
I don't even think that's possible lol. Writing to flash=extremely impractical
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 05:54:53 pm
Ok, then, what about small font and token editing? And could there be an option to forcibly disable the hooks?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 06:00:04 pm
Would storing the active font in the app itself speed things up any or fix any bugs?
Would editing of the small font be possible? Of tokens?

No, storing the font wouldn't make it faster. My hooks are super optimized for speed because you sure wouldn't want a .1 sec delay per character when displaying the whole screen. Here's what I do:
-Hook get's called, if the OS is asking for the small font, it quits
-It looks at the very end of the extra ram page in a certain spot for $69, if it's there, skip to THERE
-It finds the font file and stores it's location at the end of the extra ram page along with $69
THERE:
-It takes the file location from the extra ram page and adds the offset for the specific character
-It streams the bitmap out of flash and give the OS a pointer to where it put it
-RET

Editing the small font would be possible, but I don't think it's really practical. If you change the length of the characters, you're bound to mess up menus like MODE.
Editing tokens is possible, but what would you really want to change? It also wouldn't be very size practical.


lol at @squidgetx


I was thinking of an option to disable all hooks. It wouldn't be hard to do at all. But until I do that, opening the press to test menu work just fine.
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on April 10, 2011, 06:03:55 pm
Wait, am I wrong lol? Is it actually be possible to somehow store the font into the app?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 06:05:38 pm
No, you are totally right. If I put it inside the app, it would take about 10 seconds and corrupt it's signature. Other assembly programmers would look down on me in shame.

That's why TI invented appVars :D
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 06:54:36 pm
Aww, man! Guess that's why they invented [NV]RAM, huh :P .
Would it be possible to have the hook return the normal small font for system menus, or only work when called from within a program?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 07:10:31 pm
Aww, man! Guess that's why they invented [NV]RAM, huh :P .
Would it be possible to have the hook return the normal small font for system menus, or only work when called from within a program?

Small font for system menus would require some serious Menu Hook hacking. Almost to the point where you would want to hack the OS. Displaying the small font and the large font are two entirely different bcalls because the small one is variable width. You would also have to change the way the menus scroll and add extra options at the bottom.

For only working in a program, do you mean a specific program or just programs in general?
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 07:19:55 pm
Programs in general, including ASM ones.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 07:22:23 pm
Hmmm... I suppose it's possible. (CxCurApp) would be kExtApp if an app was running, although I'm not exactly sure how to tell if a ram program is running.
But would this really be useful?
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on April 10, 2011, 07:26:12 pm
Request: Safe ram clear.
You would have an option to Archive all unarchived:
*Programs
*Variables
*Appvars
*Etc.

After that, it would clear you ram and Unarchive the things that were just archived. [/ridiculous but awesome idea]
2nd > Mem > Group > New Group > enter name > All+

There's an app that lets you make macros if you want it fast.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 10, 2011, 07:30:01 pm
That's an idea...instead of it being a key combo to do the special ram clear, it could be an option in the ram reset menu.

btw the update fixed the problems ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 10, 2011, 07:34:38 pm
Changing the small font would have the exact same purpose as changing the large font, Ditto tokens.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on April 10, 2011, 07:47:53 pm
I like the idea of being able to rename tokens. Axe re-purposes a lot of tokens, and so do Axioms.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 08:37:47 pm
I like the idea of being able to rename tokens. Axe re-purposes a lot of tokens, and so do Axioms.

Oh, I thought axe already renamed them. In that case I'll have to make a token editor.


Some progress:
-I've moved the restore defaults to ON+CLEAR because ON+ENTER will be compile Axe
-ON+VARS archives all programs, this is the first step towards the safe ram clear

I'm not going to have it archive appVars because a lot of appVars aren't meant to be archved.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 10, 2011, 08:50:32 pm
/me hugs thepenguin77

Does it leave an appvar or something to tell it what programs have been archived in this method?
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on April 10, 2011, 09:17:15 pm
Oh, wow, Axe actually does rename them, but only from within the Program editor.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 10, 2011, 10:18:46 pm
/me hugs thepenguin77

Does it leave an appvar or something to tell it what programs have been archived in this method?

That's actually a really good idea. But no. Instead, I make a list on the extra ram page which doesn't get touched by the Ram Clear. And I'm going to mark the list as valid by putting a "zStart", $69, $13, $37 in front of it because I'm literally going to crash the calc. You wouldn't want a regular ram clear to trigger the unarchive loop. D:
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 10, 2011, 10:22:14 pm
Wow. Thats.... really smart.  I would never have though about that.
It took me many read throughs of that to fully understand.


quick question.  Isn't the extra ram page only on the 84+ and 84+SE?
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on April 10, 2011, 10:28:56 pm
quick question.  Isn't the extra ram page only on the 84+ and 84+SE?
83+SE too. ;D  Only the 83 and 83+ lack it. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 11, 2011, 01:30:23 pm
Ok, so hold [+],[-] and [ON] instead of pressing enter?  so that's what I was missing...
EDIT: :/
EDIT2: I just read through the readme for the second or third time, and it isn't mentioned...I guess the question is how is it used?

I made a g(r)eek(y) font, attached.
/me doesn't see an attachment...;)
Darn, I was sure I attached it...
It is attached now.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 11, 2011, 06:58:36 pm
Update:


Axe support is hopefully on the way. I plan to install Axe's hooks and compile programs with ON + ENTER.
DCS support is also hopefully on the way. I should be able to install DCS's hooks and let it make it's appvars. Kerm's also working on the chain glitch.

Of course, both of those require entry points in the apps, so hopefully the author's will add them for me. :D

(The source is here mainly as a backup, but have fun looking at how I do file operations from hooks if you want)

Edit:
   Sorry, the last screeny sucked, this one is way better.
Title: Re: zStart - an app that runs on ram clears
Post by: ZippyDee on April 11, 2011, 07:11:51 pm
What's a safe ram clear?
Title: Re: zStart - an app that runs on ram clears
Post by: willrandship on April 11, 2011, 07:14:18 pm
A RAM clear you caused thru Reset after checking your progs were arched. :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 11, 2011, 07:14:58 pm
Should have explained that.

Here is exactly what it does. It archives all programs (protected and unprotected) and keeps a list of what it archived. Then it crashes. When it turns back on, it goes through the list and unarchives everything it just archived.

This is basically for when things on your calculator just aren't making sense and you need to clear ram, but you don't feel like archiving everything.
Title: Re: zStart - an app that runs on ram clears
Post by: ZippyDee on April 11, 2011, 07:15:07 pm
Ah, so just a purposeful ram clear as opposed to a crash?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 11, 2011, 07:18:07 pm
Yes. It is basically resetting all the settings, ports, hooks, and ram on the calculator without deleting your programs.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 11, 2011, 08:26:53 pm
EPIC!!!!/me loves you.

This will go straight onto my calc.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 12, 2011, 03:38:52 am
If I could vote up twice I would.
A request tho...could you make it so you don't have to press alpha for the safe ram clear?
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 12, 2011, 03:52:15 am
Help, I dont understand the molar mass calculator! can anyone explain it?
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 12, 2011, 03:56:03 am
Hold ON and press minus (-).  It should say "molar mass" on top.
Then, put in a ? then the compound thingy.

?H2O returns 18.02

Oh and btw you can do ON + for bin/hex conversion, and afterwards ON CLEAR to return to norm
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 12, 2011, 03:58:54 am
Thx! That will help me
A suggestion to thepenguin: Maybe you can also do something like MassH2O, that is more convenient
EDIT1:And I did ?C6H12O6 and it returned 180.18 instead of 180.16/180.156, that is a bug?
EDIT2: You have the mass of H wrong, it is 1.01, shouldnt that be 1.008?
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 12, 2011, 04:10:03 pm
In Chem I, People are taught to only go 2 places after the decimal point.

Safe ram clear doesn't work for me. (the key code)
Can we please have a readme?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 12, 2011, 08:46:15 pm
Yep, I only took all of the molar masses to 2 decimal places. That's what AP chem and my chem 1 use, so I just went with it.

For the safe ram clear, you need to press alpha, then hold ON and press [ x ]. I don't want to make it something else because it is a ram clear after all, you wouldn't want to hit it by accident. Say you're trying to put it in molar mass mode and you accidently hit the wrong key X.X

(Clarification, I'm not in chem 1. lol)
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 12, 2011, 08:53:22 pm
thanks.

And [ x ] is [R]
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 13, 2011, 03:36:23 pm
HBJ: you should actuall do
[alpha]
[on]
[R]
F*CK NINJA'D
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 13, 2011, 05:03:15 pm
I have noticed some bugs.

Alplha on = screen off if you have opened mirage. thus killing the safe ram clear.
When you have log names on, then turn them off, they are still on.  I did a safe ram clear and it fixed it (I assume a normal one would work too.)

and how was that ninja's???
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 13, 2011, 06:07:44 pm
I have noticed some bugs.

Alplha on = screen off if you have opened mirage. thus killing the safe ram clear.
When you have log names on, then turn them off, they are still on.  I did a safe ram clear and it fixed it (I assume a normal one would work too.)

and how was that ninja's???

I know mirage does that, I just figure people can press [ON][CLEAR], [ALPHA], [ON][R] because I do not want to make the safe ram clear just [ON][ x ]. I could see people accidentally deleting something important with that because it's too easy to press.

You know what, I actually have a way to fix the fact that it doesn't disable stuff when you disable it. What I'll do is when you turn something off, I'll disable that hook. So that way if you were turning it off, it's off. But if you were turning it on, it will get enabled on quit.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 13, 2011, 06:09:20 pm
So it uninstalls the hooks when A) zStart was uninstalled via the app and B) the calc is shutting down?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 13, 2011, 06:14:11 pm
So it uninstalls the hooks when A) zStart was uninstalled via the app and B) the calc is shutting down?

No, sorry, that was worded terribly.

Current: Hooks are never turned off (with a few exceptions) and ones that are in use are re enabled when the app quits

New: If you change an option, that specific hook is disabled. So that when the app quits, it only re enables it if it should be enabled.

I guess I could have the install zStart option disable all hooks, I don't think that would lead to too many problems.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 13, 2011, 06:18:29 pm
Quote
New: If you change an option, that specific hook is disabled. So that when the app quits, it only re enables it if it should be enabled.
So, it removes all hooks when the app is run?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 13, 2011, 06:21:11 pm
No, I'll disable the specific hook you have changed. So instead of just changing the option, you are actually disabling the hook too.

If you don't touch any of the options, it will do exactly what it does now.
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on April 13, 2011, 06:37:43 pm
You know, if that runs immediately on a RAM clear this reminds me a lot of how a Casio Prizm or TI-Nspire starts. You could potentially even have the calc start exactly like a Prizm if you wanted to, asking the contrast, then a few other settings, etc. :P
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on April 27, 2011, 11:22:09 pm
Boo! Sort of a necro but I have a possible feature request? Could you possibly add something that would make the os not freeze when something is plugged into the headphone jack? (Is that possible?)
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on April 27, 2011, 11:27:39 pm
Could you possibly add something that would make the os not freeze when something is plugged into the headphone jack? (Is that possible?)

I like that idea.  :)
I think that means that zStart would have to mess with the system interrupts, though. :(
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 28, 2011, 12:35:25 am
I noticed that too.  What was odd was a mono headphone froze up the calc (except for when an asm program or app was running) but stereo headphones only made it pause for a bit.  Could be completely unrelated, just thought I'd put that out there.

Another request:  might it be possible to custom assign the on+sin/cos/tan key combos with a token in the catalog?
In math we're doing a bunch of stuff with nCr and nPr so that's how it came to mind.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 28, 2011, 09:15:27 pm
Boo! Sort of a necro but I have a possible feature request? Could you possibly add something that would make the os not freeze when something is plugged into the headphone jack? (Is that possible?)

There will never be a necro post in this topic. I've been doing this app for over a year, it's basically just my flash page where I can put hooks, so each update is more or less an individual project. This topic won't die until I do >:D, or maybe when i reach 16kb of code.


I like the idea of not freezing with headphones. However, I don't even have the slightest clue as to why it freezes, let alone stopping it. I do see serious potential there though, so I'll see if I can fix that.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on April 28, 2011, 09:19:42 pm
Please, everyone, don't let this topic die.  If I see this topic on the list, I click it before any of the others, it interests me that much.  Due to its ever changing nature, it's really cool, plus it actually does stuff that I previously have only dreampt of.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 28, 2011, 10:05:46 pm
Here, have some fonts, y'all!
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 30, 2011, 06:01:01 pm
This is a really lively topic to keep alive :P
Made another start-up pic.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on April 30, 2011, 06:59:04 pm
Request:  Have the molar mass thing turn on lowercase letters.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 30, 2011, 07:15:34 pm
That would be pretty useful...I almost always have it turned on between axe and omnicalc so idk if it does already.
I guess he indirectly has it implemented already with the omnicalc compatibility...

Axe installed automatically on ram clear (and calcutil functionality as an option, like omnicalc would be awesome)

might it be possible to custom-assign the on+sin/cos/tan key combos with a token in the catalog?
/me walks away whistling
Title: Re: zStart - an app that runs on ram clears
Post by: leafy on April 30, 2011, 07:16:38 pm
Woah darl is that logo like 8 mode greyscale or something?
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on April 30, 2011, 07:21:12 pm
Yes, zStart can be configured to show 8-level grayscale pictures on startup.  There's a bunch of them in this thread...

Also you can do pretty much any picture.  So yeah.
Example ↓


EDIT: heh, could do these for the avatar ripoff thread :P
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 01, 2011, 02:16:31 am
The RAM Clear on Up bug is still here.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 01, 2011, 12:04:19 pm
Axe installed automatically on ram clear (and calcutil functionality as an option, like omnicalc would be awesome)
^^ This.  This is a wonderful idea. :D
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 01, 2011, 12:30:17 pm
Axe installed automatically on ram clear (and calcutil functionality as an option, like omnicalc would be awesome)

might it be possible to custom-assign the on+sin/cos/tan key combos with a token in the catalog?
/me walks away whistling

For the Axe thing, I believe that Quigibo is trying to add an entry point for me. For calcutil, I'll look into that.

And custom-assigning the on+sin/cos/tan keys, I can probably do that. Although it might be more useful if I made it the number keys rather than the trig functions.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 01, 2011, 12:38:26 pm
What about setting up ALPHA F5 to bring up a customized menu of tokens?
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on May 01, 2011, 12:50:39 pm
What about setting up ALPHA F5 to bring up a customized menu of tokens?
Omnicalc does this with VARS VARS.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 01, 2011, 12:51:06 pm
/me didn't know that.
Title: Re: zStart - an app that runs on ram clears
Post by: Deep Toaster on May 01, 2011, 03:06:47 pm
This is a really lively topic to keep alive :P
Made another start-up pic.

(http://www.omnimaga.org/index.php?action=dlattach;topic=7513.0;attach=7598;image)

That be awesome!
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on May 01, 2011, 04:24:08 pm
i finally got around to actually testing this out, and it looks phantasmic penguin!

wine doesn't cut it when it comes to this type of thing, so could somebody run this bmp through the picture converter for me?
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 01, 2011, 05:27:27 pm
Axe installed automatically on ram clear (and calcutil functionality as an option, like omnicalc would be awesome)
might it be possible to custom-assign the on+sin/cos/tan key combos with a token in the catalog?
/me walks away whistling
For the Axe thing, I believe that Quigibo is trying to add an entry point for me. For calcutil, I'll look into that.
Awesomeness ;D
Quote
And custom-assigning the on+sin/cos/tan keys, I can probably do that. Although it might be more useful if I made it the number keys rather than the trig functions.
Calcutil uses the number keys to launch programs, so that would probably be a compatibility error I think.

@ shmibs that's awesome, and ↓↓
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on May 01, 2011, 05:39:41 pm
I like the idea of not freezing with headphones. However, I don't even have the slightest clue as to why it freezes, let alone stopping it. I do see serious potential there though, so I'll see if I can fix that.

(Not sure how much this will help, but) I think it has to do with the fact that the link port is usually used to receive information (rather than output information) so the OS stops all activity when it detects something plugged in
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on May 01, 2011, 05:55:37 pm
thanks Darl!
here's a 'fun' font to go along with that picture. it's basically a messier version of the normal font.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 02, 2011, 08:45:05 pm
Ok, so I got the headphone thing working, it was a pain but it works.

Updates:



About the headphone thing. During the monitor, (the context that flashes the cursor and handles keys), the OS runs a loop that is based on 3 interrupt cycles. 1 and 2 display the clock in the Mode menu, and 3 handles linking and keys. What happens is when headphones are in, the calculator sees that the link port is not normal, clears the getCSC value (why?), spends 1 sec waiting for link response, then checks the getCSC value it just cleared and restarts the GetKey loop.

The problem comes from 1) the getCSC value is killed, 2) the calculator waits a second, and 3) the calculator resets the GetKey loop ever single time. This means 1) unless you are really lucky, the keys won't be detected, 2) it's slow as crap, and 3) the cursor doesn't blink.

So my solution was to install a silentLinkHook that runs bcall(_kdbScan) (scan for keys), resets the silentLinking flag, and kills all silent linking. I didn't want to kill the silent linking, but the stupid one second delay left me no choice. Also, the cursor doesn't blink, but I can't make it without OS mods.
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on May 02, 2011, 09:25:22 pm
Great updates, thepenguin!
The headphone thing works great! :D
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on May 05, 2011, 08:43:10 am
I have another feature request: could you make it possible to have atomic masses with 4 digits, i mean this:
H=     1.008
Ca=  40.08
Xe=131.3

etc. so that I can also use the molar mass calculator in class?
thanks!
Title: Re: zStart - an app that runs on ram clears
Post by: JustCause on May 05, 2011, 10:39:18 am
Nonblinking cursor is IMO a good thing. This app is just getting cooler and cooler. Nice work!
Title: Re: zStart - an app that runs on ram clears
Post by: Broseph Radson on May 05, 2011, 12:47:33 pm
I have an idea: could there be a key combo that writes "prgm"? I might be alone on this, idk, but i have so many programs on my calc that typing the program name is faster than finding it, even faster than using alpha+letter in the list. Getting to the prgm token in Catalog takes a fair amount of scrolling, though, even if you jump straight to P or Q.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 05, 2011, 03:51:59 pm
I have an idea: could there be a key combo that writes "prgm"? I might be alone on this, idk, but i have so many programs on my calc that typing the program name is faster than finding it, even faster than using alpha+letter in the list. Getting to the prgm token in Catalog takes a fair amount of scrolling, though, even if you jump straight to P or Q.
Seconded.
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on May 05, 2011, 04:41:17 pm
I have an idea: could there be a key combo that writes "prgm"? I might be alone on this, idk, but i have so many programs on my calc that typing the program name is faster than finding it, even faster than using alpha+letter in the list. Getting to the prgm token in Catalog takes a fair amount of scrolling, though, even if you jump straight to P or Q.
You could do this with Omnicalc's custom token menu. Then it would just be VARS VARS and a number key.
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on May 05, 2011, 04:41:48 pm
Awesome penguin XDDD can't wait to get this onto my calc...since my computer died I'm still using the version with the font 1-pixel offset glitch <_< but hopefully i'll be able to get ti-connect by saturday or something
Title: Re: zStart - an app that runs on ram clears
Post by: Broseph Radson on May 05, 2011, 04:46:07 pm
I could use omnicalc but i dont currently have it and i dont have much use for it. Having the capability in one app would be very nice.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 05, 2011, 07:32:06 pm
I have an idea: could there be a key combo that writes "prgm"? I might be alone on this, idk, but i have so many programs on my calc that typing the program name is faster than finding it, even faster than using alpha+letter in the list. Getting to the prgm token in Catalog takes a fair amount of scrolling, though, even if you jump straight to P or Q.
Seconded.
It looks like in a future version there could be custom key assignments, one assignment of which could hopefully be prgm.
might it be possible to custom-assign the on+sin/cos/tan key combos with a token in the catalog?
And custom-assigning the on+sin/cos/tan keys, I can probably do that. Although it might be more useful if I made it the number keys rather than the trig functions.
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on May 05, 2011, 08:19:13 pm
Can you add a key combination to run an app/pgrm of choice?  (like DCS's ON + App)
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 05, 2011, 08:41:34 pm
Personally I use calcutil for that, but the possibility to run it using zStart would be cool for some.
Maybe, you could choose whether to recall a certain token or run an app/prog?
Title: Re: zStart - an app that runs on ram clears
Post by: Yeong on May 05, 2011, 08:51:25 pm
Wow...I really suck at viewing the updates.
I'm glad that he fixed the font glitch(Even though he probably fixed it WAY before I relised)
Imma re-download zstart now XD
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 05, 2011, 09:37:01 pm
I have another feature request: could you make it possible to have atomic masses with 4 digits, i mean this:
H=     1.008
Ca=  40.08
Xe=131.3

etc. so that I can also use the molar mass calculator in class?
thanks!

Well, I'm going to leave it at 2 decimals. That's what my friends and I who are in AP chem need.


Personally I use calcutil for that, but the possibility to run it using zStart would be cool for some.
Maybe, you could choose whether to recall a certain token or run an app/prog?

Yes, for handling the custom keys, that's probably what I'll do. I just wonder how I'll run programs that need Mirage/DCS.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 05, 2011, 09:42:06 pm
I wonder if you could make sure Doors is on the calc and then run the routines straight from there. ???

I also have an idea: Can you add a Start-Up (App by TI) like thing for programs, only to be run on a RAM Clear instead of on Start-Up.  For instance, this would allow for third party advancements to zStart if you ever stop maintaining it.  I got to thinking about this by wondering if your OffBy1 program could be run on RAM Clear... :P

Edit: Is there anyway to make sure that certain hooks do not get destroyed?  Like a hook replacer or something?  For example, OffBy1 on PressToTest, or Mirage's [Alpha]+[On] with DoorsCS.
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on May 05, 2011, 09:58:41 pm
Yeah, whenever I use one of the [ON] key combinations, it destroys DCS's homerun hook.  Also, this version's [ON] + [VARS] seems to be a bit unstable (cause a ram clear sometimes). 
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 08, 2011, 12:42:09 am
When I first made zStart, I did not know much about the OS, but now I do. So it was time for a change.

Updates:



On page 0, there is a huge list of unofficial bcalls. You can't use them though because their location changes from OS to OS. What is interesting about them though is that their format is
Code: [Select]
call constantAddress
.dw address
.db page
which means that you can actually change where they jump to! So, I took the call that displays "RAM Cleared" and redirected it over to page $75 where I call the zStart app and install everything. Then when I'm done, I call the original call and it displays "RAM Cleared."

But what makes this so cool is that I actually install everything before the homescreen starts, so the Safe Cleared message is no longer a flash too late, and, custom fonts actually affect the "RAM Cleared" message.
Title: Re: zStart - an app that runs on ram clears
Post by: Deep Toaster on May 08, 2011, 01:04:08 am
Can you add a key combination to run an app/pgrm of choice?  (like DCS's ON + App)

That would really nice.

This is quickly turning into an app for everything O.O
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on May 08, 2011, 04:36:14 am
aw, no more long tokens? :p
this looks brilliant. thanks, penguin!
Title: Re: zStart - an app that runs on ram clears
Post by: Munchor on May 08, 2011, 08:47:14 am
Quote
Updates:
New OS entry point (Both elegant and early)
Solver++ and Long tokens are gone
Toggling options actually changes things during the current ram session (as opposed to waiting until a ram clear)

Ooh, so OS 2.71 MP helped! Nice!
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on May 08, 2011, 12:35:22 pm
awesome
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 08, 2011, 02:16:01 pm
Thanks so much; the new entry point has stopped the random up=ram clears.
THIS.
IS.
AWESOME!!!!!
Title: Re: zStart - an app that runs on ram clears
Post by: Broseph Radson on May 08, 2011, 02:31:59 pm
woot!
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on May 08, 2011, 02:52:22 pm
Since I was bored, and since I love the Lord of the Rings, I converted this (http://www.ticalc.org/archives/files/fileinfo/351/35101.html) font to zStart format.
Enjoy! I know I can't wait to confuse my friends tomorrow.  :P
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on May 08, 2011, 03:18:52 pm
*cough* Japanese font.

I tried and failed quite a bit.
Maybe a text parsing program?
That could go along with it so it wouldn't adjust normal calc use.

Like
Hello Bob
would be
へっろ ぼb

or something of the sort.
Title: Re: zStart - an app that runs on ram clears
Post by: Munchor on May 09, 2011, 07:31:04 am
I also tried the fonts thing on my calc and it didn't work so well (I activated my own custom font but I didn't really note the effect on homescreen). I used the first version of the page. Am I supposed to use a newer one?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 13, 2011, 12:37:37 am
Massive Update!!!! I've spent a solid 4hrs per day for about 4 days on this, so it's pretty impressive.

Updates:

 .
Running programs:
    There's an option in zStart to set the shell of your choice, but you don't have to if you know that all of your programs don't use shell calls. What I do is I copy the program to $9D95 just like the shell would, then I swap the shell in and bcall() $9D95. So the program runs its course and returns back to me, not the shell. I basically tried to do the file copying like mirage does, except I fixed its glitches. So that means programs in ram are moved - not copied, and programs in flash are written back only if they actually changed.

     Also, zStart does actually handle the program different if it's header allows it to be run at the homescreen. So remember that. It will let a homescreen program modify the homescreen, but for shell programs, it will clear the homescreen before it quits. Also, unlike Ti-OS you still get the actual shell routines with whatever header you use, even if it is no-stub.

Shortcuts:
    The shortcuts are pretty straight forward, the number you set is the number you get. Press it once in a menu and it will say "Confirm," press it again and it will set it. You might need to disable omnicalc if you are going to set an app though because onmicalc will send you into mirage the moment you press ON in the apps menu. And for the tokens, it's kinda fun to see what tokens will actually work. I've noticed that none of the tokens that open up new contexts work, so I guess that's too bad. And just so you know, finding what the option the calculator is actually highlighting is really a pain.

Running on startup:
    This gets run every time you turn the calculator on. You can pretty much do whatever you want here, it even runs your program inside the shell. Just don't bcall(_jForceCMDNoChar) because the program is running on borrowed space.

Running on ram clear:
     Here it is, have fun. For max compatibility, you should put this as a homescreen program that doesn't touch the screen or textShadow, but you don't have to do that. If you do run a shell program, just understand it's going to mess up the homscreen. And I don't really recommend you run an app, but I'm not going to stop you. Honestly, if you run an app, a person watching wouldn't even know your ram cleared.

     Don't forget, hold [Vars] while booting to abort. You might need that if your ram clear program crashes.


It's a little too late for me to make a screen shot, but I think everything I put here is self explanatory.


Title: Re: zStart - an app that runs on ram clears
Post by: Builderboy on May 13, 2011, 12:56:47 am
Wow you have been busy O.O so many awesome features!  I especially like all the program shortcuts and hooks you allow :] And you also seem to have implemented noshell or similar right?  The shell needs to still be on the calc right? 
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on May 13, 2011, 12:57:36 am
O.O/me runs over to his TI-84 Plus SE.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 13, 2011, 11:34:07 am
Wow you have been busy O.O so many awesome features!  I especially like all the program shortcuts and hooks you allow :] And you also seem to have implemented noshell or similar right?  The shell needs to still be on the calc right? 

Yes, the shell still needs to be on the calculator if you need to use shell commands. But soon I'll probably implement most of the ION library, so that would make most games work without a shell.
Title: Re: zStart - an app that runs on ram clears
Post by: Broseph Radson on May 13, 2011, 12:01:01 pm
Nice update! :O
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 13, 2011, 11:47:35 pm
Wow.  Stellar update, thepenguin.  For lack of a better pun, this update is a Pen-gu-win. O0
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on May 14, 2011, 12:06:49 am
I do not quite understand the shell function of zStart.  Can you explain a little more.  (I have DCS selected, btw.)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 14, 2011, 12:10:19 am
I suppose the easy way to explain it is that it's a place where thepenguin just threw some random stuff of his, which he then released to the public and eventually got feature requests and made even better. :)
It's a collection of hooks and OS mods that do all kinds of customizable things to your calc.
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on May 14, 2011, 12:12:57 am
I meant to ask what the "Shell" function of zStart is.  ;)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 14, 2011, 12:14:16 am
I meant to ask what the "Shell" function of zStart is.  ;)
It allows you to add CalcUtil-like functionality to DCS programs.  Basically, you can press [On]+a number to launch a program if you have it selected, and it will run even if it has DCS features in it (providing everything is set up right).
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 14, 2011, 12:41:43 am
So, the shell has to be on the calculator for running from homescreen to function?  I guess I'm not deleting calcutil yet after all... :P

Also, a bug report.  Somehow, zStart disables the TIOS APD.  I left the calc for like an hour at the homescreen and when I came back, it was still on.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 14, 2011, 01:12:37 am
So, the shell has to be on the calculator for running from homescreen to function?  I guess I'm not deleting calcutil yet after all... :P

Also, a bug report.  Somehow, zStart disables the TIOS APD.  I left the calc for like an hour at the homescreen and when I came back, it was still on.

Yes, the shell still has to be there. It's just easier that way because to re implement all the libraries would take almost the entire app. Also, programs that don't need shell calls will work without a shell selected.

And for the APD, it's not zStart that is disabling it, but instead the program. zStart just doesn't turn it back on, so I'll have to fix that.
Title: Re: zStart - an app that runs on ram clears
Post by: ACagliano on May 15, 2011, 01:04:21 pm
Do you plan on putting an official readme out?  Or at least explain about the Run on RAM clear options (if you already put it somewhere, can you link me to it). What does "Old RAM Clear" do? What should it be set at?

And the 'Run app on RAM clear" is buggy, correct?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 15, 2011, 01:57:33 pm
Yes, I'll put a readme out eventually. It will be when I uploaded it to ticalc.org again.

The run on Ram clear option purely runs your program on ram clear. So simple enough, find the program, press [ON] + [ . ] twice, then on the next ram clear, that program will run right between displaying the calculator type and displaying "Ram Cleared."

The old ram clear is for OS's 2.53 and 2.55. It makes the ram clear screen look like the 2.43 screen.

And there's nothing really buggy about running on ram clear. It's no different than any of my other shortcut settings.
Title: Re: zStart - an app that runs on ram clears
Post by: ACagliano on May 15, 2011, 01:59:23 pm
Oh. Ok. Then I have a bug to report.

Install run on RAM clear. Press [ON] and [.] on DoorsCS7. Entering a simple math function on the homescreen crashes. Then only way to stop it from crashing is to uninstall zStart.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 15, 2011, 02:16:16 pm
Oh, I see what went wrong there. It has nothing to do with running on ram clears. It's a combination of two things, 1) Mathprint 2) Me not reopening the edit buffer.

I figured out that the calculator still works if you close the edit buffer in a keyHook and then don't reopen it. I just didn't realize that this would crash mathprint. So I'll fix that.
Title: Re: zStart - an app that runs on ram clears
Post by: ACagliano on May 15, 2011, 02:28:27 pm
Ok. I don't have mathprint enabled, but I'll let you do your head scratching. lol.

Also, setting DSC7 to run on 'Turn On' does not work. And it overwrites the DCS7 onscript hook.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 15, 2011, 11:11:13 pm
So I mostly just cleaned everything up:

Updates:



And ACagliano, I fixed the running Apps on Turning On, but as for the DCS side, you'll have to bug Kerm about that. zStart will always have to overwrite DCS's OFFSCRPT in order to function. But to be nice, I only kill it if you are running a program on ON or are displaying a picture on startup. The problem is that DCS kills OFFSCRPT whether it needs it or not. So that's why DCS turns it off.

But I suppose if you have it enabled with both. zStart will do it the first time, and then DCS will handle it from then on.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on May 16, 2011, 11:09:41 am
:o Nice update!!
Oh, and ionDec\r\ompress, huh? :P
Title: Re: zStart - an app that runs on ram clears
Post by: ACagliano on May 16, 2011, 01:32:47 pm
Nice update. However, my main problem persists. After the calc RAM clears once, with DCS7 set to run on RAM clear, pressing [enter] on the homescreen crashes. Will try to post screenie.

Edit: WabbitEmu is not allowing me to install RAM clear. And I don't know how to capture an animated screenshot from my calc.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 16, 2011, 05:44:18 pm
  • APD is re enabled after running programs
Get this on my calc right now.
Thanks! :D

EDIT: I just had an idea to die for! (Not really die, but I digress)
Can you please impliment an Omnicalc Quick-App style Quick-Program thing to make scrolling through the program list really fast.  All it is is a linked list (if my speculation is correct), so all you have to do is mess with the VAT.  This would have to be redone every time Mirage or DCS is re-sorted (I think), but I scroll through with the program menu and would use this a lot.  Thanks!
Also, was Quick-Apps in zStart ever implimented?  Personally, Omnicalc messes with too many things for me to use it, so I don't have Quick-Apps enabled because I don't have Omnicalc enabled and would like it running. :)
Thanks!
Title: Re: zStart - an app that runs on ram clears
Post by: Mighty Moose on May 16, 2011, 06:08:48 pm
This app is really awesome! :thumbsup:
Quick question: would it be possible to get the [On] + [numpad] hook to launch apps as well?  Or is that impossible?
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on May 16, 2011, 06:13:01 pm
EDIT: I just had an idea to die for! (Not really die, but I digress)
Can you please impliment an Omnicalc Quick-App style Quick-Program thing to make scrolling through the program list really fast.  All it is is a linked list (if my speculation is correct), so all you have to do is mess with the VAT.  This would have to be redone every time Mirage or DCS is re-sorted (I think), but I scroll through with the program menu and would use this a lot.  Thanks!
Also, was Quick-Apps in zStart ever implimented?  Personally, Omnicalc messes with too many things for me to use it, so I don't have Quick-Apps enabled because I don't have Omnicalc enabled and would like it running. :)
Thanks!
I would also find this to be insanely helpful, because I almost always have a massive program list that takes forever to scroll through.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 16, 2011, 06:26:10 pm
This app is really awesome! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
Quick question: would it be possible to get the [On] + [numpad] hook to launch apps as well?  Or is that impossible?

Lol, it does already.

EDIT: I just had an idea to die for! (Not really die, but I digress)
Can you please impliment an Omnicalc Quick-App style Quick-Program thing to make scrolling through the program list really fast.  All it is is a linked list (if my speculation is correct), so all you have to do is mess with the VAT.  This would have to be redone every time Mirage or DCS is re-sorted (I think), but I scroll through with the program menu and would use this a lot.  Thanks!
Also, was Quick-Apps in zStart ever implimented?  Personally, Omnicalc messes with too many things for me to use it, so I don't have Quick-Apps enabled because I don't have Omnicalc enabled and would like it running. :)
Thanks!

I could probably do that. It shouldn't be too hard. I'll just have to make sure I don't interfere with anything else.
Title: Re: zStart - an app that runs on ram clears
Post by: Mighty Moose on May 16, 2011, 07:25:26 pm
Really? In that case, how do you assign an application to a shortcut?
(P.S. in the latest version it does not pause at the confirm screen making it possible to assign any shortcuts :(.  Maybe it's just me lol)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 16, 2011, 07:34:50 pm
I think this'll help. :)
Spoiler For Spoiler:
Massive Update!!!! I've spent a solid 4hrs per day for about 4 days on this, so it's pretty impressive.

Updates:
  • Option to use classic ram clear screen
  • Hooks now run in all menus of homescreen
  • I threw out the CursorHook and replaced it with a temporary getCSC hook
  • I put a space before all of the homescreen messages
  • Ability to run assembly programs with or without a shell
  • [ON] + [Enter] in program menu - run program
  • [ON] + [ * ] in program or edit menu - archive/unarchive program
  • [ON] + [number] in program or apps menu - run that program/app with that shortcut on home screen
  • [ON] + [negate] in program or apps menu - run this program when the calculator turns on
  • [ON] + [ . ] in program or apps menu - run this program/app on ram clears
  • [ON] + [number] in menu or catalog - set this as a shortcut token
  • [ON] + [number] at homescreen - run the shortcut associated with this action

 .
Running programs:
    There's an option in zStart to set the shell of your choice, but you don't have to if you know that all of your programs don't use shell calls. What I do is I copy the program to $9D95 just like the shell would, then I swap the shell in and bcall() $9D95. So the program runs its course and returns back to me, not the shell. I basically tried to do the file copying like mirage does, except I fixed its glitches. So that means programs in ram are moved - not copied, and programs in flash are written back only if they actually changed.

     Also, zStart does actually handle the program different if it's header allows it to be run at the homescreen. So remember that. It will let a homescreen program modify the homescreen, but for shell programs, it will clear the homescreen before it quits. Also, unlike Ti-OS you still get the actual shell routines with whatever header you use, even if it is no-stub.

Shortcuts:
    The shortcuts are pretty straight forward, the number you set is the number you get. Press it once in a menu and it will say "Confirm," press it again and it will set it. You might need to disable omnicalc if you are going to set an app though because onmicalc will send you into mirage the moment you press ON in the apps menu. And for the tokens, it's kinda fun to see what tokens will actually work. I've noticed that none of the tokens that open up new contexts work, so I guess that's too bad. And just so you know, finding what the option the calculator is actually highlighting is really a pain.

Running on startup:
    This gets run every time you turn the calculator on. You can pretty much do whatever you want here, it even runs your program inside the shell. Just don't bcall(_jForceCMDNoChar) because the program is running on borrowed space.

Running on ram clear:
     Here it is, have fun. For max compatibility, you should put this as a homescreen program that doesn't touch the screen or textShadow, but you don't have to do that. If you do run a shell program, just understand it's going to mess up the homscreen. And I don't really recommend you run an app, but I'm not going to stop you. Honestly, if you run an app, a person watching wouldn't even know your ram cleared.

     Don't forget, hold [Vars] while booting to abort. You might need that if your ram clear program crashes.


It's a little too late for me to make a screen shot, but I think everything I put here is self explanatory.



Title: Re: zStart - an app that runs on ram clears
Post by: Mighty Moose on May 16, 2011, 07:40:17 pm
OK thanks.  I'm going to send it over again - it didn't seem to work the first time, since it would just run the app without saving a shortcut.
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on May 16, 2011, 07:47:57 pm
2 feature requests! :D
1) Make a Fast App Menu for non-extra RAM calcs. This seems to work without such RAM, but it does crash a bit more.
2) Clock saving. I know this isn't technically "possible", but that's if you are looking to save every second of the clock in an ASM program :P (Or any program) I'm just asking to save the clock when you execute a program or leave a program. Applies to apps too, if possible. It would save me some time (hehe, get it? :P) to set the time. And of course, a manual shortcut as needed :)

Also, what's the status on DCS compatibility?
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on May 16, 2011, 08:12:12 pm
This is getting really great ThePenguin. Nice job so far!
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on May 16, 2011, 08:13:28 pm
My feature request is saving your graph window settings(both window size and format options) whenever you change them, then restore them on RAM Clear.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 16, 2011, 08:22:49 pm
OK thanks.  I'm going to send it over again - it didn't seem to work the first time, since it would just run the app without saving a shortcut.

That's because Mirage was getting in your way. Disable Omnicalc in zStart. Then clear your ram and don't touch Mirage. From here you can safely assign your shortcut keys.

2) Clock saving. I know this isn't technically "possible", but that's if you are looking to save every second of the clock in an ASM program :P (Or any program) I'm just asking to save the clock when you execute a program or leave a program. Applies to apps too, if possible. It would save me some time (hehe, get it? :P) to set the time. And of course, a manual shortcut as needed :)

Also, what's the status on DCS compatibility?

If I did clock saving like that, it would be off by about 1 minute per ram clear. Which would compound every time. And what is worse is that for every second you wait without pressing the ON button, the time gets 1 more second off.

DCS compatibility will be here once KermM gives me an entry point into DCS or completely stops working on it. And since KermM said that he couldn't add an entry point and isn't going to stop working on it anytime soon, I don't really see a "Install DCS" option. Sorry about that, I can't do it like I did Omnicalc because Omnicalc is not going to change. To install it, I actually call a routine inside of it.
Title: Re: zStart - an app that runs on ram clears
Post by: Mighty Moose on May 16, 2011, 08:35:46 pm
Yep.  Already figured it out - simple Mirage/Omnicalc problem :P.  Thanks for making such an awesome utility!
Title: Re: zStart - an app that runs on ram clears
Post by: ACagliano on May 17, 2011, 08:28:51 am
Hey, guys. I have reason to believe that zStart's 'Run on RAM clear' might beat PTT. Can anyone confirm (I use a patched OS)? Install zStart, then set CalcSys to a shortcut. Then activate PTT. RAM clear. zStart should reenable the hooks, and allow you to use the Shortcut to call CalcSys. From there, read/write a byte to the link port and your calc should unlock...
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 17, 2011, 06:15:52 pm
Hey, guys. I have reason to believe that zStart's 'Run on RAM clear' might beat PTT. Can anyone confirm (I use a patched OS)? Install zStart, then set CalcSys to a shortcut. Then activate PTT. RAM clear. zStart should reenable the hooks, and allow you to use the Shortcut to call CalcSys. From there, read/write a byte to the link port and your calc should unlock...

Very clever, but no, you get an Err:Disabled. But, if you made this program run on ram clears:
Code: [Select]
ld a, 3
bcall(_removeAppRestrictions)
ret
Then your calculator would never have PTT enabled again. You could even set this to run on Start Up because PTT doesn't disable OFFSCRPT.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 24, 2011, 04:23:30 pm
I believe there are three things that zStart is lacking right now that would make me no longer dependent on DoorsCS' hooks:
1. Add Mirages' [On]+[Alpha] hook so it will automatically APD  when those two keys are pressed.
2. Add CalcUtil/DoorsCS' run archived programs feature.
These two will solve the DCS compatibility issues, as long as people turn the DCS hooks off.  Then Doors has no reason to mess with the zStart hooks.
3. Can you summarize all of the features in zStart.  I'm sure I'm missing something in the pages upon pages of info. :-\

Also, I'm curious as to which font you use, thepenguin.  Do you mind uploading it? :D
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on May 24, 2011, 04:29:04 pm
2. Add CalcUtil/DoorsCS' run archived programs feature.
Also, CalcUtil's ability to edit archived programs from the PRGM menu would be greatly helpful as well.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 31, 2011, 06:03:57 pm
Another trio of ideas, this time it's for hooks in the program editor:
[On] + [?] = Copy the current line.
[On] + [?] = Paste from the cache into the current line.  If Ans was a string from copy, it would act like Rcl-ing Ans, but without the quotes.
[On] + [?] = Bring up a menu of the current Lbls in the program so you can choose one and jump directly to it, like DCS' instant goto feature.  (reference to this (http://ourl.ca/11318).)
Title: Re: zStart - an app that runs on ram clears
Post by: Munchor on May 31, 2011, 06:06:56 pm
Another trio of ideas, this time it's for hooks in the program editor:
[On] + [?] = Copy the current line.
[On] + [?] = Paste from the cache into the current line.  If Ans was a string from copy, it would act like Rcl-ing Ans, but without the quotes.
[On] + [?] = Bring up a menu of the current Lbls in the program so you can choose one and jump directly to it, like DCS' instant goto feature.  (reference to this (http://ourl.ca/11318).)

Oh thepenguin, if you could do that, it'd be pure epic =D
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on May 31, 2011, 07:56:56 pm
Some bugs to poke you about:

1) APD is enabled for startup programs/RAM clear programs. It should be disabled since when it turns off, bad things happen (TM). :P
2) You should prevent users from enabling MathPrint in a 2.43 OS, since doing anything top-right-display worthy will show a flicker and disappear from sight. I puzzled over that, and after disabling all the option, I narrowed it down to that little but sinister option. :P

Feature requests:
1) Allow disabling of the "bypass" key for startup/RAM programs. Yes, I know that sounds dangerous, so you are free to smash a wall of WARNING text all over my screen. :P (If you're curious, I'm working on a special little program that shouldn't be disabled :P)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 31, 2011, 10:47:17 pm
Another trio of ideas, this time it's for hooks in the program editor:
[On] + [?] = Copy the current line.
[On] + [?] = Paste from the cache into the current line.  If Ans was a string from copy, it would act like Rcl-ing Ans, but without the quotes.
[On] + [?] = Bring up a menu of the current Lbls in the program so you can choose one and jump directly to it, like DCS' instant goto feature.  (reference to this (http://ourl.ca/11318).)

EditBuffers are scary, but that sounds good enough to try to implement, so I will probably try eventually.

Some bugs to poke you about:

1) APD is enabled for startup programs/RAM clear programs. It should be disabled since when it turns off, bad things happen (TM). :P
2) You should prevent users from enabling MathPrint in a 2.43 OS, since doing anything top-right-display worthy will show a flicker and disappear from sight. I puzzled over that, and after disabling all the option, I narrowed it down to that little but sinister option. :P

Feature requests:
1) Allow disabling of the "bypass" key for startup/RAM programs. Yes, I know that sounds dangerous, so you are free to smash a wall of WARNING text all over my screen. :P (If you're curious, I'm working on a special little program that shouldn't be disabled :P)


1) I don't see a problem with having APD occur there. I'm pretty sure APD is interrupt based and when it quits, it quits back to the program. I have that enabled for my grayscale pictures and I haven't had a problem with APD's. Besides, I only take action if the calculator is starting up from and OFF, not from an APD.
2) What happens specifically? Because in reality, I don't even think that OS 2.43 even checks that flag. ;)

1) I can't do the bypass key because I can't check the appvar. The reason I put the bypass key in there to start with is so that you could boot your OS normally without even running any zStart code. Essentially, if you are holding [VARS], the OS jp's to zStart, sees that [VARS] is being pressed, then jp's to where the OS needs to go. In order to disable this, I would have to check the appvar first to see if the [VARS] abort should be accepted. But this completely defeats the purpose of the abort. Let's say that you have an archive glitch that is causing faulty VAT entries, even if you left the [VARS] abort enabled, you would still enter a boot loop.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on May 31, 2011, 10:56:07 pm
ThePenguin, also, what about these ideas?
I believe there are three things that zStart is lacking right now that would make me no longer dependent on DoorsCS' hooks:
1. Add Mirages' [On]+[Alpha] hook so it will automatically APD  when those two keys are pressed.
2. Add CalcUtil/DoorsCS' run archived programs feature.
These two will solve the DCS compatibility issues, as long as people turn the DCS hooks off.  Then Doors has no reason to mess with the zStart hooks.
3. Can you summarize all of the features in zStart.  I'm sure I'm missing something in the pages upon pages of info. :-\

Also, I'm curious as to which font you use, thepenguin.  Do you mind uploading it? :D
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on May 31, 2011, 11:01:35 pm
Quote from: thepenguin77
1) I don't see a problem with having APD occur there. I'm pretty sure APD is interrupt based and when it quits, it quits back to the program. I have that enabled for my grayscale pictures and I haven't had a problem with APD's. Besides, I only take action if the calculator is starting up from and OFF, not from an APD.
2) What happens specifically? Because in reality, I don't even think that OS 2.43 even checks that flag. ;)

1) I can't do the bypass key because I can't check the appvar. The reason I put the bypass key in there to start with is so that you could boot your OS normally without even running any zStart code. Essentially, if you are holding [VARS], the OS jp's to zStart, sees that [VARS] is being pressed, then jp's to where the OS needs to go. In order to disable this, I would have to check the appvar first to see if the [VARS] abort should be accepted. But this completely defeats the purpose of the abort. Let's say that you have an archive glitch that is causing faulty VAT entries, even if you left the [VARS] abort enabled, you would still enter a boot loop.
Bugs
1) That's odd... for a program that I'm working on, APD seems to screw up program data. It doesn't crash, but the Axe variables are messed up. (RAM modification likely?)
2) Of course it doesn't. ;) But I think the way you display those black messages (like "Molar mass", "Confirm?", etc.) changes with setting. If you have zStart loaded, hit [On] + [-] (subtract) on 2.43 with MathPrint enabled. The message will flicker away instead of staying for a second or two. The best place to reproduce this bug is in the program menu. Assign a shortcut or startup/ram clear load program. The bug will be really apparent there.

By the way, I'm a big fan of that molar mass calc! :D AP chemistry calculations feel much better with that turned on. ;)

Feature Requests
1) Huh... VARS? I've been using [DEL] and [CLEAR] held together to bypass startup. :P
And fair enough - although it will make my little locking program terminally weak if someone knows the keys to bypass zStart. :P
Combining my locking program with zStart makes one heck of a locking program, even stronger than Krylypto... if no one knows the keys to bypass, that is.

EDIT:
2) Oh, and don't forget the ones mentioned above! :D (Especially Fast app menu/program menu and edit archived prgms and... too lazy to try to find them all :P)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 01, 2011, 05:03:08 pm
1) That's odd... for a program that I'm working on, APD seems to screw up program data. It doesn't crash, but the Axe variables are messed up. (RAM modification likely?)
Ah, yes, that makes sense.  If the calc APDs, then the current screen has to be stored somewhere.  This area is appropriately named the "saveSScreen."  Unfortunately for you, this is L1 in Axe.  Basically if in your program the calc APDs, then you cannot use any of L1.  Remember that Axe Vars are stored at the end of L1 (as it's actually 768 bytes if you reallocate the vars).
Here's your fix:
1. Use #Realloc() to change the location of the Axe vars to some other place, such as L4.
2. Never ever ever use L1 in your program.

Good luck! ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on June 01, 2011, 05:04:45 pm
Oh. That's why that area contains the flag for whether or not ON was pressed!
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 01, 2011, 05:15:13 pm
Oh. That's why that area contains the flag for whether or not ON was pressed!
I don't think it contains a flag to whether or not On was pressed; If you checked the area before and after an APD, chances are it will be different, but it doesn't have to be, so your method wouldn't always work. :-\
If you wanted to see how to check On, check out this Axe routine posted by calc84maniac from before getKey(41) checked on: http://ourl.ca/4129/133322  (In other words, you'd be checking a bit from port 4.)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 01, 2011, 05:19:23 pm
1) That's odd... for a program that I'm working on, APD seems to screw up program data. It doesn't crash, but the Axe variables are messed up. (RAM modification likely?)

Yep, APD stores the screen to SaveSScreen. Maybe someone should tell Quigibo to add in a bcall(_disableAPD) command.

Quote
2) Of course it doesn't. ;) But I think the way you display those black messages (like "Molar mass", "Confirm?", etc.) changes with setting. If you have zStart loaded, hit [On] + [-] (subtract) on 2.43 with MathPrint enabled. The message will flicker away instead of staying for a second or two. The best place to reproduce this bug is in the program menu. Assign a shortcut or startup/ram clear load program. The bug will be really apparent there.

I see exactly what you are talking about. I'll replace all of my flag checks for Mathprint with calls that will say it's not set if the current version is <2.53.

Quote
By the way, I'm a big fan of that molar mass calc! :D AP chemistry calculations feel much better with that turned on. ;)

Great! Just watch Iodine, I believe it's molar mass is .01 too high because on the old table I got them from, that's what it rounded too. So I'll have to change that. You would look a little silly if you got the molar mass of something wrong :P

Oh. That's why that area contains the flag for whether or not ON was pressed!

There's a good chance you went past the end of saveSScreen. End of saveSScreen = $89EB. System flags = $89F0.
Title: Re: zStart - an app that runs on ram clears
Post by: Quigibo on June 01, 2011, 05:19:53 pm
@thepenguin77
Thought I'd poke remind you that I added the entry point hooks for token enabling a couple weeks ago if you want to have the Axe token hook enabled on startup.  Unfortunately, I don't have a sure way to verify that the current Axe installation is a new enough version to support this.  However, I'm pretty confident you can do it by verifying that the first entry point is a jump instruction.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 01, 2011, 05:22:15 pm
Oh. That's why that area contains the flag for whether or not ON was pressed!

There's a good chance you went past the end of saveSScreen. End of saveSScreen = $89EB. System flags = $89F0.
Oh!  That would make sense.  Thanks for the info. ;D
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 01, 2011, 05:22:47 pm
Oh, shoot, sorry. I saw the update, I just didn't see that it was added. I'll get on that right away.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 01, 2011, 08:47:22 pm
Axe Update!!!!!!!!!!!!!!!!!!!

Updates:


I can see some serious improvements in developing speed once people one shortcut to compile their program and another to run it. It will get even faster once I implement the editing archived programs. (Which I just figured out how to do (App Change Hook :D))

And yes, I see the other requests up there, I'll get to them, don't worry.


Edit:
    Nope, didn't attach it.

Edit2:
    I used Mission Copter because it was the first Axe source I could find.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 01, 2011, 09:04:04 pm
That's just too awesome.  Wow.  Thanks!
Excellent job, thepenguin. ;D
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on June 01, 2011, 09:16:10 pm
O.o amazziingnggggngngngnasm. One question though, how do you work the short cut for compiling. Is it on+# on the homescreen?
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on June 01, 2011, 09:30:50 pm
Ah, yes, that makes sense.  If the calc APDs, then the current screen has to be stored somewhere.  This area is appropriately named the "saveSScreen."  Unfortunately for you, this is L1 in Axe.  Basically if in your program the calc APDs, then you cannot use any of L1.  Remember that Axe Vars are stored at the end of L1 (as it's actually 768 bytes if you reallocate the vars).
Here's your fix:
1. Use #Realloc() to change the location of the Axe vars to some other place, such as L4.
Heh, didn't know that was the problem! :)

So to fix, would I simply put on the top:
Code: [Select]
#Realloc(L2)...and continue to use my regular Axe variables fine, just in a different spot?
2. Never ever ever use L1 in your program.

Good luck! ;D
Oh... uhh.../me looks at all of his other Axe programs which exclusively use L1 :P
(not on purpose though, as you can tell)

Yep, APD stores the screen to SaveSScreen. Maybe someone should tell Quigibo to add in a bcall(_disableAPD) command.
I'm probably going to keep APD on, since it's not a bad idea to do such a thing in a lock program.

Great! Just watch Iodine, I believe it's molar mass is .01 too high because on the old table I got them from, that's what it rounded too. So I'll have to change that. You would look a little silly if you got the molar mass of something wrong :P
Nah, I'm not too concerned. My teacher doesn't really care as long as you showed your work for calculations and such. :P And besides, we've moved on to organic after the AP tests! :D

EDIT: OMG UPDATE :D :D :D zStart is DEFINITELY the swiss knife of all apps :D
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 01, 2011, 09:33:05 pm
So to fix, would I simply put on the top:
Code: [Select]
#Realloc(L2)...and continue to use my regular Axe variables fine, just in a different spot?
Yup, only I'd use L4 or L6, as you can't run programs that use L2 from Mirage. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: JustCause on June 01, 2011, 09:38:05 pm
Dat update. Holy crap. Most useful features EVAH. My life just got a lot easier.
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on June 01, 2011, 09:47:12 pm
Yup, only I'd use L4 or L6, as you can't run programs that use L2 from Mirage. ;)
Hm... but Axe documentation says they're evil! :P
Quote from: Axe Parser Documentation (Commands.htm in the archive)
L4 = 256 bytes (tempSwapArea) Volatility: MED (Corrupt when archiving/unarchiving in program)
L5 = 128 bytes (textShadow) Volatility: MED ("Disp","Output", and "ClrHome" will corrupt)
L6 = 768 bytes (plotSScreen) Volatility: HIGH (Any buffer drawing will corrupt)

I have to do archiving and unarchiving, so definitely not L4.
L5 is a maybe, but it seems kinda small.
And L6 is... well, impossible to use since I use buffer drawing quite a bit... :P
(Assuming buffer drawing = ClrDraw, Pxl-Change, DispGraph, etc.)

However... L3 looks OK to me, since I don't exactly... oh wait, I do use the back buffer a tiny bit to screen cap the screen, then after unlock bring it back to buffer and display it... :P
Quote from: Axe Parser Documentation (Commands.htm in the archive)
L3 = 768 bytes (appBackUpScreen) Volatility: MED (Saving to back-buffer will corrupt)

Any suggestions?
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 01, 2011, 10:11:32 pm
Is there a way to view a list of what's assigned to what on+num shortcut?  Like, calcutil has a program it reads from (http://www.ticalc.org/cgi-bin/zipview?83plus/flash/programs/calcutil.zip;readme.txt), which can be edited through the TIOS editor.  If not, there's another feature request for ya ;D

Also, might it be possible to ON+ENTER compile from the homescreen?

Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 01, 2011, 10:12:11 pm
Whoops, I meant L4 or L5.  In your case, I'd also suggest doing this:
Code: [Select]
Zeros(54)->GDB0
#Realloc(GDB0)
(This only works if you compile it as a program, not an App.)

L5 would work if you don't use Disp, Output, or ClrHome. :-\
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on June 01, 2011, 10:16:21 pm
Whoops, I meant L4 or L5.  In your case, I'd also suggest doing this:
Code: [Select]
Zeros(54)->GDB0
#Realloc(GDB0)
(This only works if you compile it as a program, not an App.)

L5 would work if you don't use Disp, Output, or ClrHome. :-\
I might be using ClrHome to... clear the screen? :P
What does the above code do? This seems to be a... wait, program writeback storage? O_O
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 01, 2011, 10:30:27 pm
What does the above code do? This seems to be a... wait, program writeback storage? O_O
It creates some free ram within your program and then uses that area for Variable Storage.  I suppose if you had a method of program writeback (be it Sir's Axe method or in Mirage/DoorsCS) then you could save all of the variables, but you by no means need to do that. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on June 01, 2011, 10:35:58 pm
Hmm... I might use it. :) But there's one last thing.
Is there anyway I can save the screen (screenshot) to a variable, NOT the back buffer, and be able to display it again?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 01, 2011, 11:05:33 pm
Is there a way to view a list of what's assigned to what on+num shortcut?  Like, calcutil has a program it reads from (http://www.ticalc.org/cgi-bin/zipview?83plus/flash/programs/calcutil.zip;readme.txt), which can be edited through the TIOS editor.  If not, there's another feature request for ya ;D

That's not a bad idea to show a list of the shortcuts. I don't know how feasible editing with TIOS is though because right now I keep the shortcuts locked in the zStart appVar which is always archived.

Quote
Also, might it be possible to ON+ENTER compile from the homescreen?

Sure!! But what would it do? You press ON+ENTER, now what happens?
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 01, 2011, 11:11:42 pm
For me, it just throws an ERR:SYNTAX atm (when put before, say, "prgmSSHIFT") :P
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on June 02, 2011, 12:04:00 am
This update is awesome. Compiling axe programs just got 5 seconds faster :D

Hmm... I might use it. :) But there's one last thing.
Is there anyway I can save the screen (screenshot) to a variable, NOT the back buffer, and be able to display it again?
Use L1 :P
Or create 768 bytes of space in your program (if it's not an app) or steal some user ram by storing it a pic (768 byte pic unless you want to corrupt something) or appvar.
Title: Re: zStart - an app that runs on ram clears
Post by: Broseph Radson on June 02, 2011, 12:25:22 pm
Axe Update!!!!!!!!!!!!!!!!!!!

Updates:
  • ON + [ENTER] in Edit menu - Compile the current program
  • ON + number in edit menu - Set compile as a shortcut
  • ON + [/] - Toggle between the headers for Axe
  • Option to enable Axe token hooks
  • ON + [^] - Kill all hooks (this is old, I just keep forgetting to mention it)
  • Mathprint is not enabled on OS's < 2.53
  • Iodine's molar mass changed from 126.90 to 126.91 (random right?)
Nice update :O
Title: Re: zStart - an app that runs on ram clears
Post by: yoman82 on June 02, 2011, 12:58:42 pm
Wow. This is an incredibly program. Is there any way we could have an in-app list of key shortcuts for reference?
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on June 02, 2011, 02:42:36 pm
Incredible App is incredible 0.O
Title: Re: zStart - an app that runs on ram clears
Post by: Munchor on June 02, 2011, 03:40:07 pm
thepenguin77, any word on text editor Mods as ztrumpet requested?
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on June 07, 2011, 02:48:52 am
Darn this is just too awesome. It's nice to see new tools to enhance the calc functionalities. I wonder if I ever posted a news about this because I think I should O.O
Title: Re: zStart - an app that runs on ram clears
Post by: leafy on June 07, 2011, 06:58:52 pm
I tried compiling a file as an app using the hotkey, and it compiled but then it started scrolling garbage across the screen. I got worried then and turned it off, and then I had to hard reset it (hold del, restore OS) to get it back to normal ><
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 07, 2011, 07:20:39 pm
I tried compiling a file as an app using the hotkey, and it compiled but then it started scrolling garbage across the screen. I got worried then and turned it off, and then I had to hard reset it (hold del, restore OS) to get it back to normal ><

Yeah, that's probably caused because right now it thinks all OS's are non-mathprint. So it never disable's mathprint, which is probably the cause of the error. I knew about this, I just didn't want to post back to back updates.

Edit:
     Updated:
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on June 07, 2011, 08:29:36 pm
For me, hitting On+Enter on the program screen throws an ERR:INVALID, with a RAM clear soon following....
And I can't figure out how to get the shortcut keys working. I can see the little box that says "confirm," but what do I do after that? I tried 2nd, enter, etc. but then pressing On+# from the homescreen does nothing....

What am I missing?
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 07, 2011, 09:49:17 pm
For me, hitting On+Enter on the program screen throws an ERR:INVALID, with a RAM clear soon following....
And I can't figure out how to get the shortcut keys working. I can see the little box that says "confirm," but what do I do after that? I tried 2nd, enter, etc. but then pressing On+# from the homescreen does nothing....

What am I missing?
Confirm it by pressing the exact thing ([On] + [number]) again.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 07, 2011, 09:50:20 pm
/me wonders if there is/will be an updated readme to cover all the awesomeness that's been added over the past month or so
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 07, 2011, 09:55:08 pm
/me wonders if there is/will be an updated readme to cover all the awesomeness that's been added over the past month or so

Haha, ok Darl. Next time I do a serious update, I'll add a readme.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 07, 2011, 10:02:12 pm
/me wonders if there is/will be an updated readme to cover all the awesomeness that's been added over the past month or so

Haha, ok Darl. Next time I do a serious update, I'll add a readme.
Yay! :w00t:

* ZTrumpet is happy!
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 07, 2011, 10:03:35 pm
:D
Yayz
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on June 09, 2011, 12:04:08 am
Readmes!!!!!!!!!!!! Whooo!
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 10, 2011, 08:30:44 pm
A bug: using the on+enter shortcut to compile disables the auto-backup feature, because
Quote from: thepenguin77 on IRC
[18:27:38] <thepenguin77> [...] when compiling from the API entry point, the option is changed
Afaik, this would need the entry point to be modified to have another input...
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 15, 2011, 06:20:13 pm
Program editor update!!!!!!


Editting archived programs works very well. The best part is, that since you are only editing a copy, you can clear your ram while editing and not lose your program. Also, for the temporary copy, I changed the last byte of the name so that I know it's a temporary copy.

The copy and paste has a 4000 byte limit on it. This is simply because I ran out of room. But you should not need more than 4000 bytes unless you are trying to crash it. (Which you can't)

For the port $2E thing, TI adds in 1 t-state per flash read and 1 t-state per ram write when the calculator is running in 15MHz mode. I tried removing it and there was not problem. So I ran a grueling test on it, again, no problem. So enable this to make stuff run faster.

On a side note, this is getting pretty close to 16kb. I fear I may have to cross the boundary soon. Of course, before I do, I'm going to go back through and optimize everything as much as possible. But that probably won't take off more than 1kb. (That Lbl menu took up about 1kb)

So here is zStart with a readme and source, as well as my memory test program. You can run it if you want, just to make sure I know what I'm doing.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 15, 2011, 07:00:32 pm
Epic.  Just...epic.

Now all that's needed to replace CalcUtil is running archived programs ;D
[/feature request]

Quote
Also auto-completes.
What exactly does this mean?

EDIT: imo, it's perfectly fine if this crosses the page boundary.  worth every byte :)

Whoa, 1500 posts..

EDIT2: random feature request.  For the picture showing on startup, can it be made so the pic only shows if the calc was off, say, >10 seconds?
What's happened to me multiple times was I would power down the calc to have omnicalc save the RAM and when I turn it back on the picture shows. ...then I'm wondering for a bit why the button I pressed after ON didn't do anything :P

EDIT: bug with label finding.  See screenie.

read: in screenie, I typed "overwrote hooks."  that should be "chained hooks"
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on June 15, 2011, 08:24:42 pm
Wow, amazing.

Does anyone else have ERR:INVALID issues when trying to use the Axe compile shortcuts?
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 15, 2011, 08:26:05 pm
/me raises hand
/me re-installs zStart JIC
/me keeps hand raised
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 15, 2011, 08:27:00 pm
I guess I technically could make the calculator wait for 10 seconds after turning off to show the picture, but that's how you show people your cool picture :D. When I turn it on, I usually just press ON twice, it works.

Ok, so that bug of yours, that's not really a bug as much as I would guess calcutil does not set up a normal edit buffer. But I don't know, so I'll look into it. But that one wasn't my fault ;D


SquidgetX, that's caused either you tried to run the program rather than compile it, or you tried to compile something that is not an axe source.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 15, 2011, 08:30:23 pm
I guess I technically could make the calculator wait for 10 seconds after turning off to show the picture, but that's how you show people your cool picture :D. When I turn it on, I usually just press ON twice, it works.
Maybe an option?
Quote
Ok, so that bug of yours, that's not really a bug as much as I would guess calcutil does not set up a normal edit buffer. But I don't know, so I'll look into it. But that one wasn't my fault ;D
cool, i'll just not use that until it's fixed :P
Quote
SquidgetX, that's caused either you tried to run the program rather than compile it, or you tried to compile something that is not an axe source.
that happened to me too...after i explicitly installed axe hooks (and compile for ion) even, on+enter in exec menu
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on June 15, 2011, 09:09:27 pm
Nice updates!  :D

I just found out that Math Print makes the text flash too fast to read.  Can you do something to fix that?
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 15, 2011, 09:32:07 pm
A couple more requests:
1. Can you make Mirage's two main hooks ([Alpha]/[Apps] + [On]) be enabled on RAM Clear like you do with OmniCalc and CtlgHelp?
2. Please add the ability to run archived programs.  This is the only major thing missing right now from zStart.

Oh, and I don't mind about this becoming a two page App.  It's worth its space immensely. :D

Edit: Since I forgot to mention how much I love the new update in this topic, I will now:
I love this update so much that I switched back from DCS7 to Mirage just so I don't have to deal with the conflicting hooks.  And that's saying something. ;D
Thanks for the update, thepenguin.  It's awesome.
Title: Re: zStart - an app that runs on ram clears
Post by: Broseph Radson on June 16, 2011, 04:25:52 pm
To me this is becoming more than just an app that runs on ram clears. Its really like a fully fledged enhancement for the OS, sort of like a much more fully featured omnicalc. And excellent update btw ;D
Title: Re: zStart - an app that runs on ram clears
Post by: ACagliano on June 16, 2011, 05:11:43 pm

Edit: Since I forgot to mention how much I love the new update in this topic, I will now:
I love this update so much that I switched back from DCS7 to Mirage just so I don't have to deal with the conflicting hooks.  And that's saying something. ;D
Thanks for the update, thepenguin.  It's awesome.

You might want to consider keeping DoorsCS7. I'm sure zStart-Doors compatibility is somewhere on thepenguin's to-do list, and without DoorsCS7, you lose the benefits of CALCnet and gCn.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 16, 2011, 05:39:51 pm
You might want to consider keeping DoorsCS7. I'm sure zStart-Doors compatibility is somewhere on thepenguin's to-do list, and without DoorsCS7, you lose the benefits of CALCnet and gCn.

Doors compatibility is out of my hands. There is nothing I can do to make it more compatible with Doors. The only way that I could make it work is if Kerm added an entry point for me so that I can install the hooks and such just like Quigibo did for Axe. His hook managment doesn't work right either. I just downloaded the most recent version and he still hasn't fixed the chaining problems. Also, he sets up his on OFFSCRPT whether he uses it or not.

Maybe I should bug him about it again.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 16, 2011, 09:27:30 pm
Maybe you can convince Michael to GPL Omnicalc. Then you could absorb Omnicalc into zStart. I figure that Michael might as well, considering that he isn't active anymore, and Omnicalc needs more work for 2.55 compatibility.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 16, 2011, 09:41:09 pm
It would probably be easier to just completely reimplement Omnicalc. That's what I did when I didn't want to include Calcutil.

Although, I've found that if you leave 2.55 on Classic mode, Omnicalc doesn't really have that many problems. (I've been using 2.53 and Omnicalc for over a year now, and I haven't really had any trouble after using Classic mode)
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 17, 2011, 12:11:56 am
Is there a converter between zStart fonts and Omnicalc fonts? It looks like Omnicalc uses a different header and stores 7 bytes per character, whereas zStart stores 8 bytes per character.
Title: Re: zStart - an app that runs on ram clears
Post by: TIfanx1999 on June 17, 2011, 02:47:50 am

Edit: Since I forgot to mention how much I love the new update in this topic, I will now:
I love this update so much that I switched back from DCS7 to Mirage just so I don't have to deal with the conflicting hooks.  And that's saying something. ;D
Thanks for the update, thepenguin.  It's awesome.

You might want to consider keeping DoorsCS7. I'm sure zStart-Doors compatibility is somewhere on thepenguin's to-do list, and without DoorsCS7, you lose the benefits of CALCnet and gCn.
While that is certainly true, I'm not sure most users use either of those things all that often. Mirage is also quite a lot smaller than Doors as well.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 19, 2011, 03:19:00 pm
It seems to me like either custom fonts or picture on start-up somehow nulls omnicalc's procedure to save the ram.  It didn't overwrite it, but apparently it just prevented it from saving properly...
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 19, 2011, 11:19:43 pm
Thepenguin, the last update is amazing!  Here are my thoughts:
1. Change the Copy key from [On] + [Prgm] to [On] + [negative] for two reasons: Allow it to work with some of DCS7 and to make it a lot faster to copy something and paste it really fast, since the keys are right next to each other.
2. Add something like DCS7's homescreen hook to intercept the prgm token.  If it's the first character on a line then you can parse that yourself instead of letting the OS do it.  This could allow you to make a temporary copy of that in RAM so you could run it from archive or even distinguish if from a TI Basic or Asm program.
3. Finish Solver++ :D
4. Can you please release the Copy/Paste hook as a stand alone program?  I'd love to have it on my 83+SE, which I don't believe zStart is compatible with.
4.5. What about OS 1.19 and 83+/83+SE compatibility?
5. zStart is awesome!  Thanks. ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on June 19, 2011, 11:24:14 pm
I run zStart on my 84+SE with only 1 extra page.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 19, 2011, 11:26:51 pm
I run zStart on my 84+SE with only 1 extra page.
Yup, same here.  I have no problems with zStart itself. :)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 19, 2011, 11:30:43 pm
Thepenguin, the last update is amazing!  Here are my thoughts:
1. Change the Copy key from [On] + [Prgm] to [On] + [negative] for two reasons: Allow it to work with some of DCS7 and to make it a lot faster to copy something and paste it really fast, since the keys are right next to each other.

That does make it a lot easier to copy and paste, but it poses a problem. The negative key actually does something. Now, with zStart installed, no problem. But if for some reason the hook isn't active, pressing negative is going to start overwriting your program. I originally had the Lbl list as ON + [0 ], but after filling several lines with 0's, I moved it to Vars.

Quote
2. Add something like DCS7's homescreen hook to intercept the prgm token.  If it's the first character on a line then you can parse that yourself instead of letting the OS do it.  This could allow you to make a temporary copy of that in RAM so you could run it from archive or even distinguish if from a TI Basic or Asm program.

Yes, I need to do that. It will also convince me to make my other hooks more basic program friendly.

Quote
3. Finish Solver++ :D

Haha, no.

Quote
4. Can you please release the Copy/Paste hook as a stand alone program?  I'd love to have it on my 84+SE, which I don't believe zStart is compatible with.

What? Why on earth do people think this doesn't run on 84+SE's? The 84+BE and 84+SE are essentially the same calculator. In fact, I use a 84+SE. And since it does run on 84+SE's, I don't think I need to make the copy and paste standalone.

Quote
4.5. What about OS 1.19 and 83+/83+SE compatibility?

Eventually I will write a 1.19 patch. In fact, with my most recent update to how I do flash, that shouldn't be very hard. But it's not going to work on the 83+, I would have to rewrite a lot of code and in the end, quite a few things aren't possible.

Quote
5. zStart is awesome!  Thanks. ;D

That was my goal.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 19, 2011, 11:35:44 pm
Quote
3. Finish Solver++ :D

Haha, no.
I loled. ;D

Quote
4. Can you please release the Copy/Paste hook as a stand alone program?  I'd love to have it on my 84+SE, which I don't believe zStart is compatible with.

What? Why on earth do people think this doesn't run on 84+SE's? The 84+BE and 84+SE are essentially the same calculator. In fact, I use a 84+SE. And since it does run on 84+SE's, I don't think I need to make the copy and paste standalone.
Whoops, that's my typo. :(  I meant 83+SE, not 84+SE.  For the record, I'm running it on an 84+SE too. ;)


Everything else sounds awesome!  Can I bump this real quick though:
Can you make Mirage's two main hooks ([Alpha]/[Apps] + [On]) be enabled on RAM Clear like you do with OmniCalc and CtlgHelp?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 19, 2011, 11:40:20 pm
I forgot about the mirage ON + Apps. That's an easy one, so I'll make sure I do that.

But the ON + Alpha is a lot harder. I don't currently use a GetCSC hook, so I don't really have any way to detect that this has happened because pressing ON does nothing, and pressing Alpha doesn't register as a keypress because it's just a modifier. I'll see if I can find some weird way to detect it because I don't really want to make a getCSC hook as the first thing mirage does when you start it is kill the GetCSC hook.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 20, 2011, 08:58:18 am
I forgot about the mirage ON + Apps. That's an easy one, so I'll make sure I do that.

But the ON + Alpha is a lot harder. I don't currently use a GetCSC hook, so I don't really have any way to detect that this has happened because pressing ON does nothing, and pressing Alpha doesn't register as a keypress because it's just a modifier. I'll see if I can find some weird way to detect it because I don't really want to make a getCSC hook as the first thing mirage does when you start it is kill the GetCSC hook.
Hmm, interesting.  I guess you could always do it like DCS7 if you just wanted to add it to zStart and not call it a Mirage hook: Kerm made it into hold [On] and then tap [Stat].

I also have another feature request that I forgot about before:
Can you make it so when a letter is pressed in the Memory Management/Delete menu that you jump to the first program/app/list/appvar with that letter like in the Prgm/Apps/Stat menu?  I think this would be incredibly helpful for deleting or seeing the size of items that start with a letter far down the alphabet.  Note that if you're in the "All" menu there that nothing should be done, as it includes every type of file and is not suitable for jumping around letter by letter.
Title: Re: zStart - an app that runs on ram clears
Post by: Munchor on June 20, 2011, 11:35:41 am
By the way, this deserves a News in Omni (I think there was already one) and a ticalc.org one too :)
Title: Re: zStart - an app that runs on ram clears
Post by: dman2073 on June 20, 2011, 07:26:41 pm
Does this work on the nspire 84 mode?  Every time I attempt to install, it ram clears, and every time I use a picture at startup, it freezes at the picture and I have to pres the reset button.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 20, 2011, 10:15:11 pm
No, flash writing on the Nspire is all messed up. Plus it uses a different boot code, which is why it's crashing.

The picture at start up freezing is because the Nspire does not have crystal timers, even though it should.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 21, 2011, 06:12:02 pm
Omnicalc to zStart font converter. I didn't feel like messing with string input routines, so the source and destination names must be hard coded. Source font must be archived.
Code: [Select]
.NAME
"_SOURCE"->Str1
6->{Str1}
[BB6DC96F6D6E6963616C63]->Str2
.This hack is needed because Axe seems to have no support for protected programs and zStart requires the font to be protected. Also, why doesn't zStart use a appvars for the fonts?
"_DEST"->Str3
6->{Str3}
"FONT"->Str4
GetCalc(Str1,Y1)->A
!If A
 Disp "Var not found.",i
 Return
End
For(A,0,10)
 {A+Str2}->B
 {Y1+A}->C
 If B!=C
  Disp "Header error.",i
  Return
 End
End
GetCalc(Str3,2052)->X
!If X
 Disp "Cannon create.",i
 Return
End
Copy(Str4,X,4)
X+4->X
Disp "Converting...",i
For(C,0,255)
 .Work around bugs in the way Axe handles files.
 C*7+11->G
 C*8+X->H
 For(D,0,6)
  {Y1+G}->E
  E->{H}
  G++
  H++
 End
 5->{H}
End
Disp "Arching...",i
Archive Str3
Disp "Done!",i
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 21, 2011, 09:25:30 pm
That's really awesome!  Thanks, DrDnar.

Here's my addition to the code.  I added input routines so you don't have to recompile it for each font. ;D

Code: [Select]
Data(6,0,0,0,0,0,0,0,0,0)->Str1
ClrHome
Output(0,4)
Disp "Input File Name"
sub(TYP,Str1)
[BB6DC96F6D6E6963616C63]->Str2
.This hack is needed because Axe seems to have no support for protected programs and zStart requires the font to be protected. Also, why doesn't zStart use a appvars for the fonts?
Data(6,0,0,0,0,0,0,0,0,0)->Str3
ClrHome
Output(0,4)
Disp "Output File Name"
sub(TYP,Str3)
ClrHome
"FONT"->Str4
GetCalc(Str1,Y1)->A
!If A
 Disp "Var not found.",i
 Return
End
For(A,0,10)
 {A+Str2}->B
 {Y1+A}->C
 If B!=C
  Disp "Header error.",i
  Return
 End
End
GetCalc(Str3,2052)->X
!If X
 Disp "Cannot create.",i
 Return
End
Copy(Str4,X,4)
X+4->X
Disp "Converting...",i
For(C,0,255)
 .Work around bugs in the way Axe handles files.
 C*7+11->G
 C*8+X->H
 For(D,0,6)
  {Y1+G}->E
  E->{H}
  G++
  H++
 End
 5->{H}
End
Disp "Arching...",i
Archive Str3
Disp "Done!",i
.End of DrDnar's code
Return

Lbl TYP
0→A
Output(0,5)
"WRMH"→GDB5
det(3)
"VQLG"
det(3)
"ZUPKFC"
det(1)
" YTOJEB"
det(2)
"XSNIDA"
"        "→GDB9  //8 spaces
Repeat B=54 and (A≠0
getKey→B
If B=56 and (A≠0
A-1→A
Output(A,5,' '►Char)
Output(A,5)
End
If B=15
0→A
Output(0,5,GDB9)
Output(0,5)
End
If A<8
If B>10 and (B<48)
If {B+GDB5-11}→C
Disp C►Char
C→{A+r1+1}
A+1→A
End
End
End
End

Edit:  Hmm, I couldn't get it to work. :-\
As far as I can tell the problem is in your routine, DrDnar.
Here's the source I used.  I tried it with this font: http://www.ticalc.org/archives/files/fileinfo/288/28843.html And this one: http://www.ticalc.org/archives/files/fileinfo/297/29753.html
Edit 2: What version of Axe do you use?
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 22, 2011, 12:19:35 am
Glancing at this, I have to ask: Is the name input routine overwriting the first byte of Str1/Str3? That byte must be 6 for the converted font to show up in zStart. The conversion worked for me when I manually entered the name. I'll check the source for typos, too.

So, here it is, from Source Coder. I don't see any differences, though.
Code: [Select]
:.AA
:" COURIERN"→Str1
:6→{Str1}
:[BB6DC96F6D6E6963616C63]→Str2
:" COURIERM"→Str3
:6→{Str3}
:"FONT"→Str4
:Disp "Working...",i
:GetCalc(Str1,Y1)→A
:!If A
: Disp "Var not found.",i
: Return
:End
:For(A,0,10)
: {A+Str2}→B
: {Y1+A}→C
: If B≠C
:  Disp "Header error.",i
:  Return
: End
:End
:.CREATE VAR
:GetCalc(Str3,2052)→X
:!If X
: Disp "Cannot create.",i
: Return
:End
:.MAKE HEADER
:conj(Str4,X,4)
:X+4→X
:Disp "Converting...",i
:For(C,0,255)
: C*7+11→G
: C*8+X→H
: For(D,0,6)
:  {Y1+G}→E
:  E→{H}
:  G++
:  H++
: End
: 5→{H}
:End
:Disp "Archiving...",i
:ArchiveStr3
:Disp "Done!",i
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 22, 2011, 04:31:08 pm
When I tried it I always got a header error. :-\

Glancing at this, I have to ask: Is the name input routine overwriting the first byte of Str1/Str3? That byte must be 6 for the converted font to show up in zStart. The conversion worked for me when I manually entered the name. I'll check the source for typos, too.
I made sure to keep both bytes as 6.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 22, 2011, 04:33:59 pm
Is that error with my version or yours? It worked fine with that first sample font from TI Calc. I think you need to pass Str1+1 instead of Str1 to the name input routine.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 22, 2011, 05:00:34 pm
Interesting.  I just tried my code again without changing anything and it worked. ???

Here's my executable and source:

Edit: And now it's back to doing it again. :(



Edit: As another request, thepenguin, can we please be able to Rcl programs from Archive?  :D  Thanks. :)
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on June 23, 2011, 08:13:44 pm
This is great. I haven't managed to test out the new update though, but I *did* figure out what was causing my ERR:INVALID problem. However, sometimes after using the compile shortcut, I just get a RAM clear..... any ideas? I'll try to repro it for you to ascertain some of the circumstances....but I think it might have to do with the run-on-ram-clear property not working correctly. (It won't switch to CLASSIC after ram clear either even though i have it set to CLASSIC in the defaults menu...2.53MP)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on June 23, 2011, 11:47:13 pm
Another request like:
I also have another feature request that I forgot about before:
Can you make it so when a letter is pressed in the Memory Management/Delete menu that you jump to the first program/app/list/appvar with that letter like in the Prgm/Apps/Stat menu?  I think this would be incredibly helpful for deleting or seeing the size of items that start with a letter far down the alphabet.  Note that if you're in the "All" menu there that nothing should be done, as it includes every type of file and is not suitable for jumping around letter by letter.
Can you add this to the [2nd] [Link] menu as well?  I hate having to wait a minute before I can scroll down to Z to transfer certain programs, like my quadratic formula one named "ZQUADFRM." ;)  Thanks. :)
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 24, 2011, 12:09:02 am
That's a difficult request. (At the very least, the internal workings of those menus are not documented.) Though it would be a nice feature.
Title: Re: zStart - an app that runs on ram clears
Post by: Munchor on June 24, 2011, 07:55:35 am
Another request like:
I also have another feature request that I forgot about before:
Can you make it so when a letter is pressed in the Memory Management/Delete menu that you jump to the first program/app/list/appvar with that letter like in the Prgm/Apps/Stat menu?  I think this would be incredibly helpful for deleting or seeing the size of items that start with a letter far down the alphabet.  Note that if you're in the "All" menu there that nothing should be done, as it includes every type of file and is not suitable for jumping around letter by letter.
Can you add this to the [2nd] [Link] menu as well?  I hate having to wait a minute before I can scroll down to Z to transfer certain programs, like my quadratic formula one named "ZQUADFRM." ;)  Thanks. :)

Oh I like that, I'd actually like that in every menus, but I guess it's not possible.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 24, 2011, 10:15:04 am
I haven't said whether it's possible or not, because honestly I don't know. It should be possible.

Here's the process I'll have to go through.
1. Find those menus' cxCurApp values. (This is their ID values)
2. Figure out where they store the current varType.
3. Figure out where they store the current program
4. Figure out how to redraw the menus
5. Figure out how to search alphabetically for stuff
6. Add in special cases for those cxCurApp values in my hook routine
7. Write the hook routine

Now, 1 and 6 are simple. If I'm lucky, 2, 3 and 4 will be the same as the program menus. 5 I know how to do as long as I can do 2. And 7, I think this is like my 30th hook or something, so I've got some experience in the matter.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 28, 2011, 02:05:57 am
Feature request, just adding to something current:
On+Vars shortcut in program editor brings up the labels atm.  But it only shows the label names' first two chars.
Like, Lbl END shows up as EN and both Lbl ST and Lbl STC show up as ST.

Might it be possible to make it so label names up to 3 chars show up?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 28, 2011, 08:53:19 pm
Bet you can't guess what I added.

Update!!!:


The only downfall to allowing execution everywhere is that the calculator will never really "crash." Instead, it will just bounce around until it goes into an endless loop or goes to 0000h. I'm not sure what kind of effect this is going to have, so we'll have to see.




Sorry Darl, SirCmpwn told me that you could only have 2 letter labels. If 3 letter labels are real, that's an easy fix.

Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 28, 2011, 08:55:10 pm
Sorry Darl, SirCmpwn told me that you could only have 2 letter labels. If 3 letter labels are real, that's an easy fix.
They exist in Axe source code ;)
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 28, 2011, 08:55:14 pm
They're real. The limit is actually 3 bytes, not tokens.

Dang, ninja'd by four seconds.
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on June 28, 2011, 08:57:00 pm
Axe allows for 3 letter labels. If I let PC>C000h would a battery pull still work?
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 28, 2011, 08:57:25 pm
Yes.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar 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.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 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.
Title: Re: zStart - an app that runs on ram clears
Post by: samebull (metagross111) on July 04, 2011, 06:05:53 am
This is the coolest app I've seen on the forum, way to go.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet 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...
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 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 )
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 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.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 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:



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.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on July 25, 2011, 02:04:24 am
Nice. I was wondering what happened to this project. I'll try this on my calculator.
Title: Re: zStart - an app that runs on ram clears
Post by: Eeems 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.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet 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
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 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.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 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)
Title: Re: zStart - an app that runs on ram clears
Post by: SirCmpwn 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?
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI 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.
Title: Re: zStart - an app that runs on ram clears
Post by: Eeems 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
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 25, 2011, 05:19:49 pm
zStart set my contrast level automatically to the max, and I can't figure out how to reduce the number ;_; help?

Sir, delete the appvar and try the new one. What happened was that the first one I uploaded, 1.2.010, killed the location of the appVar when you installed it on ram clear. So you appvar is garbage. Delete it and you should be fine.

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.

That's a good point, omnicalc does that, but I'll see if I can do it too, I don't think it's very hard. In fact, OS 2.53 and 2.55 overload the log( functions too. So log(8,2) on a brand new OS will return 3.

That didn't work, my archive is still gone :/ oh well.

I'm sorry to hear that, I don't know what could have happened. DrDnar's Archutil (http://www.ticalc.org/archives/files/fileinfo/411/41120.html) would definitely be useful to you since I would guess your programs aren't even deleted in the real flash.
Quote
    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.

Yep, it was the run on ram clear, that's fixed now though.

Quote
I'll try to see if that one works :P

The new one should work, just make sure you delete the appVar.



I really have to thank you guys for putting up with this. There are just some glitches that through all of my testing, I just can't cause, that's why I need people like you to find the flaws.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on July 25, 2011, 05:40:59 pm
I'm glad there's a fixed version. :)  Thanks, thepenguin. :D
Title: Re: zStart - an app that runs on ram clears
Post by: Eeems on July 25, 2011, 08:02:34 pm
That didn't work, my archive is still gone :/ oh well.

I'm sorry to hear that, I don't know what could have happened. DrDnar's Archutil (http://www.ticalc.org/archives/files/fileinfo/411/41120.html) would definitely be useful to you since I would guess your programs aren't even deleted in the real flash.
Quote
    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.

Yep, it was the run on ram clear, that's fixed now though.

Quote
I'll try to see if that one works :P

The new one should work, just make sure you delete the appVar.



I really have to thank you guys for putting up with this. There are just some glitches that through all of my testing, I just can't cause, that's why I need people like you to find the flaws.
Alright, the new one works, I haven't tested to see if archive undelete or anything will work.
Glad to help :)
Title: Re: zStart - an app that runs on ram clears
Post by: annoyingcalc on July 25, 2011, 08:37:09 pm
Cool just tried it out can you make a conveter to convert pics to veiwable on calc and post it?
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on July 25, 2011, 11:40:20 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.
Does your calculator have the full 128 K of RAM? It's a long shot, but what if MathPrint actually requires the host calculator to only have 48 K of RAM? Some people have reported that MathPrint works fine for them.
Title: Re: zStart - an app that runs on ram clears
Post by: calcdude84se on July 26, 2011, 08:06:22 am
Does your calculator have the full 128 K of RAM? It's a long shot, but what if MathPrint actually requires the host calculator to only have 48 K of RAM? Some people have reported that MathPrint works fine for them.
One way to check that would be to look at the disassembled v2.53/v2.55 TI-OS and see if multiple values $82 and over are ever output to port 6 or 7. If only WabbitEmu could be configured to watch port outputs...
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on July 26, 2011, 09:05:28 am
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.
Does your calculator have the full 128 K of RAM? It's a long shot, but what if MathPrint actually requires the host calculator to only have 48 K of RAM? Some people have reported that MathPrint works fine for them.
Unfortunately, I only have the 48K of RAM. I've got an M serial number.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 26, 2011, 10:28:18 am
Does your calculator have the full 128 K of RAM? It's a long shot, but what if MathPrint actually requires the host calculator to only have 48 K of RAM? Some people have reported that MathPrint works fine for them.

I think one disproof for this would be that wabbitemu runs fine and has the whole 128 K of RAM. But there is definitely something hardware related going on.

One way to check that would be to look at the disassembled v2.53/v2.55 TI-OS and see if multiple values $82 and over are ever output to port 6 or 7. If only WabbitEmu could be configured to watch port outputs...

Umm... Wabbitemu>Right click>Debug>Debugger>View>Port Monitor>Click>Breakpoints>toggle breakpoint (I know you know how to open the debugger, it's just fun to type out the whole path.)
Title: Re: zStart - an app that runs on ram clears
Post by: calcdude84se on July 26, 2011, 10:30:02 am
I didn't know that. My bad. :-[
What in the hardware could possibly make MathPrint so dysfunctional?
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on July 26, 2011, 04:42:18 pm
zStart and Omnicalc's Fast Apps won't play nice together.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 27, 2011, 12:13:52 am
zStart and Omnicalc's Fast Apps won't play nice together.

Sorry, Omnicalc draws a completely fake menu, so I don't have any access to it. You'll just have to set your app shortcuts outside of that.



Also, does anyone have any final requests/glitches, I want to get a version to ticalc.org soon. My most recent version slightly changes the OS mod because I found out that when you hold clear, it doesn't set the app privileges, which means I need to abort while I'm still in the OS. The most recent version also allows you to have a program run every time zStart runs, allowing for major customization.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 28, 2011, 11:48:12 am
Also, does anyone have any final requests/glitches, I want to get a version to ticalc.org soon. My most recent version slightly changes the OS mod because I found out that when you hold clear, it doesn't set the app privileges, which means I need to abort while I'm still in the OS. The most recent version also allows you to have a program run every time zStart runs, allowing for major customization.

Since I guess there were no glitches ;D, I think it's time for the final update before ticalc.org:



What was wrong with the OS mod was that when you held down CLEAR while doing a ram clear, the calculator would just boot loop. The reason for this wasn't immediately apparent, but eventually I figured out it's because the OS wasn't setting the app execution privileges. So, what I had to do was make the OS mod check for the CLEAR button, and if it detects it, don't even jump to zStart. To get an idea of what I'm talking about, install this zStart, (or uninstall an old one), clear ram with CLEAR, and then try to run an app.

I also found out something really cool. You can set almost any token to the 1-9 keys. However, I don't store them as tokens, I store them as keypresses. What does this mean? You can set menus to the shortcuts keys. I first noticed it with Solver, but, you can actually set the Ram Clear option to one of your shortcuts keys. You could even set clear mem to a shortcut keys, but it would only work once. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 29, 2011, 11:35:19 am
Lol, you guys should have told me I didn't attach anything...
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on July 29, 2011, 11:36:04 am
Ah!  I was wondering when you were going to update it. ;D
Title: Re: zStart - an app that runs on ram clears
Post by: p2 on July 29, 2011, 11:36:25 am
wow!
trippleposting!

nice!
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on July 29, 2011, 11:50:07 am
Alright, a couple of ideas:
1. Using Rcl from Archive.  I'd love to be able to recall archived programs into the current program.
2. Another mode for Fast Memory Timings: Make it so it works outside of when programs/Apps are running, but not while they are running.  This, if I'm correct, could make archiving source and editing faster while still having the compiled program run at its correct speed (Axe example).
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on July 29, 2011, 11:57:26 am
I love the label menu, but Axe now supports labels of up to 5 characters, and they can include lowercase letters. I would love to see zStart support this.
Also, would it be possible to have shortcut keys to jump to the top and bottom of a program? I know DT made a program that does this, but having that hook included in zStart would be awesome.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 29, 2011, 09:01:50 pm
Alright, a couple of ideas:
1. Using Rcl from Archive.  I'd love to be able to recall archived programs into the current program.
Done

Quote
2. Another mode for Fast Memory Timings: Make it so it works outside of when programs/Apps are running, but not while they are running.  This, if I'm correct, could make archiving source and editing faster while still having the compiled program run at its correct speed (Axe example).
We've already talked, 14% faster isn't enough to make a big difference.

I love the label menu, but Axe now supports labels of up to 5 characters
Maybe later, but that would require quite a bit of rewriting.

Quote
and they can include lowercase letters. I would love to see zStart support this.
Done

Quote
Also, would it be possible to have shortcut keys to jump to the top and bottom of a program? I know DT made a program that does this, but having that hook included in zStart would be awesome.
Done


These will definitely be the final features added to 1.3 because I ran out of room today. Spasm gave me this message: "exporter: warning SE802: Only 48 bytes are used on the last APP page." Which meant I had to go back through my code and optimize out 48 bytes, which wasn't really that difficult. But, optimizing out enough bytes to add in more features is pretty much a no.

So, I'm going to leave 1.2.13 here for you guys. I'll be gone for a week. When I get back, if I see there are no glitches, it's off to ticalc.org with it. (I'll probably still be able to do a few things while I'm gone though, so don't worry.)

And don't forget, 1.3 will be the last version that is 1 page. All versions after that will be 2 pages. So if space is an issue, you better speak up. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on July 29, 2011, 09:30:49 pm
Awesome!  Thanks for the update.
Hopefully I'll be able to put the new version on my calc soon and let you know if any bugs arise. :)
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on July 29, 2011, 09:43:48 pm
coolio! i love that you just keep adding things to this XD
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on July 29, 2011, 11:46:41 pm
coolio! i love that you just keep adding things to this XD
Me too. :D  It makes it so much fun to see what'll be implemented next. ;D
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on August 03, 2011, 09:02:21 pm
Lemme start by saying, I love the new features.

That said, I'm having some rather grievous issues with the run on RAM clear function.

I'm not sure if the culprit is Axe 1.0.2 or zStart 1.2.013, as when zStart was the only thing installed on my calc after a ROM clear and fresh OS installation, the run on RAM clear feature worked perfectly. I then proceeded to send my other apps back, though Axe was the only one I installed. I wrote a simple program, just drew a few rectangles, inverted some text, and XOR'd a sprite, compiled and ran it. No issues. Then, when I RAM cleared, zStart did not kick in, and I've had some interesting issues when I tried to uninstall and reinstall the run on RAM clear feature, such as a ERR: MEMORY when I went to the memory clear menu, or my contrast value being 104. If run on RAM clear is not installed, I have no issues.

I've also posted in the Axe Bug Reports topic, as I was unsure of what caused this problem.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 06, 2011, 02:51:58 pm
Well, I'm back.

Lemme start by saying, I love the new features.

That said, I'm having some rather grievous issues with the run on RAM clear function.

I'm not sure if the culprit is Axe 1.0.2 or zStart 1.2.013, as when zStart was the only thing installed on my calc after a ROM clear and fresh OS installation, the run on RAM clear feature worked perfectly. I then proceeded to send my other apps back, though Axe was the only one I installed. I wrote a simple program, just drew a few rectangles, inverted some text, and XOR'd a sprite, compiled and ran it. No issues. Then, when I RAM cleared, zStart did not kick in, and I've had some interesting issues when I tried to uninstall and reinstall the run on RAM clear feature, such as a ERR: MEMORY when I went to the memory clear menu, or my contrast value being 104. If run on RAM clear is not installed, I have no issues.

I've also posted in the Axe Bug Reports topic, as I was unsure of what caused this problem.

Hmm... This is an ugly situation because Axe hasn't been the most stable when it comes to flash lately. My best guess as to what happened would be that axe corrupted the appvar. However, I hate to just blame Axe and be done with it. So, I guess first, try deleting the zStart appVar and redoing everything. If everything works fine, then we'll have some headscratching to do, if it doesn't work right, then we'll have some headscratching to do. Either way, it will give me more insight as to what went wrong.
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on August 06, 2011, 03:07:05 pm
Didn't work... I deleted the appvar and redid everything.
I tried a Arc Vars clear, and compiled and ran a program in Axe. It seems to be working...

Until I messed with the Axe Settings in zStart that is! I had left the Axe hook turned off in zStart, but I still set up a compile shortcut, and compiling and running worked fine. As soon as I turned the hook on in zStart, and compiled a program using a shortcut, the run on RAM clear function stopped working! I turned the hook off again, and run on RAM clear works!

I think I've isloated the issue, but I'm still unsure of whether it's Axe or zStart's fault.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 06, 2011, 03:54:55 pm
Thanks for narrowing that down for me. While I would love to blame Axe, sadly, it was entirely my fault. The problem was just an oversight by me that has been present for a very long time. On ram clears, the appvar is stored at $8002. When I make the offPageJump to Axe, I put it at $8000 and it is 6 bytes long. This is obviously a problem, but in the past, I worked through the appvar in order and by the time my Axe jump overwrote $8000, that data had already been used. However, now, I keep the flags really early in the appVar which is why everything died. My very simple solution was just to move the appvar to $8007.

I forgot to test Axe, my bad ;D Now everything should have been tested.
Title: Re: zStart - an app that runs on ram clears
Post by: ben_g on August 06, 2011, 04:17:46 pm
Is it possible to make an option that the clock won't get reset on a ram clear?
Title: Re: zStart - an app that runs on ram clears
Post by: annoyingcalc on August 06, 2011, 07:57:40 pm
Hmm that might be useful..

:w00t: 300th post!
Title: Re: zStart - an app that runs on ram clears
Post by: the_mad_joob on August 07, 2011, 01:23:29 pm
Zstart seems to be quite a nice piece of code =]

Btw, dunno if it's related to the os version, but my clock is never affected by resets, at least ones voluntary triggered by me (defaults/ram/all).
I use our good old 2.43.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on August 07, 2011, 02:36:59 pm
I'm using 2.43, and it resets for me (tho that's on error crashes, not mem menu resets).  I'm not sure if the OS matters much in this case, anyway..?
Pretty much the only time I set the clock is to use MSD8X, so all my backups aren't from 1/1/01 :P

Also, regarding the clock saving...
2) Clock saving. I know this isn't technically "possible", but that's if you are looking to save every second of the clock in an ASM program :P (Or any program) I'm just asking to save the clock when you execute a program or leave a program. Applies to apps too, if possible. It would save me some time (hehe, get it? :P) to set the time. And of course, a manual shortcut as needed :)
If I did clock saving like that, it would be off by about 1 minute per ram clear. Which would compound every time. And what is worse is that for every second you wait without pressing the ON button, the time gets 1 more second off.


Just had a random thought: is program writeback enabled?  I'm guessing there isn't enough room for an option, tho :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 07, 2011, 10:19:01 pm
I'm using 2.43, and it resets for me (tho that's on error crashes, not mem menu resets).  I'm not sure if the OS matters much in this case, anyway..?
Pretty much the only time I set the clock is to use MSD8X, so all my backups aren't from 1/1/01 :P

Also, regarding the clock saving...
2) Clock saving. I know this isn't technically "possible", but that's if you are looking to save every second of the clock in an ASM program :P (Or any program) I'm just asking to save the clock when you execute a program or leave a program. Applies to apps too, if possible. It would save me some time (hehe, get it? :P) to set the time. And of course, a manual shortcut as needed :)
If I did clock saving like that, it would be off by about 1 minute per ram clear. Which would compound every time. And what is worse is that for every second you wait without pressing the ON button, the time gets 1 more second off.

Thank you, I've answered that question so many times I wasn't going to respond :)

OS 2.43 is the first OS to not reset the clock on manual resets, the previous ones did. However, hard resets do reset the clock. In fact, I believe that was all that was changed for 2.43.

Quote
Just had a random thought: is program writeback enabled?  I'm guessing there isn't enough room for an option, tho :P

The programs always write back if they are changed. I run a 16 bit checksum on them, and if the checksums before and after don't match, I write the program back. In ram, the program gets written back every time, but that's entirely different. Also, I didn't add an option because I feel like you would always want the program to write back if it was changed.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on August 07, 2011, 10:37:25 pm
Thank you, I've answered that question so many times I wasn't going to respond :)
:P

Quote
OS 2.43 is the first OS to not reset the clock on manual resets, the previous ones did. However, hard resets do reset the clock. In fact, I believe that was all that was changed for 2.43.
Ok, good to know (I'm assuming "hard resets" are crashes from an ASM prog/app/2.5* MP?)

Quote
The programs always write back if they are changed. I run a 16 bit checksum on them, and if the checksums before and after don't match, I write the program back. In ram, the program gets written back every time, but that's entirely different. Also, I didn't add an option because I feel like you would always want the program to write back if it was changed.
Also good to know.  I've been (for lack of a better term) messed up many a time by getting some "great" high score in a game like Devrays or TetrisM, then finding out later calcutil had writeback disabled x.x
(also the calcutil settings kept getting messed up remotely from something or another, so even if I enabled it I'd check it a week or so later to find that it spontaneously changed :P )


EDIT: I've been thinking of making a zStart userbar.  I have no idea what the design aspects of it would be, tho...any ideas toward it?

EDIT2: minor spelling error that's been there for a while: under the picture thing there's "Refrest Delay" instead of "Refresh".
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 10, 2011, 12:45:09 am
EDIT: I've been thinking of making a zStart userbar.  I have no idea what the design aspects of it would be, tho...any ideas toward it?

I have absolutely no ideas. ;D There are almost no graphics in zStart. Though, I guess you should make it the last userbar in your list ;)

Quote
EDIT2: minor spelling error that's been there for a while: under the picture thing there's "Refrest Delay" instead of "Refresh".

Thanks for pointing that out. I'm not really sure how I've missed that for so long. I've probably read "Refresh Delay" over 30 times and I've never once noticed that it's actually "Refrest." I guess that's what happens when you use notepad. This is probably the easiest bug fix ever though.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on August 10, 2011, 01:46:29 am
/me watches as said bugfix screws the app
j/k <_<
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 12, 2011, 04:54:07 pm
Version 1.3 is finally out!

http://www.ticalc.org/archives/files/fileinfo/429/42907.html

(http://www.ticalc.org/archives/files/ss/822/82218.gif)


Finally, I can take a break from this :D I cleaned up a few more bugs that were all caused by recent changes and I made an awesome screen shot showcasing pretty much everything in the app. (The screen shot was actually how I found most of the bugs)

Don't forget, if you like the app, you should rate it. And if you don't like it, apply your rating to DCS. ;D
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on August 13, 2011, 03:44:48 pm
Nice!  Great job on the update.  Thanks for everything you've done on it; it's one of the best Apps for the calc.
Title: Re: zStart - an app that runs on ram clears
Post by: Eeems on August 13, 2011, 11:24:15 pm
Finally got around to updating to it :) No bugs so far, hopefully I wont find any :P
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on August 14, 2011, 01:37:46 am
So I was reading through the readme (http://www.ticalc.org/cgi-bin/zipview?83plus/flash/programs/zstart.zip;zStart%20v1.3/readme.txt) (yay it was updated!) and I noticed this:
Quote from: zStart readme
Shell: This is the shell used to run asm programs, if you leave it at None, there is a chance
   That certain games that need a shell will crash. (I included the ION libraries, but for the Mirage and DCS libraries, you actually have to have them on your calc.)
and remembered this
Quote from: CalcUtil readme http://www.ticalc.org/cgi-bin/zipview?83plus/flash/programs/calcutil.zip;readme.txt
TinyCarZ crashes upon exit, if a level is unarchived while playing the game.  The cause of this crash is unknown, but may be due to MirageOS-specific coding, since the author says the game doesn't work in CrunchyOS either.

So if I select "MirageOS" as a shell and run from homescreen, this problem is negated?

Spoiler For offtopic edit:
btw made the zStart userbars, just used various options as the background :P
(http://www.omnimaga.org/index.php?action=dlattach;topic=8057.0;attach=9026;image)
http://ourl.ca/10654/233688
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 14, 2011, 11:06:46 am
Unless tiny carz does something ridiculous, it should work fine. The only thing I can think of that would do that would be if tiny carz uses mirage's instant return feature, at which point, something strange is going to happen. The only way to know would be to test it though.

Also, cool userbar, replace user with developer and it'll be in my sig. I'm interested to see just how many  people use zStart.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on August 14, 2011, 11:46:39 am
Nice userbar, Darl.  Thanks. ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on August 14, 2011, 07:26:33 pm
I've been using 1.3.000 for a bit now and have now deleted CalcUtil.

Does this play nicely with Krolypto too?  school's starting soon and one can't be too careful x.x

Spoiler For @thepenguin:
userbar you asked for.
http://www.omnimaga.org/index.php?action=dlattach;topic=8057.0;attach=9034;image
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 14, 2011, 10:06:01 pm
I've been using 1.3.000 for a bit now and have now deleted CalcUtil.

Does this play nicely with Krolypto too?  school's starting soon and one can't be too careful x.x

I think it will work nicely with Krolypto, just be sure you run Krolypto after you run zStart (though the reverse would be tough.) The reason is that zStart doesn't really destroy any normal hooks. If I use a temporary hook, like getCSC, I always back up the original. So Krolypto might disable something in zStart, but zStart shouldn't disable Krolypto.

If you're super awesome, you could make a program that calls the "Install" address within Krolypto that runs on ram clears. Or, if you slightly less awesome, you could have Krolypto run on ram clears. (Making that program isn't really that hard in fact, 5 minutes with wabbitemu, then 5 minutes of programming and you should be done.)

Edit:
    Krolyto doesn't work at all like Omnicalc, it doesn't keep an appvar and it doesn't have an "Install all" hook, it just installs stuff individually. So you're probably best to have the actual app just run on ram clears.
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on August 15, 2011, 05:21:13 pm
The run on home option appears to break the Basic Menu( command. It always gives Label errors even if the label is valid.

EDIT:
The calculator froze when I was at the bottom of the program and selected bottom from the ON+Vars lbl menu.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 15, 2011, 07:19:34 pm
The run on home option appears to break the Basic Menu( command. It always gives Label errors even if the label is valid.

EDIT:
The calculator froze when I was at the bottom of the program and selected bottom from the ON+Vars lbl menu.

Noooooooooooooooooo. Darn, not bug proof. I'm not sure why the first one happens, but it's definitely true. The second one only happens if you are at the start of the last line though.

Also, I figured out that you can't edit programs in math print.


So... I guess that means there will be a 1.3.001, however, I'm going to wait a bit to release it, because I want to catch all of the errors. (I didn't find this stuff because I use basic at most once every two months)
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on August 16, 2011, 01:31:49 am
Quote
Making that program isn't really that hard in fact, 5 minutes with wabbitemu, then 5 minutes of programming and you should be done.
Unless there would be a way to do it in axe, it would be more like 5 weeks for me (or about 20 minutes of poking somebody on IRC :P )

Also zStart and Krolypto don't play well together.  Installing Krolypto blocks zStart stuff (such as on+vars) (tho running asm programs from homescreen still works).
Then I open zStart to re-enable stuff and krolypto is taken out.

So um..idk.  Atm I'll prioritize and just uninstall krolypto...
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on August 16, 2011, 02:13:29 am
(I didn't find this stuff because I use basic at most once every two months)
Me too, happened to use it at the right time I guess...
Title: Re: zStart - an app that runs on ram clears
Post by: selectcoaxial on August 18, 2011, 07:39:48 am
There's a big bug with the Mathprint division thing, which most of the time crashes my calculator and some other times divide the screen into half, and the cursor blinks at the middle while everything else fill in the upper half of the screen. It's like you have Horiz on but worse. This bug only happens with Alpha F1, n/d, both in Mathrpint mode and in CLASSIC mode. Other Mathprint stuff is fine.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on August 18, 2011, 10:17:34 am
This is Mathprint's fault. I also have that bug even though I don't use zStart.

EDIT: I now use zStart
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 18, 2011, 10:28:47 am
There's a big bug with the Mathprint division thing, which most of the time crashes my calculator and some other times divide the screen into half, and the cursor blinks at the middle while everything else fill in the upper half of the screen. It's like you have Horiz on but worse. This bug only happens with Alpha F1, n/d, both in Mathrpint mode and in CLASSIC mode. Other Mathprint stuff is fine.

Yeah, this is actually hardware related, though, we're really not sure how. What's the serial number on the back of your calculator? Somehow Ti messed up pretty bad.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on August 24, 2011, 03:52:34 am
The run on home option appears to break the Basic Menu( command. It always gives Label errors even if the label is valid.
I also have this bug, plus two other ones :/:
Phoenix IV doesn't want to launch, sometimes. It freezes the calc, or displays the ship and all then freezes or just shut down the calc (it even shut it down without making RAM cleared, once). Removing "Stats wizard" made it work well then it screwed up back ???. It is a MirageOS prog and I set DoorsCS as the shell option, if that helps resolving the problem.
Also, the displayed pic at the beginning worked well until yesterday: the contrast was not set right and the "top of the screen" was at 1/3 from the top, until I Ram clear.

Don't worry, this is still a great work you have done ;D
Title: Re: zStart - an app that runs on ram clears
Post by: annoyingcalc on August 24, 2011, 03:53:47 am
Oh no wonder phoenix would not run!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 24, 2011, 12:50:16 pm
The run on home option appears to break the Basic Menu( command. It always gives Label errors even if the label is valid.

Yeah, I know, I need to let them accumulate a little. I want 1.3.001 to fix all the bugs.

Quote
I also have this bug, plus two other ones :/:
Phoenix IV doesn't want to launch, sometimes. It freezes the calc, or displays the ship and all then freezes or just shut down the calc (it even shut it down without making RAM cleared, once). Removing "Stats wizard" made it work well then it screwed up back ???. It is a MirageOS prog and I set DoorsCS as the shell option, if that helps resolving the problem.

I'm not sure what's going on there. Phoenix works for me with DCS. Do you have the latest DCS? This is Pheonix 4.0 By Patrick Davidson correct?

Quote
Also, the displayed pic at the beginning worked well until yesterday: the contrast was not set right and the "top of the screen" was at 1/3 from the top, until I Ram clear.

That's really strange. One thing it could be is that your More>Hardware>Get Delay is set way too low, but that's probably not it. Since you have two strange errors, trying deleting the appVar and starting fresh. Maybe something weird happened to it.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on August 25, 2011, 03:41:45 am
Quote
I also have this bug, plus two other ones :/:
Phoenix IV doesn't want to launch, sometimes. It freezes the calc, or displays the ship and all then freezes or just shut down the calc (it even shut it down without making RAM cleared, once). Removing "Stats wizard" made it work well then it screwed up back ???. It is a MirageOS prog and I set DoorsCS as the shell option, if that helps resolving the problem.

I'm not sure what's going on there. Phoenix works for me with DCS. Do you have the latest DCS? This is Phoenix 4.0 By Patrick Davidson correct?
I use DCS 7.1.1, I think (according to the readme). And yes, it is that Phoenix.

Yeah, I know, I need to let them accumulate a little. I want 1.3.001 to fix all the bugs.
You could do 1.3.000.01 :P
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on September 02, 2011, 07:29:06 pm
Krolyto doesn't work at all like Omnicalc, it doesn't keep an appvar
It keeps a hidden appvar. How else could it store information?
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on September 05, 2011, 10:16:32 pm
In the program edit list, if you press a number key to edit an archived program, it gives err:archived. You have to select with enter to edit archived programs. Don't know if this is a bug or not.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on September 06, 2011, 01:34:12 am
I'm still having troubles with the label menu...only things installed are Axe, omnicalc thru zStart, and zStart itself.

Running archived source program from homescreen then opening up the label menu starts it, then when you go to scroll around it does fun stuff :P
(noting that opening it from the edit menu does not glitch)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 06, 2011, 07:34:46 pm
In the program edit list, if you press a number key to edit an archived program, it gives err:archived. You have to select with enter to edit archived programs. Don't know if this is a bug or not.

I know about that, it's fixable, I just might not have the space. The reason why it doesn't work though is absolutely not a glitch, it's just a feature not supported that you would assume is ;D

I'm still having troubles with the label menu...only things installed are Axe, omnicalc thru zStart, and zStart itself.

Running archived source program from homescreen then opening up the label menu starts it, then when you go to scroll around it does fun stuff :P
(noting that opening it from the edit menu does not glitch)

Hmm... This is probably an indirect glitch caused by not opening the program editor properly. I'm not exactly sure what causes it yet, but I'll try to figure it out.
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on September 06, 2011, 07:39:18 pm
I've also noticed that if I recall a string into a program, and open the label menu and jump to another label and try to scroll to another part of the program, the cursor moves off-screen and my calculator ensuingly crashes.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on September 06, 2011, 09:52:44 pm
Feature Request:
A catche of older versions of the program you're currently editing in the archive.  This would be cleared every time you GarbageCollect, but it'd still be nice in case you completely screw up the program you're editing and would like to go back to a previous version of it.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 07, 2011, 09:19:40 am
Ooooh, i'd like that. I've done that loads of times. Could there be an option to have them stored as appvars?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 07, 2011, 03:59:35 pm
I've also noticed that if I recall a string into a program, and open the label menu and jump to another label and try to scroll to another part of the program, the cursor moves off-screen and my calculator ensuingly crashes.

Probably related to the previous problem. Something strange must happen to the edit buffer.

Feature Request:
A catche of older versions of the program you're currently editing in the archive.  This would be cleared every time you GarbageCollect, but it'd still be nice in case you completely screw up the program you're editing and would like to go back to a previous version of it.

That's not that hard to do, though, it will have to wait for me to go multi page.

Ooooh, i'd like that. I've done that loads of times. Could there be an option to have them stored as appvars?

;D I don't think you quite understood exactly why zTrumpet's was possible. Every time you unarchive something, it isn't actually deleted from flash, the deleted program just sits there. zTrumpet wants a program that shows you all of those deleted programs. What you are asking would quickly fill up your archive with appvars and not only would you garbage collect twice as fast as usual, after each garbage collect, you'd only have 1/2 the memory you had the previous time. This would continue until you are out of space, then you'd have to do some major deleting.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on September 07, 2011, 07:07:42 pm
Would it be possible to retain the last five versions of a program through GarbageCollects?  This would probably be sufficient, though I didn't request it earlier because I figured it'd be hard to pull off. :-\
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 07, 2011, 07:29:23 pm
Would it be possible to have an option to turn these deleted versions into nondeleted Appvars?
Title: Re: zStart - an app that runs on ram clears
Post by: calcdude84se on September 08, 2011, 12:49:37 am
Would it be possible to have an option to turn these deleted versions into nondeleted Appvars?
In-place, no. A new appvar would have to be created with a copy of the contents. (Note that "turn ... into" implies in-place)
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on September 08, 2011, 02:24:21 am
Would there be a way to select lists and matrices so they can be copied to the current text buffer?  It always bugged me how TI was too lazy to do it themselves.  
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on September 08, 2011, 04:04:07 am
continuing on with the whole "revert to a previous file version" topic, what would be really nice is an option, after having finished editing an archived program, to either get rid of the changes you made (in case you accidentally cleared something important) or save it back to the archive. there was some app or other that had that feature, and i was disappointed when Doors didn't.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on September 08, 2011, 06:56:00 am
continuing on with the whole "revert to a previous file version" topic, what would be really nice is an option, after having finished editing an archived program, to either get rid of the changes you made (in case you accidentally cleared something important) or save it back to the archive. there was some app or other that had that feature, and i was disappointed when Doors didn't.
CalcUtil allows this, although so does zStart.  In zStart, you pull a battery if you don't want to save changes (and you're editing from archive and have all your important stuff in archive as well).
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 08, 2011, 10:32:54 am
Would it be possible to have an option to turn these deleted versions into nondeleted Appvars?
In-place, no. A new appvar would have to be created with a copy of the contents. (Note that "turn ... into" implies in-place)
I meant as a copy. Quit inferring things! :P
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on September 12, 2011, 07:44:51 pm
Alright, this new version is awesome.  Why didn't I upgrade sooner?!
Thanks, thepenguin, again. :D

Edit: Basic's Menu( command is acting up.  It's giving me an Err: Lbl and once it filled my homecreen with the black dot character (I believe it is FFh).
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on September 12, 2011, 10:21:04 pm
I think the best idea for recovery is to have only the changes be saved into an appvar - that is, "diff" the old and new programs, and then save the changes into the appvar. When the developer needs to revert, zStart just reads the appvar and reverses the changes. That way, if you're writing a 10k BASIC program, you're not backing up 10k.

Speaking of "10k programs", it may also be a good idea to have a keyhook while editing the program or in the edit menu to select which programs to keep track of. Of course, there are people who may wish to simply backup everything, so perhaps an option in the zStart app whether to backup selectively or all? (Maybe even whitelist/blacklist! OK, that's probably overkill... :P)

Also, a feature suggestion - virtual desktops! (Or multiple desktops!)
OK, calculators are not desktops, but what if you could switch between homescreen states? Or even save them?
Here's an example:

I'm in AP Chem, and I have this on my screen.
(http://clrhome.org/resources/homer/?t=Ans*%286.022*10^23%29%0D%0A++++++++2.601%C3%8025%0D%0A%281.008*2%29%2B%2816*2%29%0D%0A++++++++++34.016%0D%0A%C3%A0)
I just finished class, and am now moving on to AP Physics. I made a mistake on my HW, so I'd like to see what I did last night. *presses [ON] + [->]* Ahh, here we go...
(http://clrhome.org/resources/homer/?t=0.5*%28-9.8%29*%2820^2%29%0D%0A+++++++++++-1960%0D%0AAns%2B2000%0D%0A++++++++++++++40%0D%0A%C3%A0)

OK, period's over! Now for AP Calc... *presses [ON] + [->]*
(http://clrhome.org/resources/homer/?t=sin%2890%29%0D%0A+++++++++++++++1%0D%0A%28%28-2%29^2%29%2B5%28-2%29%2B3%0D%0A++++++++++++++-3%0D%0A%C3%A0)

Oh hey, there's study hall! Let's whip out some Axe! *presses [ON] + [GRAPH], selects "Dev. Screen"* (this is subject to change)
(http://clrhome.org/resources/homer/?t=Asm%28prgmAXEPRGM%0D%0A++++++++++++Done%0D%0AprgmAXEPRGMS%0D%0A++++++++++++Done%0D%0AAsm%28prgmAXEPAINT%0D%0A++++++++++++Done%0D%0A%C3%A0)

...and so on. I'll admit that those examples are pretty stupid, but you get the gist of the idea.
The entries should be saved as well, not just the screen.

What are your thoughts?

P.S. - while I was looking up your README for non-hooked combos, I found a ZStart clone! ;)
http://www.ticalc.org/archives/files/fileinfo/219/21953.html

EDIT: Oh, and these gorgeous screenshots are provided by http://clrhome.org/resources/homer/! :) A bit buggy atm, as you might tell, but nevertheless handy to use. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on September 12, 2011, 10:48:30 pm
Is it possible to make a shortcut to compile with axe inside the program editor. When I'm done making changes, it'd be nice if I could compile from the editor instead of going to the program's name in the editor again.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on September 12, 2011, 10:53:09 pm
a feature suggestion - virtual desktops! (Or multiple desktops!)
OK, calculators are not desktops, but what if you could switch between homescreen states? Or even save them?
[...]
...and so on. I'll admit that those examples are pretty stupid, but you get the gist of the idea.
The entries should be saved as well, not just the screen.
What are your thoughts?
This might do-able...?  Maybe as simple as saving the entries menu somewhere and execute the lines, simulating homescreen activity (tho not running programs, that could get annoying really fast XD)
Title: Re: zStart - an app that runs on ram clears
Post by: Broseph Radson on September 12, 2011, 11:07:16 pm
Is it possible to make a shortcut to compile with axe inside the program editor. When I'm done making changes, it'd be nice if I could compile from the editor instead of going to the program's name in the editor again.
Quigibo would have to create an axe entry point if he hasn't already, but yes its possible
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on September 13, 2011, 12:02:40 am
There's already an entry point because you can press ON+Enter in the program edit menu with zstart. I'm just wondering how hard it would be with all the edit stuff being open.
Title: Re: zStart - an app that runs on ram clears
Post by: Broseph Radson on September 13, 2011, 08:38:36 am
Oic wat you mean lol
It should be possible from the editor
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on September 13, 2011, 03:36:11 pm
I made an interesting font. It's based off one of my favorite fonts, which just happens to be my new coding font: Cloister Black.
Spoiler For Cloister Black in VS:
(http://img.removedfromgame.com/imgs/VisualStudioCloisterBlack.png)

I still need to do some of the symbols, but I worked really hard on it and wanted to post it.

a feature suggestion - virtual desktops! (Or multiple desktops!)
OK, calculators are not desktops, but what if you could switch between homescreen states? Or even save them?
[...]
...and so on. I'll admit that those examples are pretty stupid, but you get the gist of the idea.
The entries should be saved as well, not just the screen.
What are your thoughts?
I dunno how doable this would be, but I think it would be really awesome.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 13, 2011, 03:50:17 pm
virtual desktops! (Or multiple desktops!)

The main problem I have with that is that the homescreen doesn't really even remember that much. For instance, an AP chem test half way though the year will easily take the equivalent of 4 homescreen buffers. So I think to do this, I would have to increase the OS's command history.

And of course, this would create a whole new area of the extra memory that people can't touch, and that would be no fun ;)

Is it possible to make a shortcut to compile with axe inside the program editor. When I'm done making changes, it'd be nice if I could compile from the editor instead of going to the program's name in the editor again.

I didn't do that because the program editor is not a friendly place. Yes, I could close the currently editing program and compile it, but reopening the program seamlessly would not be easy at all.

A very effective alternative would be: Set a compile shortcut for that program (ON + nuimber in edit menu). Then, whenever you quit the program, just press that shortcut on the homescreen. Of course this isn't quite as nice for single use programs, but, it's as nice as I can make it without some serious hacking.

I made an interesting font. It's based off one of my favorite fonts, which just happens to be my new coding font: Cloister Black.

How on earth do you code with that? :D But I am glad to see a custom font.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on September 13, 2011, 05:55:45 pm
I had another weird bug today:
I assigned a Basic program to a shortcut key.  I then ran it.  This is what happened:

(http://img.removedfromgame.com/imgs/zStartHorseRacGlitch110913.gif)

As you can tell, it showed quotes around every output (and maybe display) when ran from a shortcut.  Running it from the homescreen didn't cause this affect.  What's going on?

Edit: The program in question is this one, though I suspect it happens with all Basic programs: http://ourl.ca/4276/79683
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 14, 2011, 12:14:35 am
nice. I should upload some more of my fonts.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 17, 2011, 10:04:36 am
[Feature Wishlist]
-Allow Symbolic (http://www.detachedsolutions.com/symbolic/)
-Allow Graph3 (http://www.detachedsolutions.com/graph3/)
-Make the ability to run GUIs (read spoiler for more informations about what I think about)
Spoiler For the spoiler:
The user makes a program or an App in Axe or ASM and some specific commands (that you'll have to tell us about) could call a part of zStart's code to run progs or archive all (for example). Some sort of a shell without libs that runs zStart libs or something. Does that sound impossible ? Because I really like MirageOs' Command Prompt but now I'm used to zStart's speed :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 17, 2011, 01:01:07 pm
[Feature Wishlist]
-Allow Symbolic (http://www.detachedsolutions.com/symbolic/)
-Allow Graph3 (http://www.detachedsolutions.com/graph3/)
-Make the ability to run GUIs (read spoiler for more informations about what I think about)

Official support for graph3 and Symbolic would be pretty tough because I'd have a mess with the hook chaining. However, what you want to do isn't hard.

You would make a program like this.
Code: [Select]

ld hl, symbolicName
rst 20h
bcall(_findApp)
jr c, noSymbolic

ld hl, $43B7
bcall(_enableRawKeyHook)
ld hl, $43E1
bcall(_enableTokenHook) ;straight from symbolic
ld hl, $47D0
bcall(_enableParserHook)

noSymbolic:
ld hl, graph3Name
rst 20h
bcall(_findApp)
jr c, noGraph3

ld hl, $4083
bcall(_enableYEquHook) ;straight from graph3
ld hl, $4087
bcall(_enableWindowHook)
ld hl, $408B
bcall(_enableGraphHook)
ld hl, $408F
bcall(_enableAppChangeHook)

noGraph3:
ret

symbolicName:
.db appObj, "Symbolic " ;the apps probably have spaces
graph3Name: ;  after their names
.db appObj, "Graph3   "


And then make it "Run on zStart" with ON + 0. I attached an assembled version.


Quote
-Make the ability to run GUIs (read spoiler for more informations about what I think about)

I think you mean APIs, (application programming interface) and yes I've thought about it. It wouldn't be hard at all, but it would have to be after I go two pages due to the space it would take.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 17, 2011, 02:07:44 pm
You would make a program like this.
Code: [Select]
/cut

And then make it "Run on zStart" with ON + 0. I attached an assembled version.

This will install the hooks of the apps when I quit zStart, right ? And this will not interfere with zStart's hooks (because installing Symbolic kills zStart's hooks: I can't run archived progs) ?

Quote
-Make the ability to run GUIs (read spoiler for more informations about what I think about)

I think you mean APIs, (application programming interface) and yes I've thought about it. It wouldn't be hard at all, but it would have to be after I go two pages due to the space it would take.
Er.. Maybe it is called API, I don't know. Maybe UCI, too ??? I saw too much names X(
Anyway, can't wait to see it done :)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 17, 2011, 02:10:41 pm
You would make a program like this.
Code: [Select]
/cut

And then make it "Run on zStart" with ON + 0. I attached an assembled version.

This will install the hooks of the apps when I quit zStart, right ? And this will not interfere with zStart's hooks (because installing Symbolic kills zStart's hooks: I can't run archived progs) ?

Yeah, I forgot about that, Symbolic has a parser hook which is the basis of how it works, as of now, the best thing I can say without getting super complicated would be to run programs with ON + Enter. Sorry about that.

Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on September 18, 2011, 06:52:37 pm
When do you think you'll have a chance to look at the Basic issues?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 18, 2011, 06:56:55 pm
Well, I must answer with eventually. I work on stuff in phases, so when this pops back up, you'll see a ton of updates.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 20, 2011, 12:19:03 am
I have a suggestion.
On the font view screen (the one that appears when you press ALPHA whilst editing a char) you currently clear and then refill the screen whenever the cursor is moved. I came up with a way to fix that.
Instead of clearing the screen every time, all you have to do it print the char and the char to its left in black-on-white, then move the cursor, then do whatever!
I even wrote an Axe program that'll do it!
Lemme know if you'd like it. :)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 20, 2011, 03:32:12 pm
I have a suggestion.
On the font view screen (the one that appears when you press ALPHA whilst editing a char) you currently clear and then refill the screen whenever the cursor is moved. I came up with a way to fix that.
Instead of clearing the screen every time, all you have to do it print the char and the char to its left in black-on-white, then move the cursor, then do whatever!
I even wrote an Axe program that'll do it!
Lemme know if you'd like it. :)

I know that ;D. Maybe you should hear the background behind the font editor. When I first made it, I figured people would just press +/- and *// to navigate. Then, I got the awesome idea to display all the characters and let you pick one. Of course, since this was just a menu, I didn't spend that much time on it. It did it's purpose, and I was happy with it. When I made it, I didn't think many people would use it.

Now however, I realized that everyone uses the chart every time and no one uses the controls I added. (look at those absolutes) This also explains why the editor starts out editing, and not viewing the list.

Now you know.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 20, 2011, 06:49:25 pm
I have a suggestion.
On the font view screen (the one that appears when you press ALPHA whilst editing a char) you currently clear and then refill the screen whenever the cursor is moved. I came up with a way to fix that.
Instead of clearing the screen every time, all you have to do it print the char and the char to its left in black-on-white, then move the cursor, then do whatever!
I even wrote an Axe program that'll do it!
Lemme know if you'd like it. :)

I know that ;D. Maybe you should hear the background behind the font editor. When I first made it, I figured people would just press +/- and *// to navigate. Then, I got the awesome idea to display all the characters and let you pick one. Of course, since this was just a menu, I didn't spend that much time on it. It did it's purpose, and I was happy with it. When I made it, I didn't think many people would use it.

Now however, I realized that everyone uses the chart every time and no one uses the controls I added. (look at those absolutes) This also explains why the editor starts out editing, and not viewing the list.

Now you know.
Ah ok. Can you still implement it though? The flicker drives me nuts. It messes with my head, man! O.O
Title: Re: zStart - an app that runs on ram clears
Post by: mrmprog on September 23, 2011, 10:16:02 pm
Wow... I tried zstart for the first time today, and I have to say, this is awesome. Everything works smoothly, and I haven't had any crashes. I especially love the fonts/omnicalc stuff. This is very well made, good job.
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on September 23, 2011, 10:21:48 pm
You would make a program like this.
Code: [Select]
/cut

And then make it "Run on zStart" with ON + 0. I attached an assembled version.

This will install the hooks of the apps when I quit zStart, right ? And this will not interfere with zStart's hooks (because installing Symbolic kills zStart's hooks: I can't run archived progs) ?

Yeah, I forgot about that, Symbolic has a parser hook which is the basis of how it works, as of now, the best thing I can say without getting super complicated would be to run programs with ON + Enter. Sorry about that.
I should mention that Symbolic is usually automatically installed with Omnicalc. I think Symbolic registers itself within Omnicalc. When I clear RAM, Symbolic is already installed. The main concern is with hook hijacking (Symbolic and parser hooks)...
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 23, 2011, 10:36:52 pm
Oh! UnArchive prgm and Archive prgm don't work. it just tries to run the program.
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on September 24, 2011, 12:39:25 am
Sometimes when I try to edit an archived program, it just goes to the homescreen and displays done.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on September 24, 2011, 12:54:40 am
I'm still having troubles with the label menu...only things installed are Axe, omnicalc thru zStart, and zStart itself.

Running archived source program from homescreen then opening up the label menu starts it, then when you go to scroll around it does fun stuff :P
(noting that opening it from the edit menu does not glitch)
Not sure if this is fixed already, but lately while editing from the homescreen, label jumping works correctly about 1 out of, say, 20 times..?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 24, 2011, 11:15:06 am
Umm... Looks like I'll be fixing attempting to fix this pretty soon. But thanks for all of the reports.

I'll probably start working on this after I fix the impossible game. That game is just too cool to throw away my current motivation for it.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on September 26, 2011, 08:17:35 pm
Hm, apparently I never uploaded the font I made :P
Have fun :)
EDIT: screwed up on the colon/semicolon, not getting rid of old changes.  Fixed.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 30, 2011, 10:38:14 am
You seem to make the assumption that a label is always at the start of a line, which causes some interesting glitches when you have
.Lbl FOO
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 30, 2011, 03:03:35 pm
You seem to make the assumption that a label is always at the start of a line, which causes some interesting glitches when you have
.Lbl FOO

I know, I think somewhere I mentioned that. The problem is calculating where the cursor should actually be. There's probably a bcall to do that, however, I have no idea what it is. (Definitely undocumented)

I just look at is as since : is the same number of bytes as a return, you might as well make a return if you're going to jump to your label.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on September 30, 2011, 03:20:18 pm
Bug:  you have zstart and a MP os. If you get into prgm editor by syntax error in an axe program, if you do alpha up/down, everything looks screwy.

that is the best description i can give.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on October 01, 2011, 10:55:28 pm
Feature idea:
Fast graphing - Doesn't update the screen until all the functions are drawn on the graph or after each function's drawn giving graphing a big speed boost.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 02, 2011, 02:42:01 am
Feature idea:
Fast graphing - Doesn't update the screen until all the functions are drawn on the graph or after each function's drawn giving graphing a big speed boost.
Good idea :D
Or update the screen every two or three pixels, so we see each function being drawn but faster (don't know if this is possible ???)

Bug:  you have zstart and a MP os. If you get into prgm editor by syntax error in an axe program, if you do alpha up/down, everything looks screwy.
This doesn't happen to me ???
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on October 02, 2011, 01:39:45 pm
It has to do with how the program editor opens, it happens to me too in 2.43.  (I'm guessing it's the same thing that happens when you run an archived program, get err:syntax, jump to a label and scroll around)
I think he's looking into how to make it open the editor correctly or something.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on October 02, 2011, 01:44:38 pm
I found this out because very often i am not allowed to edit programs with prgm, right, select.
Not sure if that is zstart though.
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on October 02, 2011, 01:52:40 pm
Feature idea:
Fast graphing - Doesn't update the screen until all the functions are drawn on the graph or after each function's drawn giving graphing a big speed boost.
And, to make this even better, perhaps restoring the previous window and graph settings upon a RAM clear?

Also, I've noticed the label menu doesn't handle a lowercase L at all, it just skips it. So if I had a label named
Code: [Select]
Lbl SmlIn the label menu it would show up as
Code: [Select]
Snm
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 02, 2011, 05:29:52 pm
Oh, zStart crashes nspires with the 84 keypad
And isn't zstart supposed to let you jump to the source of the problem when Axe has an error? If so, it's not working for me.
Title: Re: zStart - an app that runs on ram clears
Post by: mrmprog on October 02, 2011, 05:46:14 pm
I noticed that if you press enter without typing anything in the name new font thing, it creates a strange appvar that messes with the mem menu. I encountered it accidentally.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 02, 2011, 05:53:06 pm
The run on home option appears to break the Basic Menu( command. It always gives Label errors even if the label is valid.

Fixed - flag

Also, I figured out that you can't edit programs in math print.

Fixed

The calculator froze when I was at the bottom of the program and selected bottom from the ON+Vars lbl menu.

Fixed

I'm still having troubles with the label menu...only things installed are Axe, omnicalc thru zStart, and zStart itself.

Running archived source program from homescreen then opening up the label menu starts it, then when you go to scroll around it does fun stuff :P
(noting that opening it from the edit menu does not glitch)

Fixed - flagish

I've also noticed that if I recall a string into a program, and open the label menu and jump to another label and try to scroll to another part of the program, the cursor moves off-screen and my calculator ensuingly crashes.

Fixed - flagish

Basic's Menu( command is acting up.  It's giving me an Err: Lbl and once it filled my homecreen with the black dot character (I believe it is FFh).

Fixed - flag

I had another weird bug today:
I assigned a Basic program to a shortcut key.  I then ran it.  This is what happened:

As you can tell, it showed quotes around every output (and maybe display) when ran from a shortcut.  Running it from the homescreen didn't cause this affect.  What's going on?

Fixed - flag

I have a suggestion.
On the font view screen (the one that appears when you press ALPHA whilst editing a char) you currently clear and then refill the screen whenever the cursor is moved. I came up with a way to fix that.
Instead of clearing the screen every time, all you have to do it print the char and the char to its left in black-on-white, then move the cursor, then do whatever!
I even wrote an Axe program that'll do it!
Lemme know if you'd like it. :)

Done

Oh! UnArchive prgm and Archive prgm don't work. it just tries to run the program.

Fixed - worked with any two byte token

Sometimes when I try to edit an archived program, it just goes to the homescreen and displays done.

Fixed

I'm still having troubles with the label menu...only things installed are Axe, omnicalc thru zStart, and zStart itself.

Running archived source program from homescreen then opening up the label menu starts it, then when you go to scroll around it does fun stuff :P
(noting that opening it from the edit menu does not glitch)
Not sure if this is fixed already, but lately while editing from the homescreen, label jumping works correctly about 1 out of, say, 20 times..?

Fixed - flagish

I found this out because very often i am not allowed to edit programs with prgm, right, select.
Not sure if that is zstart though.

Fixed

Also, I've noticed the label menu doesn't handle a lowercase L at all, it just skips it. So if I had a label named
Code: [Select]
Lbl SmlIn the label menu it would show up as
Code: [Select]
Snm

Fixed - TI handles lowercase letter in a terrible way

I noticed that if you press enter without typing anything in the name new font thing, it creates a strange appvar that messes with the mem menu. I encountered it accidentally.

Fixed


However, all of these fixes come at a price. I had to get rid of the safe ram clears. I feel like no one uses them (at least I don't) so they're gone. The reason I needed this is because I was just flat out running out of space.



Oh, zStart crashes nspires with the 84 keypad
And isn't zstart supposed to let you jump to the source of the problem when Axe has an error? If so, it's not working for me.

84+ keypad doesn't surprise me, though, the only thing that should crash it is the grayscale stuff. I don't think I used any undocumented instructions.

I also never planned on going to the source of a problem with axe. If it works, cool. (Though it doesn't sound like it does.)
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 02, 2011, 05:54:54 pm
Uh, I actually use the safe ram clears to fix memory leaks.
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on October 02, 2011, 05:57:35 pm
I used safe RAM clears too! Like when a program messed something up, and I didn't want to lose data while resetting the RAM.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 02, 2011, 05:59:35 pm
Meh, sorry about that.

For an alternative, just press ON+VARS, then clear ram. It won't unarchive your stuff, but still works. (It was either that or having BASIC not work so... ;D)

Edit:
    You guys didn't know it but that routine took up a ton of space.
Title: Re: zStart - an app that runs on ram clears
Post by: alberthrocks on October 02, 2011, 06:01:11 pm
Oooh, how about you write a mini safe RAM clear program that I and Freyaday can hook to [ON]+[num]? :D
I think that would be the best solution! ;)

EDIT: Programs, since one would archive and crash the calc, while another would unarchive the previously unarchived files. While we're at it, could you backup appvars, OS vars, and possibly hooks too? (OK, maybe not hooks :P)
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 02, 2011, 06:06:43 pm
thep, I just noticed a major bug!:
Your sig says 1.3.000 instead of 1.3.001!
AAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHH!/me runs around in circles
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on October 02, 2011, 06:09:04 pm
Yes, new version!  I was wondering when the few bugs would be fixed.  Thank you! ;D

And isn't zstart supposed to let you jump to the source of the problem when Axe has an error? If so, it's not working for me.
Nope, this is an Axe hook.  Press Prgm after getting an error while compiling straight from the Axe app.  I believe (but am not 100% sure) that the source has to be in RAM as well.

Oooh, how about you write a mini safe RAM clear program that I and Freyaday can hook to [ON]+[num]? :D
I think that would be the best solution! ;)
I think this is an awesome idea. :D

By the way, thepenguin, did you ever release the copy/paste program as an external program so people (me!) can use it on their 83+/83+SEs?  I went looking for it the other day but I couldn't find it and couldn't remember if you released it as a stand alone program or not.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 02, 2011, 06:43:13 pm
Oooh, how about you write a mini safe RAM clear program that I and Freyaday can hook to [ON]+[num]? :D
I think that would be the best solution! ;)

Send both of these to the archive and set safeclrr to run on ram clears. Then just run safeclrs to perform the whole operation. I copied the code right from zStart so it should work fine.

It doesn't backup appVars on purpose I believe. If it did, you'd run into weird problems.

By the way, thepenguin, did you ever release the copy/paste program as an external program so people (me!) can use it on their 83+/83+SEs?  I went looking for it the other day but I couldn't find it and couldn't remember if you released it as a stand alone program or not.

Actually, that won't work well at all. The copy/paste uses the extra ram page as scrap space, without that, you wouldn't be able to do much. Also, zStart will work on 83+SE's, the only thing that won't work is running on ram clears, which, honestly, I could do.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on October 02, 2011, 06:53:38 pm
Also, zStart will work on 83+SE's, the only thing that won't work is running on ram clears, which, honestly, I could do.
I have an 83+SE and use it as my Basic coding calc.  I would love to put zStart on it.  Can it be done?  Please? ;D
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on October 02, 2011, 11:34:54 pm
Basic's Menu( command is acting up.  It's giving me an Err: Lbl and once it filled my homecreen with the black dot character (I believe it is FFh).

Fixed - flag
Nope. :(
84+SE running 2.43.  I'll talk to you more about it tomorrow if you like. :)
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on October 03, 2011, 05:46:45 pm
Don't know what causes it, but sometimes when I press on+vars, it clears ram. It puts the text that says "Archiving" at the top right and immediately turns off.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 03, 2011, 07:52:48 pm
Basic's Menu( command is acting up.  It's giving me an Err: Lbl and once it filled my homecreen with the black dot character (I believe it is FFh).

Fixed - flag
Nope. :(
84+SE running 2.43.  I'll talk to you more about it tomorrow if you like. :)

Ok, now I fixed it. What I changed the first time didn't do a thing. I must have messed up while testing it. The problem was since zStart was running the program, the system "App" was kExtApps, which is not what is supposed to be running. In reality, kQuit, which is the homescreen, is supposed to be running. End result, everything is back to normal.

Don't know what causes it, but sometimes when I press on+vars, it clears ram. It puts the text that says "Archiving" at the top right and immediately turns off.

That sounds terrible. The code looks pretty sound, so I turned off interrupts. It does some weird memory stuff so that was probably the cause.

Also, zStart will work on 83+SE's, the only thing that won't work is running on ram clears, which, honestly, I could do.
I have an 83+SE and use it as my Basic coding calc.  I would love to put zStart on it.  Can it be done?  Please? ;D

(http://img.removedfromgame.com/imgs/zstart119.gif)

Edit:
    Don't even try it on an 83+BE, you won't get very far >:D

Edit2:
    Stupid darl breaking all my apps. The label editor now works better, (no more crashing when you press clear), so 1.3.003 is here.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on October 03, 2011, 09:09:12 pm
Quote
Stupid darl breaking all my apps
I feel the love, thep :P

And thanks :D

↓↓ updated userbars
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on October 03, 2011, 11:20:34 pm
Basic's Menu( command is acting up.  It's giving me an Err: Lbl and once it filled my homecreen with the black dot character (I believe it is FFh).

Fixed - flag
Nope. :(
84+SE running 2.43.  I'll talk to you more about it tomorrow if you like. :)

Ok, now I fixed it. What I changed the first time didn't do a thing. I must have messed up while testing it. The problem was since zStart was running the program, the system "App" was kExtApps, which is not what is supposed to be running. In reality, kQuit, which is the homescreen, is supposed to be running. End result, everything is back to normal.
It works!  Thanks! :D

I'll let you know when I put it on my 83+SE. :)
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 05, 2011, 12:08:27 am
I just came up with an idea:
An Undo button.
So, so many times I've accidentally pressed the wrong keys and deleted a line I didn't mean to.
Can this be done, plz?
Or, at the very least, can there be a hook installed that logs the contents of a line when an action is performed that overwrites it, like pressing the CLEAR key or 2nd RECALL
Title: Re: zStart - an app that runs on ram clears
Post by: mrmprog on October 08, 2011, 11:33:42 am
Let's say I want to make a password program with zstart. Am I correct to assume that the "run on start" thing is just like the start up app?


I just came up with an idea:
An Undo button.
So, so many times I've accidentally pressed the wrong keys and deleted a line I didn't mean to.
Can this be done, plz?
Or, at the very least, can there be a hook installed that logs the contents of a line when an action is performed that overwrites it, like pressing the CLEAR key or 2nd RECALL
That would be super handy! I have cleared "pages" of sprite data with on keypress :(

Title: Re: zStart - an app that runs on ram clears
Post by: BalancedFury on October 08, 2011, 11:34:52 am
W8, you can actually restore things with this program?
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on October 08, 2011, 11:53:05 am
no,but maybe later. You really should dload it!!
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on October 08, 2011, 11:54:41 am
This is prolly too big to be in the app, but how about a find/replace?  Is the program editor too unfriendly and/or poorly coded to handle it?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 08, 2011, 04:56:15 pm
Let's say I want to make a password program with zstart. Am I correct to assume that the "run on start" thing is just like the start up app?

No, run on zStart is if you want to add an extension to the app, it's got a lot of rules and only runs when you quit the app/ram clear. The one you want is run on "Turning On", this functions exactly like start-up.

Quote
I just came up with an idea:
An Undo button.
So, so many times I've accidentally pressed the wrong keys and deleted a line I didn't mean to.
Can this be done, plz?
Or, at the very least, can there be a hook installed that logs the contents of a line when an action is performed that overwrites it, like pressing the CLEAR key or 2nd RECALL
That would be super handy! I have cleared "pages" of sprite data with on keypress :(

It wouldn't be that difficult to do, however, it would have to interfere with copy/paste. If you cleared a line, it would then go to the clip board. So while I like the idea of undoing, I think leaving copy/paste as a powerful solution is the best plan of action. The reason I can't do both is purely due to memory constraints, (like physical ram).


This is prolly too big to be in the app, but how about a find/replace?  Is the program editor too unfriendly and/or poorly coded to handle it?

That's totally possible. I can see a little trouble with actually displaying the whole line that the search word is in, but it should be doable. However, when I say doable, this would be >2KB worth of code, so...
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on October 08, 2011, 08:42:04 pm
This is prolly too big to be in the app, but how about a find/replace?  Is the program editor too unfriendly and/or poorly coded to handle it?

That's totally possible. I can see a little trouble with actually displaying the whole line that the search word is in, but it should be doable. However, when I say doable, this would be >2KB worth of code, so...

awesome
Title: Re: zStart - an app that runs on ram clears
Post by: mrmprog on October 08, 2011, 08:54:14 pm
Let's say I want to make a password program with zstart. Am I correct to assume that the "run on start" thing is just like the start up app?

No, run on zStart is if you want to add an extension to the app, it's got a lot of rules and only runs when you quit the app/ram clear. The one you want is run on "Turning On", this functions exactly like start-up.

Ok, Is there any way to turn the calc off while running a program like that? Using an opcode crashes.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 09, 2011, 12:35:31 pm
Ah! Find/replace was what I was gonna ask for next!
About the Undo:
4000 bytes is a little ridiculous for a line.
I have only had one source in my entire coding experience go over 4k, and that's because it consisted of gigantic walls of text. One source! I understand that sources can get a lot bigger, but the point I am trying to make is that, if you have one line that's 4000 bytes long, you really need to rethink your code, even if it's data; one keypress, and thousands of bytes of data are gone. What about halving it? Having half for the undo, and half for the clipboard.
Also, can we please have a button to quit the editor without saving? Or, better yet, have a button that brings up a menu of all the things zStart can do, and one option in that menu is to quit w/o saving.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on October 09, 2011, 01:03:16 pm
Ah! Find/replace was what I was gonna ask for next!
About the Undo:
4000 bytes is a little ridiculous for a line.
I have only had one source in my entire coding experience go over 4k, and that's because it consisted of gigantic walls of text. One source! I understand that sources can get a lot bigger, but the point I am trying to make is that, if you have one line that's 4000 bytes long, you really need to rethink your code, even if it's data; one keypress, and thousands of bytes of data are gone. What about halving it? Having half for the undo, and half for the clipboard.
Also, can we please have a button to quit the editor without saving? Or, better yet, have a button that brings up a menu of all the things zStart can do, and one option in that menu is to quit w/o saving.
Frey makes some really awesome points, and I second them all.  Find and replace, undo, halving the buffer, and a button to bring up an editor menu would all be awesome.  Of course, this would require zStart to become a two page App, which means this: Thepenguin, are you ready to take your amazing one page App and turn it into an even better two page App?
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 09, 2011, 01:32:52 pm
hey, if zStart is gonna be made into a 2Page app, does that mean the return of Safe Ram Clear?
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on October 09, 2011, 01:57:37 pm
I don't think it was removed.

Source: 5 sec ago :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 09, 2011, 02:15:04 pm
Ok, see, the thing is, at this time, I don't plan to make this app two pages. The transition to two pages would be about as big of a change as when I switched over to the new appvar system, which took me 20 hours. Normally, that wouldn't really be too bad for me, but, the problem is, I also have my new android phone which I need to program for. And one of the benefits of programming for my phone is that once I make some awesome apps, I'll have a consistent monthly income just for sitting at home programming. (Btw, I've already put in >1000 hours on zStart ;))

Let's say I want to make a password program with zstart. Am I correct to assume that the "run on start" thing is just like the start up app?

No, run on zStart is if you want to add an extension to the app, it's got a lot of rules and only runs when you quit the app/ram clear. The one you want is run on "Turning On", this functions exactly like start-up.

Ok, Is there any way to turn the calc off while running a program like that? Using an opcode crashes.

I assume that you are doing bcall(_powerOff)? (EF 08 50) You are right, this won't work very well at all. I know you're probably writing this in axe, but the best thing to do would be to make a getCSC hook, return back to zStart, and as soon as the calculator begins to run, the getCSC hook will kick in and from there you can turn off the calculator. (Tell me if you have no idea how to do this, I can probably set you up.)

Ah! Find/replace was what I was gonna ask for next!
About the Undo:
4000 bytes is a little ridiculous for a line.
I have only had one source in my entire coding experience go over 4k, and that's because it consisted of gigantic walls of text. One source! I understand that sources can get a lot bigger, but the point I am trying to make is that, if you have one line that's 4000 bytes long, you really need to rethink your code, even if it's data; one keypress, and thousands of bytes of data are gone. What about halving it? Having half for the undo, and half for the clipboard.
Also, can we please have a button to quit the editor without saving? Or, better yet, have a button that brings up a menu of all the things zStart can do, and one option in that menu is to quit w/o saving.

You are right, there's isn't really much reason to reserve 4000 bytes for copy and paste, I'll cut that in half and give the rest to undo. Quitting without saving is also mind-numbingly simple for me.

But now the real question, what should the shortcut keys be for these? Does undo = [on] + [^] and quit without saving = [on] + [del] sound good? ([on] + [mode] is also an omnicalc shortcut, so I hate to permanently kill it)

I don't think it was removed.

Source: 5 sec ago :P

It was.

Source: I deleted the code.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 09, 2011, 03:01:30 pm
uh, why would you need to kill on+mode?
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on October 09, 2011, 04:10:43 pm
seems i do not have the newest version :P
Title: Re: zStart - an app that runs on ram clears
Post by: mrmprog on October 09, 2011, 06:30:37 pm


Let's say I want to make a password program with zstart. Am I correct to assume that the "run on start" thing is just like the start up app?

No, run on zStart is if you want to add an extension to the app, it's got a lot of rules and only runs when you quit the app/ram clear. The one you want is run on "Turning On", this functions exactly like start-up.


Ok, Is there any way to turn the calc off while running a program like that? Using an opcode crashes.

I assume that you are doing bcall(_powerOff)? (EF 08 50) You are right, this won't work very well at all. I know you're probably writing this in axe, but the best thing to do would be to make a getCSC hook, return back to zStart, and as soon as the calculator begins to run, the getCSC hook will kick in and from there you can turn off the calculator. (Tell me if you have no idea how to do this, I can probably set you up.)

Yeah, I was using EF0850. And I have no idea what you said, so I don't know how to do it. Also, I want to do this in Axe. Thanks loads!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 10, 2011, 12:18:25 pm
uh, why would you need to kill on+mode?

It would kill on+mode in the program editor because my hook would always fire first.


Yeah, I was using EF0850. And I have no idea what you said, so I don't know how to do it. Also, I want to do this in Axe. Thanks loads!

Here's the axe code: (the first time I've actually written serious axe code)
Code: [Select]
:[83 3E 00 FD 77 34 21 00 00 22 88 9B 3E 00 32 8A 9B EF 08 50]->Str1
:Str1+19
:Asm(11 85 98 01 14 00 ED B8 FD 7E 34 32 74 98 2A 88 9B 22 79 98 3A 8A 9B 32 7F 98 EB 23 3E 01 EF 7B 4F)

Sorry for the asm explosion, but, I had no choice. Here's what the asm is doing:
Code: [Select]
hook:
add a, e ;1
ld a, 0 ;2
ld (iy + $34), a ;3
ld hl, 0000 ;3
ld (getCSCHookPtr), hl ;3
ld a, 0 ;2
ld (getCSCHookPtr+2), a ;3
bcall(_powerOff) ;3
;20

asm:
ld de, appBackUpScreen+19
ld bc, 20
lddr
ld a, (iy + $34)
ld (appBackUpScreen+2), a
ld hl, (getCSCHookPtr)
ld (appBackUpScreen+7), hl
ld a, (getCSCHookPtr+2)
ld (appBackUpScreen+13), a
ex de, hl
inc hl
ld a, 1
bcall(_enableGetCSCHook)

I could have made it smaller, but the way it is now, it restores the hook that it kills.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 12, 2011, 11:55:37 am
I found a bug but don't know if it was reported, so I report it.

Spoiler For read if you have time to waste:
Story 1:
I wanted to solve an equation with a basic prog and got ram cleared.
I went to the place of the prog where it had a bug and it happened to be a Stop.
I replaced it with Return and everything is good.

Story 2:
I made a prog with only :Stop in it and it ram cleared.
I made a prog with only :Return in it. It did nothing (expected).
→Conclusion: there is a problem with the Stop token :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 12, 2011, 08:59:56 pm
I will look into that. The good news is that it's a very specific error and it's easy to replicate.
Title: Re: zStart - an app that runs on ram clears
Post by: ralphdspam on October 12, 2011, 09:02:47 pm
I've also had very weird token changes in my program's name.  The last characters changed into an ">", but the program still ran fine.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 12, 2011, 09:10:03 pm
When you edit an archived program, I add $80 to the last letter of the program name. This is so I can have a temporary copy in ram and not make a huge mess by have two instances of the same program.

If you found that program, most likely you exited the program editor without letting the program save. The only way I can think to do this would be to pull your batteries out. But in any case, that program is valid except for the last letter in its name, and if you edit it, when you quit, it will go back to normal.
Title: Re: zStart - an app that runs on ram clears
Post by: mrmprog on October 12, 2011, 09:11:06 pm
Oh! I just realized you made me some Axe stuff! I will go and try it, thanks!
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 13, 2011, 11:18:37 am
Well, I just found this - and it is awesome! But I also have one question and a bug report. So, first of all I downloaded the version on ticalc.org . I wanted to ask what Axe version is there built in. The bug is, that I have as shell DCS enabled, I ran a MirageOS program, which worked normally, but at exiting the ram was cleared, but it wasn't bad due to the run at ram clear of it. ^^ The same thing also happened after Compiling a Axe program into a app. The app was still there, and the mirageos game aswell.
EDIT: I found another bug: It somhow it doesn't copy the temporary program to the normal one if I edit a program from archive.... :(
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 13, 2011, 04:56:01 pm
Well, I just found this - and it is awesome! But I also have one question and a bug report. So, first of all I downloaded the version on ticalc.org . I wanted to ask what Axe version is there built in. The bug is, that I have as shell DCS enabled, I ran a MirageOS program, which worked normally, but at exiting the ram was cleared, but it wasn't bad due to the run at ram clear of it. ^^ The same thing also happened after Compiling a Axe program into a app. The app was still there, and the mirageos game aswell.
EDIT: I found another bug: It somhow it doesn't copy the temporary program to the normal one if I edit a program from archive.... :(

Oh dear, do you have anything else installled? The huge amount of bugs you found at once makes me feel like there is a conflict.

There is no axe version built in, you actually have to have Axe on the calculator. (And it has to be like v0.5 or greater)

I think I know what is causing the Mirage program to crash. The program probably quits in a really funky way that can only be handled by legitimate shells. First of all, does it work when run from DCS, and second, what is the program?

What specifically happened when you compiled the app?

As for not copying the program back, this is where I feel like something else is interfering. Does this happen every time? And are you quitting in a normal manner?


Anyways, if these are all legitimate bugs, I owe you a big thanks for finding them :D
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 14, 2011, 01:21:59 am
Well, to the mirage program, it was ztris, but a crazy version that had some bugs in itself due to multiplayer playing, so maybe that isn't zstarts fault. To the xlib-compiling: after writing app the screen just went blank and when I turned calculater on it said ram cleared. And somehow the editing in archieve works now, I don't know what was the problem before. Maybe the axe thing also works now, i didn't test since editing in archieve works.
EDIT: I just had DoorsCS and Axe installed before.....
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on October 14, 2011, 04:34:32 am
what version of zStart?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 14, 2011, 07:47:12 am
this one (http://www.ticalc.org/archives/files/fileinfo/429/42907.html) But it works somehow now, I don't know what was wrong, just one bug is still there: executing the mirage when beiing in dcs mode program makes a ram clear, but the rest works now! :)
I have got a idea, how to make zstart even more awesome: as in axe 1.0.4 and above you can zoom through programs, it would be cool if a shourtcut e.g. ON+^ would zoom through.
But there is also another thing currently: when you just compile with axe (ON+ENTER) it sometimes zooms instead....
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on October 14, 2011, 08:44:00 am
ON+ENTER = compile? I didnt know :o
Also, label names can be up to 5 letters now, is there any chance that it will be updated?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 14, 2011, 10:18:51 am
ON+ENTER = compile? I didnt know :o
You'll have to enable the axe-feature and it just works if you have the curser on the program and you must be in EDITING menu.

EDIT: I found a bug: With OS 2.43 it doesn't display always the grayscale pic when turning calc on, with OS 2.55MP it worked... :S
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 14, 2011, 02:19:00 pm
I found a bug: With OS 2.43 it doesn't display always the grayscale pic when turning calc on, with OS 2.55MP it worked... :S
??? The picture even works on my TI-83+BE (yes, I am mad :P)
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 14, 2011, 02:46:05 pm
I don't know what I changed......but it works now....wired...... ???
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on October 14, 2011, 02:50:10 pm
You can calibrate or whatever it's called the grayscale, this helps to get rid of the scanlines.
It's always worked or me in 2.43...

(btw I don't know what you mean by zoom but you can natively jump to a letter in the OSes program menu ;))
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 14, 2011, 02:57:04 pm
Well, Axe 1.0.4 and above has a new feature: Zooming through a program instead of compiling. As there are shourtcuts to compile the programs in editing screen, it would be cool if there could also be a shourtcut for zooming it. And it is atm randomly weather it zooms or compiles.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 14, 2011, 04:59:35 pm
Well, Axe 1.0.4 and above has a new feature: Zooming through a program instead of compiling. As there are shourtcuts to compile the programs in editing screen, it would be cool if there could also be a shourtcut for zooming it. And it is atm randomly weather it zooms or compiles.
You're talking about pressing ZOOM to speed up compiling, right?
Title: Re: zStart - an app that runs on ram clears
Post by: Mighty Moose on October 14, 2011, 05:09:05 pm
Actually, I think he is talking about the Goto function (like when you get a TI-Basic error).
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 14, 2011, 05:41:07 pm
I found a bug: With OS 2.43 it doesn't display always the grayscale pic when turning calc on, with OS 2.55MP it worked... :S
??? The picture even works on my TI-83+BE (yes, I am mad :P)

Sorunome's problem is DCS. Go tell kerm to stop destroying ONSCRPT when he doesn't need to.


For Hayleia... I don't even know... There are so many reasons why this shouldn't work. Like, you don't even understand, if you were to ask would it work, my answer would be no, it would never work, ever.[/shock and awe]

After looking into it some more, you just pulled off the craziest hack I've ever seen. Some how, you managed to slip through all of the all of the weird memory maps that I use to pull the picture into the right spot (it doesn't work if the picture is in ram for instance). Then, the strangest part of it all, and the part that I thought was impossible to get around, was the crystal timers. You have managed to evade my crystal timers! And the way you do it is even weirder, your calculator reads data from the LCD thinking it is the crystal timer, and then when it hits a certain byte, it passes the test and continues to draw the picture.

The downsides :(, if you have quite a few of things in ram, it will corrupt them. That amount is miniumum 8811 bytes, but more like 10,000 bytes in practice. Also, there are some pictures that will crash. If the last row of your picture is entirely white, it's going to crash. (It's slightly more specific, but that will do it.)

In all, awesome. zStart is the most anti-83+BE thing I've ever written and you made it work.

I don't know what I changed......but it works now....wired...... ???

Umm... yay?

Well, Axe 1.0.4 and above has a new feature: Zooming through a program instead of compiling. As there are shourtcuts to compile the programs in editing screen, it would be cool if there could also be a shourtcut for zooming it. And it is atm randomly weather it zooms or compiles.

I'll talk to quigibo. He'll fix the problem, and then, hopefully, he'll give me the option to Zoom so I can give you the option to Zoom ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 15, 2011, 03:14:37 am
I don't know what I changed......but it works now....wired...... ???
Umm... yay?
I found out why, I just deleted bouth DCS AppVars, the one in ROM AND the one in RAM.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on October 15, 2011, 04:10:04 am
Thats what he said.
btw, its wether, not weather ( weather = wetter auf Deutsch)
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 15, 2011, 09:14:12 am
Thats what he said.
btw, its whether, not weather ( weather = wetter auf Deutsch)
Hint, hint.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 15, 2011, 09:37:53 am
After looking into it some more, you just pulled off the craziest hack I've ever seen.
-snip-
In all, awesome. zStart is the most anti-83+BE thing I've ever written and you made it work.

O.O I just put zStart on my calc, nothing more.
Yeah ! I'm awesome and I don't know it :w00t:

The downsides :(, if you have quite a few of things in ram, it will corrupt them. That amount is miniumum 8811 bytes, but more like 10,000 bytes in practice.

What ? You mean that if I have less than 10,000 bytes of things in RAM it crashes ? :O
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 15, 2011, 09:48:48 am
Well, here's what happens. I copy the picture to the address $C000. When I do it (on non 83+BE calculators) I put ram page $82 there (the extra one) so no memory is destroyed.

However, your calculator can't do that. When I copy the picture to $C000, I'm literally copying it into your user memory. To understand better, user memory starts at $9D95 and works its way up. After you add 8,811 bytes to that, you are going to start moving into the $C000 region. This means that when the picture displays, it's going to corrupt anything from $C000 and up (well really just to $C600).

Now, the reason that I say the amount of memory is more like 10,000 is because there is other stuff (like the vat) that takes up memory space too. The vat starts at $FC00 (about) and works it's way downwards. So what I am saying is that by the time the lower half of user memory (where your programs and such are stored) makes it up to $C000, the amount of stuff in the vat will be at about 1,200 bytes making your total 10,000.


Wow, that might be the most parenthesis I've ever used.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 15, 2011, 10:54:30 am
I got another idea: Is it somehow possible to get the DCS hooks that you can run calc-net programs? And it would be awesome if the basic libs could also be inserted, it may be that you have to swap between omnicalc and DCS libs with a short-cut key 'cause xLib uses the real( token just as omnicalc also uses it....Well, it would be awesome if that would work.
Title: Re: zStart - an app that runs on ram clears
Post by: mrmprog on October 15, 2011, 04:27:52 pm
 :w00t: The axe code does exactly what I wanted, thanks! Now I can make a password program that will run on RAM clears!
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on October 15, 2011, 05:24:21 pm
What order does zStart do things on a RAM clear?  What action happens first, second, etc (stuff like omnicalc installing, program to be run on RAM clear run, stuff like that)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 15, 2011, 09:48:59 pm
:w00t: The axe code does exactly what I wanted, thanks! Now I can make a password program that will run on RAM clears!

Go to the homescreen, pull a battery, turn it on ;D Sorry about that.

What order does zStart do thins on a RAM clear?  What action happens first, second, etc (stuff like omnicalc installing, program to be run on RAM clear run, stuff like that)


=================== From here down runs when you quit zStart also ========================

=================== From here down only happens on ramclears ==================



Hopefully this clears it all up and you can trace back any problems you might have had or will have. (It also shows just how much crap I have in this app ;D)
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on October 15, 2011, 10:50:03 pm
Ok cool, so it installs stuff before running the program.  So this just might work...
(making a prog to run on ram clears, a basic prog that can automatically restore using omnicalc if desired)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 24, 2011, 08:38:12 am
Feature Wishlist:
Compatibility of the Homerun hook with Grammer progs (of course if we have the Grammer app).
This would be very great :D
Title: Re: zStart - an app that runs on ram clears
Post by: Yeong on October 24, 2011, 09:15:07 am
Let's see which one does it first: DCS7 or zStart XD
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 24, 2011, 10:31:51 am
Feature Wishlist:
Compatibility of the Homerun hook with Grammer progs (of course if we have the Grammer app).
This would be very great :D
I was just about to request that as a feature.... :)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 24, 2011, 12:03:08 pm
I was just about to request that as a feature.... :)
:w00t: first time I ninja someone !!!

Let's see which one does it first: DCS7 or zStart XD
The problem is not who does it first, because Xeda can do it by herself. The problem are the conflicts there will be. And as (in my case) I prefer zStart's hooks, I'd like it to run Grammer progs.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 24, 2011, 02:57:38 pm
If xeda will give me an entry point, I'd be glad to do it.

However, in the grand scheme of things, I'd like to see Grammer get a little bigger before I add support for it. Like I said, I'm pretty low on space and adding in options like this takes a minimum of 100 bytes.


One option that I do like would be to somehow use the "Run on zStart" option to add in a hook to make it work. I don't see that being very difficult.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on October 24, 2011, 05:44:28 pm
can we get the ability to auto-set other defaults? Like how imaginary numbers are dealt with?
Title: Re: zStart - an app that runs on ram clears
Post by: Xeda112358 on October 24, 2011, 05:44:39 pm
In the next version, I will add in these entries:
4085h - This will execute the program named in OP1 if it is a Grammer program.
408Bh - This will check if the program named in OP1 is a Grammer program. It loads in a small call at 8101h, too. It returns nz if it isn't a Grammer program, z if it is (it takes care of checking if it is archived or not)
4088h - This will take care of loading the var to RAM if needed, then it will begin interpreting the code.

So it will probably be more useful to do
Code: [Select]
   call 408Bh
   jr nz,NotGrammerProg
     <<Take care of stuff if it needs to be taken care of>>
     jp 4088h
NotGrammerProg:
   <<Rest of code>>
Will this be helpful, or did you mean something else? And are there any other entries I should add?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 24, 2011, 06:17:00 pm
That looks good to me. I don't even need to 4088h routine. But, the more the merrier I guess.
Title: Re: zStart - an app that runs on ram clears
Post by: Xeda112358 on October 24, 2011, 06:20:44 pm
Cool :) Yeah, it happens to be inline, anyway (the code there looks like "call CompatCall \ jp SelectedProg"
Title: Re: zStart - an app that runs on ram clears
Post by: epic7 on October 29, 2011, 06:04:59 pm
If it runs on ram clears, will it clear my ram? Cuz I dont want that :P

Also, would Dcs7 screw it up?
Title: Re: zStart - an app that runs on ram clears
Post by: mrmprog on October 29, 2011, 06:30:20 pm
If it runs on ram clears, will it clear my ram? Cuz I dont want that :P

Also, would Dcs7 screw it up?
Run on ram clears means that it will activate its settings/run a program/whatever you want when your ram clears.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on October 30, 2011, 01:06:05 am
Also, would Dcs7 screw it up?
Yes, but you can set Doors up not to.  Just go to Doors' options and uncheck the "hooks" option.  If you don't, it won't cause anything bad to happen, just that some of zstart's features won't work.  Oh, and I believe that the statrup picture will never work with Doors because DoorsCS acts stupid.
Title: Re: zStart - an app that runs on ram clears
Post by: epic7 on October 30, 2011, 01:30:50 pm
What do the hooks do?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 30, 2011, 01:34:22 pm
What do the hooks do?
Hooks in general or DCS' hooks ?

   Hooks in general are something that you install "permanently" in your calc (until the next RAM Clear (except if you have zStart (no more parenthesis, I promise))).
   DCS' hooks for example allow you to run archived-asm-programs-that-need-a-shell from the homescreen, as if they were unarchived-basic-programs.
Title: Re: zStart - an app that runs on ram clears
Post by: epic7 on October 30, 2011, 01:36:34 pm
I like that feature...

Ill try zStart and see which one I like better :P
Title: The game, just to see if someone loses
Post by: Hayleia on October 30, 2011, 01:37:25 pm
Ill try zStart and see which one I like better :P
zStart runs the program a lot faster and when quitting, it only writebacks if needed. But it has problems with the "Stop" token in basic.
Title: Re: zStart - an app that runs on ram clears
Post by: epic7 on October 30, 2011, 01:37:59 pm
zStart does the same thing?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 30, 2011, 01:40:25 pm
zStart does the same thing?
Erm, not exactly.
-DCS is a shell.
-zStart is a swiss knife, according to his creator (and I agree).
It is not a shell and needs one to run shell-specific programs but it extends the capacities of your calc to the limit of (can someone tell me how to finish that sentence ?).
Title: Re: zStart - an app that runs on ram clears
Post by: epic7 on October 30, 2011, 02:12:58 pm
I got it, and it doesnt really seem that useful, unless im doin it wrong
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 30, 2011, 02:48:14 pm
I got it, and it doesnt really seem that useful, unless im doin it wrong
Well it depends on the usage you do of your calc. In my case, RAM Clears happen all the time so zStart is useful necessary. But if you don't code for example, then, I agree with you, it is not that powerful (even if the speed gain when launching and quitting a program is awesome). But, one last thing, it doesn't work on a TI 83+, I hope you didn't install it on a TI 83+ D:, did you ?
Title: Re: zStart - an app that runs on ram clears
Post by: epic7 on October 30, 2011, 07:44:55 pm
I Code all the time. I have a ti-83+ so I didnt install run on ram clears.
Title: Re: zStart - an app that runs on ram clears
Post by: annoyingcalc on October 30, 2011, 08:11:04 pm
it is useful and also it is the top ranked file on ticalc.org :o
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 31, 2011, 04:13:37 am
I Code all the time. I have a ti-83+ so I didnt install run on ram clears.
O.O I advise you to remove it from your calc. It was not designed for 83+, but for every other z80 calc, so it will just crash your calc and take up useless space (except if you want the picture on startup :P). Here is a quote from the creator of zStart.

zStart is the most anti-83+BE thing I've ever written.

But if you own a TI 83+SE or a TI 84+ or a TI 84+SE, then I agree with annoyingcalc ;D
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 31, 2011, 10:50:02 pm
zStart runs the program a lot faster and when quitting, it only writebacks if needed. But it has problems with the "Stop" token in basic.

Forgot about that, I should probably fix that.
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on November 02, 2011, 10:25:41 am
i have a ti84+SE, and whenever i have zStart try to compile an axe prog (ON + ENTER on edit page), it causes a ram clear, which is annoying. I always keep everything archived though, and encounter many ram clears.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on November 02, 2011, 04:56:49 pm
i have a ti84+SE, and whenever i have zStart try to compile an axe prog (ON + ENTER on edit page), it causes a ram clear, which is annoying. I always keep everything archived though, and encounter many ram clears.
I think you may be encountering the same problem I have with zStart right now.  After each RAM Clear, try opening zStart's App and then closing it again.  I know it sounds crazy, but it works for me for most stuff.
Title: Re: zStart - an app that runs on ram clears
Post by: Yeong on November 02, 2011, 04:59:17 pm
i have a ti84+SE, and whenever i have zStart try to compile an axe prog (ON + ENTER on edit page), it causes a ram clear, which is annoying. I always keep everything archived though, and encounter many ram clears.
I think you may be encountering the same problem I have with zStart right now.  After each RAM Clear, try opening zStart's App and then closing it again.  I know it sounds crazy, but it works for me for most stuff.
I got the same problem except for that it gave me a install OS message D:
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on November 02, 2011, 05:51:45 pm
Still does the ram clear :'(
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on November 02, 2011, 05:58:46 pm
SOme more bugs:
Basic's feature that displays ans if it is stored to on the last line of the program (:blah:A will display the value of A instead of Done) is broken with zstart
ERR:MEMORY breaks all of zStart's ON+ hooks, and trying to access zStart or the memory menu just sends me to the homescreen
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 02, 2011, 06:06:02 pm
i have a ti84+SE, and whenever i have zStart try to compile an axe prog (ON + ENTER on edit page), it causes a ram clear, which is annoying. I always keep everything archived though, and encounter many ram clears.

Hmm... First a question, does it ever work? If it doesn't, you have too old of an axe version (though, it shouldn't crash). Then, are you using mathprint? Also, does axe actually start? (If axe starts, this is probably quigibo's problem.)

I got the same problem except for that it gave me a install OS message D:

As scary as that looks, it means nothing. It's just a random crash. I would like to know the specific address you have to jump to to get there though, that would be interesting.

SOme more bugs:
Basic's feature that displays ans if it is stored to on the last line of the program (:blah:A will display the value of A instead of Done) is broken with zstart
ERR:MEMORY breaks all of zStart's ON+ hooks, and trying to access zStart or the memory menu just sends me to the homescreen

I have absolutely no idea how I would fix Ans displaying. To me, that sounds close to impossible, so that might have to go down as a permanent bug. But I'll look at it.

When you get an Err:Memory, is it just game over for the calculator? If so, can it be fixed without a ram clear?
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on November 02, 2011, 06:06:52 pm
The ERR:MEMORY occurs when I try to run an ASM program that won't fit in memory
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 02, 2011, 06:08:29 pm
Ok, and it just basically shuts down the calculator?
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on November 02, 2011, 06:10:12 pm
Ok, and it just basically shuts down the calculator?
no. it just gives an ERR:MEMORY and then all the keyhooks are disabled and i can't get to zStart or the mem menu. Everything return to normal if I turn it off and back on though.
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on November 02, 2011, 06:12:13 pm
Here's what happens (ss of wabbit, but does exact same thing on-calc).

Btw, i use Axe 1.0.5 (from ticalc.org).

EDIT: When it goes blank, it freezes, not ram clear. On-calc, it just ram-clears.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 03, 2011, 04:50:56 am
That happend to me also some time, I somehow got around it by resetting everything I think and then resend OS and then put zStart again on.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 04, 2011, 08:39:00 am
I got a nice suggestion: Well to me it sucks that when you clear RAM the OS automaticly creates L1 to L6. Maybe you could make a option to prevent that! :)
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on November 04, 2011, 08:51:48 am
Another suggestion: I always liked the DCS hook that allowed you to immediately APD. it was ON + STAT. (Especially useful in program editor)
Uh, also I would like to be able to change the RAM clear message (you once made a program for it)
I wouldnt care if the app got two pages.
Title: Re: zStart - an app that runs on ram clears
Post by: Yeong on November 04, 2011, 01:05:40 pm
Uh, also I would like to be able to change the RAM clear message (you once made a program for it)
I wouldnt care if the app got two pages.
Me neither. DCS7 is 3 pages. I'll take zstart even though it becomes 2 pages (Axe is 2 pages too and everyone loves it!)
I would like to change ram clear message too, but according to thepenguin77, it will change some other places too (so if you use NOM clear instead of RAM Clear, it will display as NOM free: instead of RAM free)
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on November 04, 2011, 02:20:41 pm
Uh, also I would like to be able to change the RAM clear message (you once made a program for it)
I wouldnt care if the app got two pages.
Me neither. DCS7 is 3 pages. I'll take zstart even though it becomes 2 pages (Axe is 2 pages too and everyone loves it!)
I would like to change ram clear message too, but according to thepenguin77, it will change some other places too (so if you use NOM clear instead of RAM Clear, it will display as NOM free: instead of RAM free)
Better. NOM FTW. ^^
Also, token editor?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 04, 2011, 02:28:28 pm
Another suggestion: I always liked the DCS hook that allowed you to immediately APD. it was ON + STAT. (Especially useful in program editor)
I wouldnt care if the app got two pages.
For this, you can put MirageOS in your calc. Mirage's hooks doesn't conflict with zStart's hooks and you have an option that allows you to APD with Alpha+On.
This will also allow you to block the memory menu from access (do ON+Vars to unlock it via archiving all progs), to use lowercase and to lose your friends into Mirage's command prompt :P

But if you only use it for programming, there is another solution: before quitting, you add a useless label where you are then, jump to it with ON+Vars when you get back to work on it ;)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on November 04, 2011, 03:42:38 pm
Another suggestion: I always liked the DCS hook that allowed you to immediately APD. it was ON + STAT. (Especially useful in program editor)
Uh, also I would like to be able to change the RAM clear message (you once made a program for it)
I wouldnt care if the app got two pages.

Zstart actually has it.  It's like a combination of Doors' and Mirage's ways; hold down On and tap Alpha.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on November 04, 2011, 03:43:50 pm
WHY DIDNT YOU TELL ME EARLIER???
j/k thanks.
huh, doesnt appear to work for me.
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on November 04, 2011, 04:55:06 pm
When i do ON+Vars in prog editor, it glitches up my calc. Ill see if i can take a screenie...
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on November 04, 2011, 06:22:35 pm
Another suggestion: I always liked the DCS hook that allowed you to immediately APD. it was ON + STAT. (Especially useful in program editor)
Uh, also I would like to be able to change the RAM clear message (you once made a program for it)
I wouldnt care if the app got two pages.

Zstart actually has it.  It's like a combination of Doors' and Mirage's ways; hold down On and tap Alpha.
That's omnicalc's hook, not zStart's
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on November 04, 2011, 06:31:28 pm
Another suggestion: I always liked the DCS hook that allowed you to immediately APD. it was ON + STAT. (Especially useful in program editor)
Uh, also I would like to be able to change the RAM clear message (you once made a program for it)
I wouldnt care if the app got two pages.

Zstart actually has it.  It's like a combination of Doors' and Mirage's ways; hold down On and tap Alpha.
That's omnicalc's hook, not zStart's
If only I knew about this before... 0.o

Now that I'm looking for it, turns out it's Omnicalc:
Quote from: http://www.detachedsolutions.com/omnicalc/manual/install.php#mirageos
On+Alpha will power off the calculator but leave it at the current screen for resuming later.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 07, 2011, 06:41:50 pm
I just came up with an idea:
An Undo button.
So, so many times I've accidentally pressed the wrong keys and deleted a line I didn't mean to.
Can this be done, plz?
Or, at the very least, can there be a hook installed that logs the contents of a line when an action is performed that overwrites it, like pressing the CLEAR key or 2nd RECALL

Done - [ON] + [^]

Also, can we please have a button to quit the editor without saving?

Done - [ON] + [DEL]

I found a bug but don't know if it was reported, so I report it.

Spoiler For read if you have time to waste:
Story 1:
I wanted to solve an equation with a basic prog and got ram cleared.
I went to the place of the prog where it had a bug and it happened to be a Stop.
I replaced it with Return and everything is good.

Story 2:
I made a prog with only :Stop in it and it ram cleared.
I made a prog with only :Return in it. It did nothing (expected).
→Conclusion: there is a problem with the Stop token :P

Fixed - This one was a really easy fix, but it was crazy complex. The Stop command was popping the operator stack to some random address and I wasn't getting control back. Solution? bcall(_resetStacks) before running the basic program.

SOme more bugs:
Basic's feature that displays ans if it is stored to on the last line of the program (:blah:A will display the value of A instead of Done) is broken with zstart
ERR:MEMORY breaks all of zStart's ON+ hooks, and trying to access zStart or the memory menu just sends me to the homescreen

Fixed - Now you just can't Goto ;)

Another suggestion: I always liked the DCS hook that allowed you to immediately APD. it was ON + STAT. (Especially useful in program editor)

Done - [ON] + [Stat], though, it doesn't work as well as Omnicalc's since it runs in a different hook. (Mine doesn't work in calcsys for instance)


Official update listing!!:



The best part of all these updates were that I had to optimize like 50 bytes out of my app to fit them all ;D Oh well, I know my code still has room for more updates.

Also, problems that I know of that I kind of plan to fix:


If you notice any graphical glitches within the app, let me know since that is where I cut all the extra space from.
Title: Re: zStart - an app that runs on ram clears
Post by: Yeong on November 07, 2011, 06:45:20 pm
w00 update!
Great job XD
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on November 07, 2011, 11:55:57 pm
Boo-yah! But what do you mean by no goto?
Title: Re: zStart - an app that runs on ram clears
Post by: Yeong on November 08, 2011, 07:03:01 am
maybe Goto command in BASIC? :D
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on November 08, 2011, 07:05:50 am
Penguin, really, we don't care if you create a 2-page-app from it.
Title: Re: zStart - an app that runs on ram clears
Post by: Xeda112358 on November 08, 2011, 07:42:52 am
I'm still planning out the layout of Grammer .___.
But an update to zStart! Awesome!
*downloads*

EDIT: Feature idea: In the font editor, make a button to load the default char data? Like pressing Sto> will load the default TI-OS font as the custom char data
EDIT2: Xeda112358 loves the font features ^-^
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 08, 2011, 03:03:08 pm
Boo-yah! But what do you mean by no goto?

The reason you corrupted your memory was because when it said Error:Memory, you pressed the Goto option which took you to a place it shouldn't have. I just made that menu only show quit now.

Penguin, really, we don't care if you create a 2-page-app from it.

I realize that. You guys don't care. However, a lot of people who don't have the same connection with this app will. A one page app that does all this stuff is amazing. Once you go to two pages, you have to ask the question why is this thing really two pages? and why couldn't the author have made it all fit into one page?

Also, two pages makes things run slower internally. Switching from one page to another isn't exactly easy and it makes the whole organization of code different.
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on November 08, 2011, 03:30:40 pm
Ill pm you my save file today or tomorrow.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on November 09, 2011, 10:33:50 am
0.o awesome update, methinks I'm going to be using some of these things a lot (already used the insta-APD multiple times in the process of writing a program) :P
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 09, 2011, 10:49:24 am
A bug report: In the basic editor it didn't work to press FORMAT (2ND before of cource) and then go to Axes off, when I hit then enter the tolken appeared and behind that were a lot of question marks and there were no more lines after that code. When i exeted via  2ND MODE and then go back in the program is back to normal, just the AxesOff isn't there. I had to acces it via the catalog.
EDIT: I tis aswell with all the other tolkens in that menu
Title: Re: zStart - an app that runs on ram clears
Post by: Yeong on November 09, 2011, 11:19:14 am
zstart seems to collide with DCS7... D:
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 09, 2011, 12:05:50 pm
Feature request:
Draw the functions in Full speed mode *.*
That would be very nice :D
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on November 09, 2011, 02:52:36 pm
Nvm that, had an old version installed by mistake.
Whee, new features! So cool!
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on November 09, 2011, 03:18:17 pm
Feature request:
Draw the functions in Full speed mode *.*
That would be very nice :D
Uh, it already does that in 15mhz (OS is slow)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 09, 2011, 06:20:40 pm
A bug report: In the basic editor it didn't work to press FORMAT (2ND before of cource) and then go to Axes off, when I hit then enter the tolken appeared and behind that were a lot of question marks and there were no more lines after that code. When i exeted via  2ND MODE and then go back in the program is back to normal, just the AxesOff isn't there. I had to acces it via the catalog.
EDIT: I tis aswell with all the other tolkens in that menu

I see the problem there. That menu is a different context, just like the mode menu. The reason it glitches though is because I didn't know that ;D. Also, the problem is really only prevalent in MathPrint, so I didn't notice it.

zstart seems to collide with DCS7... D:

HA! I know. Here are the problems, with solutions:
Title: Re: zStart - an app that runs on ram clears
Post by: JustCause on November 09, 2011, 06:47:22 pm
zStart compatible with DCS? :D Day = made.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on November 10, 2011, 10:40:08 am
Feature request: would it be possible to block PTT and/or the 8+5/8+2 +ON combinations?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 10, 2011, 11:06:55 am
A bug report: In the basic editor it didn't work to press FORMAT (2ND before of cource) and then go to Axes off, when I hit then enter the tolken appeared and behind that were a lot of question marks and there were no more lines after that code. When i exeted via  2ND MODE and then go back in the program is back to normal, just the AxesOff isn't there. I had to acces it via the catalog.
EDIT: I tis aswell with all the other tolkens in that menu

I see the problem there. That menu is a different context, just like the mode menu. The reason it glitches though is because I didn't know that ;D. Also, the problem is really only prevalent in MathPrint, so I didn't notice it.

But I use OS 2.43, and so it doesn't have mathprint! D:

EDIT: I got a nice idea (In program editor): On+Left:Undo     On+Right:forward
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on November 10, 2011, 12:12:22 pm
EDIT: I got a nice idea (In program editor): On+Left:Undo     On+Right:forward
what do you mean by forward?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 10, 2011, 12:15:57 pm
Undo the undo..... like the buttons in paint, i just doen't know how it's called! :S
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on November 10, 2011, 01:23:58 pm
undo and redo would definitely be helpful, but it would end up using a lot of RAM. maybe the command history could be overwritten and used for that purpose? (i have no idea; i'm just spouting ideas).
Title: Re: zStart - an app that runs on ram clears
Post by: epic7 on November 10, 2011, 03:10:25 pm
Why cant this work for 83+?

 :-\  :(  :'( .....
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 10, 2011, 03:20:51 pm
Feature request: would it be possible to block PTT and/or the 8+5/8+2 +ON combinations?

No, TI actually did a pretty good job on those. You can't block them without modifying the OS. However, you can undo PTT through OFFSCRPT or the USB hook, but by that point, your groups are already gone.

But I use OS 2.43, and so it doesn't have mathprint! D:

Meh, still an issue. (I'll fix it)

[quote
EDIT: I got a nice idea (In program editor): On+Left:Undo     On+Right:forward
[/quote]

The problem with that is that that's not at all how I handled the undo. The main problem with the way the TI editor works is that one press of clear and you lose a bunch of data. I fixed that by making the clear button actually copy the line it is erasing. To be able to undo and redo would require an entirely different system. Plus, the system would actually have to be smart ;D

Why cant this work for 83+?

 :-\  :(  :'( .....

Bad Unfavorable hardware



Also, as I wrote this, I remember why I could so easily make room for the undo feature. It's because I overwrote the Mathprint command history! So, try not to delete any 2000 byte long lines of code until I fix that. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 11, 2011, 01:43:49 pm
Another try for a feature request :P
-Some way to block the "Mem Mgmt/Del..." menu from access (to avoid stupid people that would like to delete my progs (yes, people like that may exist)), like a password or something. I tried Sentry but it conflicts with zStart D:
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 11, 2011, 02:26:08 pm
That's already possible in combinization with omnicalc, you can still acces it then but you can neither reset nor delete anything. ;) But what would be cool would be damn! I forgot my feature request! :O
Title: Re: zStart - an app that runs on ram clears
Post by: Stefan Bauwens on November 18, 2011, 04:47:21 am
I'm using 1.3.004 but when I click zStart in the app menu and press 6(Next) the screen gets weirdly shifted and I press 2nd-On and the calc reboots.
I've tried it multiple times and it always crashes there.
Also what exactly is 'Omnicalc'?

EDIT:Forgot to say I used OS 1.19

EDIT2:Wait a second, this doesn't work with the TI-83 plus. Lol, oops. :P
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 18, 2011, 09:47:53 am
Well, Omnicalc (http://www.ticalc.org/archives/files/fileinfo/226/22626.html) is a rather cool app with a lot of functions, for example you have the ability to make a custom menu. Together with Symbolic (http://www.ticalc.org/archives/files/fileinfo/228/22851.html) you'll have even more features. The good thing is that you can insert all the omnicalc hooks with zstart, so symbolic works aswell with it. The bad thing that the project is dead by now... :(
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on November 18, 2011, 10:44:15 am
I'm not sure if it's zStart-related or not, but I'm getting screen glitches on an 84pbe w/2.43.  Even games that normally don't shift around weirdly* are doing it sometimes, such as TinycarZ, Acelgoyobis, Phantom Star, and some others...(the hour-long periods at school are horrible for trying to develop x_x)
Running zStart fixes the problem.  The only apps I have installed are zStart, Axe and Mirage, and that hasn't changed for months but it only started happening recently (maybe since updating to .004?  idk).

*shifting, like, one column at a time, not big chunks of the screen like "normal".  It looks something like a wave effect..
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 18, 2011, 05:19:23 pm
I'm not sure if it's zStart-related or not, but I'm getting screen glitches on an 84pbe w/2.43.  EWven games that normally don't shift around weirdly* are doing it sometimes, such as TinycarZ, Acelgoyobis, Phantom Star, and some others...(the hour-long periods at school are horrible for trying to develop x_x)
Running zStart fixes the problem.  Teh only apps I have installed are zStart, Axe and Mirage, and that hasn't changed for months but it only started happening recently (maybe since updating to .004?  idk).

*shifting, like, one column at a time, not big chunks of the screen like "normal".  It looks something like a wave effect..

Good find, ONSCRPT isn't working properly, I'll have to figure out what I broke. To recreate your glitch, pull a battery at the homescreen, then run a game like mario and watch the screen mess up. For now, the simple fix is just to press ON + CLEAR if you have problems.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 19, 2011, 01:54:49 am
Another problem that is not a bug: in a basic program with Input, we can do 2nd Quit and the temporary program stays in RAM.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 19, 2011, 12:35:07 pm
But what would be cool would be damn! I forgot my feature request! :O
Just remembered! It's about the editing when archieved.
It works fine and all if you move the curser to the program and then hit enter, but if I press e.g. 8 it gives me error: archieved.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on November 19, 2011, 08:59:40 pm
I'm not sure if this is related to zStart either, but whenever the calc garbageCollects the calc starts screwing up...I've gotten "ERR:?" twice now and it likes to deposit junk tokens on the homescreen.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 20, 2011, 02:03:10 pm
(thepenguin will have a lot of posts to check :P)
Another one :P

Feature request:

-Instead of having one app/program set on start-up, I'd like to be able to set several ones, in a particular order. That would also mean that you would have to change the way of setting them :-/

-Instead of being able to only set 10 programs/apps with ON+[one digit number], I think that would be great if we could have several digits available, digits that we input while the ON key is pressed :D


After reading my post, it sounds to me that I only asked impossible things D:
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 20, 2011, 02:21:36 pm
I just got another idea: maybe make it somehow possible to insert any hook and it is restored when ram is cleared. I don't know if that is possible..........
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 20, 2011, 02:38:42 pm
Another problem that is not a bug: in a basic program with Input, we can do 2nd Quit and the temporary program stays in RAM.

That sounds fixable.

But what would be cool would be damn! I forgot my feature request! :O
Just remembered! It's about the editing when archieved.
It works fine and all if you move the curser to the program and then hit enter, but if I press e.g. 8 it gives me error: archieved.

I know about that, but that is a mega pain to do. It also has the potential to make you end up opening the wrong program ;D

I'm not sure if this is related to zStart either, but whenever the calc garbageCollects the calc starts screwing up...I've gotten "ERR:?" twice now and it likes to deposit junk tokens on the homescreen.

That's not related to zStart, but try this (http://www.ticalc.org/archives/files/fileinfo/443/44349.html). I wouldn't doubt that you are very close to having a non-booting calculator.

(thepenguin will have a lot of posts to check :P)
Another one :P

Feature request:

-Instead of having one app/program set on start-up, I'd like to be able to set several ones, in a particular order. That would also mean that you would have to change the way of setting them :-/

I've thought about that, it wouldn't be very difficult to do that by setting a program in that position that runs all the other programs. I might make one of those sometime.

Quote
-Instead of being able to only set 10 programs/apps with ON+[one digit number], I think that would be great if we could have several digits available, digits that we input while the ON key is pressed

Ok, but this one wouldn't be easy. It would require major rewrites of anything that involves the appvar, which is like 50% of the app. Then, I would have to completely change how the ON hooks work. I can tell you with certainty that this will not happen. But, do you actually use all 9 shortcuts?

I just got another idea: maybe make it somehow possible to insert any hook and it is restored when ram is cleared. I don't know if that is possible..........

In principle that's not hard, it's just the whole UI that would go along with it would be messy. Not to mention it takes up variable space in the appvar.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 20, 2011, 02:42:45 pm
I just got another idea: maybe make it somehow possible to insert any hook and it is restored when ram is cleared. I don't know if that is possible..........
Maybe somehow like a mix between the omnicalc options menu and the listing of the apps :)
In principle that's not hard, it's just the whole UI that would go along with it would be messy. Not to mention it takes up variable space in the appvar.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 20, 2011, 02:50:57 pm
(thepenguin will have a lot of posts to check :P)
Another one :P

Feature request:

-Instead of having one app/program set on start-up, I'd like to be able to set several ones, in a particular order. That would also mean that you would have to change the way of setting them :-/

I've thought about that, it wouldn't be very difficult to do that by setting a program in that position that runs all the other programs. I might make one of those sometime.
And it could launch apps too ? O.o That would be awesome :D

-Instead of being able to only set 10 programs/apps with ON+[one digit number], I think that would be great if we could have several digits available, digits that we input while the ON key is pressed

Ok, but this one wouldn't be easy. It would require major rewrites of anything that involves the appvar, which is like 50% of the app. Then, I would have to completely change how the ON hooks work. I can tell you with certainty that this will not happen. But, do you actually use all 9 shortcuts?
Yes I use all of them :P
Yeah, I knew it would be hard, but don't worry, some of the shortcuts I use are not important, and I can redefine them for something more important.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on November 20, 2011, 03:03:10 pm
I'm not sure if this is related to zStart either, but whenever the calc garbageCollects the calc starts screwing up...I've gotten "ERR:?" twice now and it likes to deposit junk tokens on the homescreen.
That's not related to zStart, but try this (http://www.ticalc.org/archives/files/fileinfo/443/44349.html). I wouldn't doubt that you are very close to having a non-booting calculator.
Yeah, I use that fairly often :/
[offtopic]So for the booting thing, would it be possible to fix it with Flashy or something?[/offtopic]
Title: Re: zStart - an app that runs on ram clears
Post by: Xeda112358 on November 20, 2011, 06:23:38 pm
And it could launch apps too ? O.o That would be awesome :D
Hmm, that seems useful and doable O.O Would it just require finding the app page and jumping to 4080h?
Title: Re: zStart - an app that runs on ram clears
Post by: Yeong on November 20, 2011, 06:55:14 pm
I think zstart already have that feature. :D
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on November 20, 2011, 07:14:15 pm
And it could launch apps too ? O.o That would be awesome :D
Hmm, that seems useful and doable O.O Would it just require finding the app page and jumping to 4080h?
No. You have to parse the app's header to figure out where its executable code begins; the OS starts an app right after the last byte in the header. There is no need to pad the header to 80h bytes. Fortunately, the OS provides a BCALL that does all of this for you, ExecuteApp (http://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4C51). This will probably leak RAM if called from within a RAM program unless you deallocate yourself first.

Incidentally, you can also put whatever you want in the datestamp signature field. Nothing ever checks that signature.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on November 21, 2011, 04:26:31 am
Double post for an update: the following assembly program will execute the application named in Ans. This program never returns. Note that applications whose name is less than 8 characters are normally padded with spaces at the end.

This should go without saying, but don't run this from within a shell. (zStart doesn't count as a shell in this case.) It completely subverts the normal way that assembly programs are supposed to quit. Any assembly program can copy itself to scratch RAM and do ld hl, 9D95h \ ld de, (asm_prgm_size) \ b_call(_DelMem) \ b_call(_JForceCmdNoChar). This is what the below program does, except that instead of executing the internal homescreen app, it runs the app you've chosen. This is a horrible way to quit if you're running from within a shell.

Edit: Possible bug fixed due to incorrectly correct .org.

Source:
Code: [Select]
; ExecApp
; This assembly program transfers control to the application named in Ans.  This
; program never returns, unless the application does not exist, or you fail to
; specify a valid name.
; This can probably be improved quite a bit.  Do feel free to steal this source
; and use it in your own, more complete multi-program runner.

.nolist
#include "ti83plus.inc"
;_ExecuteApp .equ 4C51h
.list

curStrPos .equ appBackUpScreen
curBufPos .equ curStrPos+2
strBuffer .equ curBufPos+2

.org 8000h
.db t2ByteTok, tAsmCmp

; For debugging in an emulator . . . can't do any harm.
set LwrCaseActive, (iy+AppLwrCaseFlag)

; Copy self to a temporary area
ld hl, 9D95h
ld de, 8002h
ld bc, 256
ldir
jp actuallyDoChecking
actuallyDoChecking:
; Check the type of Ans
b_call(_RclAns)
ld a, (hl)
cp StrngObj
ret nz
; Convert Ans into a real string.
ex de, hl
ld a, (hl)
inc hl
ld (iy+asm_flag1), a ; Keeps track of how many bytes are left
ld a, (hl)
inc hl
ld (curStrPos), hl
or a
ret nz ; Oops, this string is obviously way too big.
ld hl, strBuffer
ld (hl), AppObj
inc hl
ld (curBufPos), hl
tokenStringToRealStringLoop:
ld hl, (curStrPos)
b_call(_Get_Tok_Strng)
ld de, (curBufPos)
ld hl, OP3 ; The documentation lies.
ldir
ld (curBufPos), de
ld hl, (curStrPos)
ld a, (hl)
inc hl
b_call(_IsA2ByteTok)
jr nz, +_
inc hl
dec (iy+asm_flag1)
_: ld (curStrPos), hl
dec (iy+asm_flag1)
jr nz, tokenStringToRealStringLoop
ld (hl), 0
; Done!  Make sure app exists.
ld hl, strBuffer
rst 20h;rMOV9TOOP1
b_call(_FindApp)
ret c
; Deallocate self
ld hl, 9D95h
ld de, (asm_prgm_size)
b_call(_DelMem)
; Aaaand, run the application.
ld hl, strBuffer+1
ld de, progToEdit
ld bc, 8
ldir
b_call(_ExecuteApp)
.end
.end
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on November 21, 2011, 06:05:51 pm
I just encountered a strange bug:
I was toggling back and forth between Radian and Degree modes, and after hitting [On] + [Sin] about three times, the calc froze, and RAM Cleared.  I have no idea how this happened, though based on the timing I think interrupts were to blame.
I have a TI 84+SE running 2.43 with Axe, Omnicalc, and Zstart.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 25, 2011, 01:28:22 pm
I have another bug (is that a bug ? because I like this one :P):
When the calc hits a bug, it turns off, then Ram Clears when turning on.
BUT, if when turning on I keep [Clear] pressed, strange things happen:
-The prog that should run on Ram clears does not launch
-The contrast is not set off
-In fact, everything is like zStart is not installed (no hooks working)
-There is no program in the program Menu
-Launching an app causes crash, and to Ram Clear, and to get everything back to normal ??? (except if I keep [Clear] pressed again)
Title: Re: zStart - an app that runs on ram clears
Post by: Stefan Bauwens on November 25, 2011, 02:01:11 pm
I have another bug (is that a bug ? because I like this one :P):
When the calc hits a bug, it turns off, then Ram Clears when turning on.
BUT, if when turning on I keep [Clear] pressed, strange things happen:
-The prog that should run on Ram clears does not launch
-The contrast is not set off
-In fact, everything is like zStart is not installed (no hooks working)
-There is no program in the program Menu
-Launching an app causes crash, and to Ram Clear, and to get everything back to normal ??? (except if I keep [Clear] pressed again)
I've read a part of the readme and it says like everywhere a million times(:P) that while rebooting and pressing [Clear] zStart won't be installed. So no, it isn't a bug. :)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 25, 2011, 02:16:33 pm
*cough* (http://wikiti.brandonw.net/index.php?title=83Plus:OS:Secret_Key_Combinations&section=2#ON_.2B_Clear)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 25, 2011, 02:16:37 pm
I have another bug (is that a bug ? because I like this one :P):
When the calc hits a bug, it turns off, then Ram Clears when turning on.
BUT, if when turning on I keep [Clear] pressed, strange things happen:
-The prog that should run on Ram clears does not launch
-The contrast is not set off
-In fact, everything is like zStart is not installed (no hooks working)
-There is no program in the program Menu
-Launching an app causes crash, and to Ram Clear, and to get everything back to normal ??? (except if I keep [Clear] pressed again)
I've read a part of the readme and it says like everywhere a million times(:P) that while rebooting and pressing [Clear] zStart won't be installed. So no, it isn't a bug. :)
Ok, but why do the programs disappear, and why does running an app cause Ram Clear, and why does programs appears back after Ram Clear ? ???
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 25, 2011, 02:17:30 pm
You might have missed it, but I ninja'd you by 3 seconds.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 25, 2011, 02:18:49 pm
Yeah, I saw it right after :D
I might read those combinations as well, to not accuse zStart for nothing >.>
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on November 25, 2011, 02:26:54 pm
May I ask why actually you were holding clear?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 25, 2011, 03:19:55 pm
May I ask why actually you were holding clear?
Lol, that actually is a good question. I set a program to run on Ram Clears, and that program is a program that display a :trollface: until you press a key :P. And I am used to use Clear to quit progs, so I kept Clear pressed when Ram clearing so that the :trollface: doesn't show up :P
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on November 30, 2011, 05:25:37 am
Oh aha lol.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 02, 2011, 07:36:39 pm
I'm working on the next update, which means reading back through all the pages since the last update, but I've reached a problem. I added keyhooks to run MirageOS and DCS, but the DCS hook uses Prgm, this means that my Copy function can't use Prgm as well.

So, now that 2nd, Mode, Del, Alpha, Stat, Apps, Prgm, Vars, Clear,  ^, and Enter are all taken, what should I assign Copy too? (I can't capture 2nd/Alpha, Mode is used by Omnicalc, and Clear is well, duh)

Btw, if no one provides a better response, it will be +. (Though + replaces a character if the hook is not active, something to think about)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 02, 2011, 07:50:27 pm
I think On + + is the best option.  What would it replace?  (I forgot D: )
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 02, 2011, 07:53:17 pm
Nothing, ON + + is base conversion at the homescreen, but it's undefined in the program editor.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 02, 2011, 07:55:07 pm
Ah, okay.  Cool.
Wouldn't this (http://ourl.ca/14333/267909;topicseen#new) be epic?  Is it possible from zStart's end?  Could you bring it up with Quigibo if it is?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 02, 2011, 08:38:43 pm
It's probably possible, I've been meaning to add some api entry points for a while now. I'll see what quigibo says.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on December 03, 2011, 11:19:01 am
Will the new update also include grammer hooks?
Title: Re: zStart - an app that runs on ram clears
Post by: FinaleTI on December 03, 2011, 11:35:07 am
I'm working on the next update, which means reading back through all the pages since the last update, but I've reached a problem. I added keyhooks to run MirageOS and DCS, but the DCS hook uses Prgm, this means that my Copy function can't use Prgm as well.

So, now that 2nd, Mode, Del, Alpha, Stat, Apps, Prgm, Vars, Clear,  ^, and Enter are all taken, what should I assign Copy too? (I can't capture 2nd/Alpha, Mode is used by Omnicalc, and Clear is well, duh)

Btw, if no one provides a better response, it will be +. (Though + replaces a character if the hook is not active, something to think about)
What about ON + MATH? It wouldn't replace anything and doesn't seem to be in use.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on December 03, 2011, 11:47:41 am
Yeah, that wold be great.
And I have another feature suggestion: A menu point to deactivate the On+Vars hook!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 03, 2011, 11:15:20 pm
Will the new update also include grammer hooks?

Maybe, probably not yet

What about ON + MATH? It wouldn't replace anything and doesn't seem to be in use.

I was thinking ON + MATH, but that's a little random. It does fit my needs though.

Yeah, that wold be great.
And I have another feature suggestion: A menu point to deactivate the On+Vars hook!

I have to assume you mean the abort button and I can't do that. The abort occurs before the appvar is located and therefore I would have no way to determine if I should abort or not. Also, I can't do it after I check the appvar because if the appvar is corrupted, it will crash when it tries to determine what to do. Then you'll have to reinstall your OS...



But, the real reason that I am posting is because I am putting together an API for zStart. Currently I only have two entry points: runOP1 and editOP1. What else does zStart do that you would want to do with an assembly program? (perhaps on ram clear or turning on for instance)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 03, 2011, 11:59:45 pm
What about ON + MATH? It wouldn't replace anything and doesn't seem to be in use.

I was thinking ON + MATH, but that's a little random. It does fit my needs though.
Since On + + isn't taken in the editor, It think it's perfect because it's right above On + Enter, which is the other part of Copy/Paste.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 04, 2011, 02:03:39 am
Update



There's the update, I forgot about 2nd + Quitting from a basic program, but I'll take care of that later. Most of these updates are thanks to DrDnar allowing me to free up 79 bytes, so be sure to thank him.
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on December 04, 2011, 04:19:10 am
Nice! Cant try this until later, but i will.

A bug from the last version (maybe?) is that when im on the prog exec menu, any on command that i do exits the menu. I.E.: ON + [*] to archive a prog, and all of the ON + [#] shortcuts. Plus, on prog edit menu, ON + [Enter] still crashes.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on December 04, 2011, 10:51:08 am
Nice update!
One thing (the error was already before this update):
Inserting DoorsCS as shell doesn't really work.
I HAVE put in doorscs as shell, the appvariable in ram exists, but calc still craches.
It won't work before I manually define doorscs as a shell again.

And I can't always push up in apps menu imidiatly when I enter it, i first have to press down and then up twice.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on December 04, 2011, 12:42:25 pm
Nice :D
I can now free some shortcuts ;D

But I still have something to ask (:P)

"Feature" wishlist:
Some sort of a readme that includes all the functions because I am lost ._.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 04, 2011, 01:43:16 pm
Nice! Cant try this until later, but i will.

A bug from the last version (maybe?) is that when im on the prog exec menu, any on command that i do exits the menu. I.E.: ON +
  • to archive a prog, and all of the ON +
  • shortcuts. Plus, on prog edit menu, ON + [Enter] still crashes.
Sorry about that, those both still exist.

The first one is going to stay that way because mathprint sucks.

The second one I'll fix because it shouldn't crash.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 04, 2011, 02:47:50 pm
Here's the new readme.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 04, 2011, 09:20:56 pm
I found a readme error:
Quote
Copying and pasting:
    This is pretty straight forward. Press ON + PRGM to copy. ON + Enter to paste. Just remember that you
   can't copy more than 4000 bytes. But you wouldn't need to do that unless you are trying to break
   something. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 04, 2011, 09:54:31 pm
That's a new one. But thanks, I didn't look through the whole thing, I only changed the list of shortcuts and the changelog.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on December 05, 2011, 06:52:22 am
Geez, an update! :D
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on December 05, 2011, 11:12:15 pm
Its annoying when it exits the prgm menu when i try to set a prgm as a shortcut. Because you have to press each button twice, i cant set shortcuts or programs to run on zstart/ram clear/turning on.
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on December 06, 2011, 08:13:32 pm
I have an idea: why dont you just set it so that when you open a menu and use a shortcut, it disables MathPrint temporarily. Then, when the key command is done, it will re-enable mathprint if it was on to begin with. Would that work?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 06, 2011, 10:36:25 pm
It's not really that simple.

The problem with mathprint is that the OS uses what's called an edit buffer at the homescreen. The way this works in classic mode is relatively well understood and can be replicated by us. The way it works in mathprint is entirely foreign and has not even been slightly looked at. (Part of the reason is because TI just hacked it together)

In order to perform an operation from a keyhook, I usually have to close the edit buffer. Then, when the hook is done, I reopen the edit buffer and let the calculator get back to what it was doing. However, for mathprint, like I said, we don't know how to properly reopen the edit buffer. My fix for this was to jump back to the homescreen which will open the edit buffer correctly. If I don't reopen it, bad things happen ;D


But, I never thought about the shortcuts, maybe I can hack something in to make those work.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 06, 2011, 10:41:39 pm
Hey thepenguin, can I bump this idea again?
Feature idea:
Fast graphing - Doesn't update the screen until all the functions are drawn on the graph or after each function's drawn giving graphing a big speed boost.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 06, 2011, 10:49:47 pm
I've got a feeling that I would have to either rewrite the code for graphing or patch the OS on that one. Though, I'm not sure since I've never looked into it. To be honest, I don't think updating the screen slows it down that much.

For instance, graph this:
nDeriv(.1x^3,x,x

Then flip Xres on 2 and graph it again.

That's about the best you can do for fast graphing.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 06, 2011, 11:01:14 pm
nDeriv(.1x^3,x,x
...but what if I just change it to .3x^2? :P

It actually is considerably faster:
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 06, 2011, 11:17:35 pm
Yeah, that's a trick we use a lot in calculus. It really comes in handy when you are graphing 2nd derivatives. I didn't have you do that, but that's the only time I usually change Xres to 2. The only downside is that it doesn't check for discontinuity.

Also, if you have skills, you can change Xres to > 8 with calcsys. Setting it to 31 is entertaining for instance.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on December 07, 2011, 04:12:35 pm
request: oncalc readme.   could even be in a different program :P
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on December 07, 2011, 05:29:06 pm
request: oncalc readme.   could even be in a different program :P
Perhaps a list of all the keyhooks?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on December 08, 2011, 09:19:44 am
everyone could make that in basic..... :P
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on December 08, 2011, 10:21:05 am
I.I
But thats sloooooow in basic.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on December 08, 2011, 08:19:22 pm
everyone could make that in basic..... :P
not attatched to ON+Y= they can't
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on December 09, 2011, 10:16:36 am
request: oncalc readme.   could even be in a different program :P
Perhaps a list of all the keyhooks?
Done ;D
It was compiled for Ion (in case you want to run it with MirageOS, for some reasons)

Tell me if there are problems with it (like wrong hook).
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on December 10, 2011, 11:00:34 pm
When I use the on+num shortcut to compile with axe, it seems to randomly zoom (fast compile, less optimizations) or compile normally.
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 10, 2011, 11:04:14 pm
When I use the on+num shortcut to compile with axe, it seems to randomly zoom (fast compile, less optimizations) or compile normally.
If this is under the newest version of Axe, this makes perfect sense.  Basically you just need to wait for thepenguin to update zStart - it's a bug caused by the incompatibility of an Axe improvement.

Edit:  Feature Request:
Can you add a screen somewhere that says what is in all of the On + number hooks?  I sometimes am hesitant to use them because I don't want to accidentally think that I'm pushing the wrong thing.  If zStart's out of space you could even make it a standalone program; I'd just find it quite useful.  Thanks!
Title: Re: zStart - an app that runs on ram clears
Post by: Camdenmil on December 12, 2011, 05:58:16 pm
When I use the on+num shortcut to compile with axe, it seems to randomly zoom (fast compile, less optimizations) or compile normally.
If this is under the newest version of Axe, this makes perfect sense.  Basically you just need to wait for thepenguin to update zStart - it's a bug caused by the incompatibility of an Axe improvement.
I saw that in the new features. I wonder why it randomly chooses between the two though.

Is it possible to make a shortcut to zoom or compile normally?
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 12, 2011, 06:01:56 pm
When I use the on+num shortcut to compile with axe, it seems to randomly zoom (fast compile, less optimizations) or compile normally.
If this is under the newest version of Axe, this makes perfect sense.  Basically you just need to wait for thepenguin to update zStart - it's a bug caused by the incompatibility of an Axe improvement.
I saw that in the new features. I wonder why it randomly chooses between the two though.

Is it possible to make a shortcut to zoom or compile normally?
After an IRC discussion with thepenguin today, it should always compile normally.  Are you using both the most recent version of Axe and of zStart?  (I know the previous version of Axe had problems with Zoom vs. regular when zStart was using it).
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on December 12, 2011, 06:02:54 pm
That happens to me with 1.0.5, with the ON+# compiling shortcut randomly.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on December 12, 2011, 07:32:25 pm
Edit:  Feature Request:
Can you add a screen somewhere that says what is in all of the On + number hooks?  I sometimes am hesitant to use them because I don't want to accidentally think that I'm pushing the wrong thing.  If zStart's out of space you could even make it a standalone program; I'd just find it quite useful.  Thanks!
Out of space? zStart is now so big that there's a negative amount of free space remaining---we've resorted to hacking data into places in the header that aren't supposed to hold application data. (Not that I think you have a bad idea; I'm just saying.)
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 12, 2011, 08:25:23 pm
Edit:  Feature Request:
Can you add a screen somewhere that says what is in all of the On + number hooks?  I sometimes am hesitant to use them because I don't want to accidentally think that I'm pushing the wrong thing.  If zStart's out of space you could even make it a standalone program; I'd just find it quite useful.  Thanks!
Out of space? zStart is now so big that there's a negative amount of free space remaining---we've resorted to hacking data into places in the header that aren't supposed to hold application data. (Not that I think you have a bad idea; I'm just saying.)
No way.  That's about the most epic thing I've ever heard of doing.  Wow.

Oh, thepenguin, earlier today I had a random-ish RAM Clear when trying to edit a program in archive after triggering a regular RAM Clear and then trying to edit an archived program (by pressing a number, if that matters).  I ran zStart after the second RAM clear, toggled zStart Off, then On again, and then tried editing the same program.  That worked just fine.
Not to burst your bubble (bug-ble?) or anything...
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 12, 2011, 10:16:42 pm
Edit:  Feature Request:
Can you add a screen somewhere that says what is in all of the On + number hooks?  I sometimes am hesitant to use them because I don't want to accidentally think that I'm pushing the wrong thing.  If zStart's out of space you could even make it a standalone program; I'd just find it quite useful.  Thanks!

Yeah, like I said, eventually I'll get that out, it's really not that much trouble.

Oh, thepenguin, earlier today I had a random-ish RAM Clear when trying to edit a program in archive after triggering a regular RAM Clear and then trying to edit an archived program (by pressing a number, if that matters).  I ran zStart after the second RAM clear, toggled zStart Off, then On again, and then tried editing the same program.  That worked just fine.
Not to burst your bubble (bug-ble?) or anything...

So, to clarify. You cleared ram, then when you went to edit a program, it crashed again? If that's true, then...
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on December 12, 2011, 10:22:25 pm
Oh, thepenguin, earlier today I had a random-ish RAM Clear when trying to edit a program in archive after triggering a regular RAM Clear and then trying to edit an archived program (by pressing a number, if that matters).  I ran zStart after the second RAM clear, toggled zStart Off, then On again, and then tried editing the same program.  That worked just fine.
Not to burst your bubble (bug-ble?) or anything...

So, to clarify. You cleared ram, then when you went to edit a program, it crashed again? If that's true, then...
Yup.  The first RAM Clear was from 2nd / Mem / Clear RAM, while the second one was not voluntary.  Let me try to reproduce it right now.

Edit:  I can reproduce it on my calc by doing the exact same thing as before.
Edit 2:  It looks like all I have to do to fix it is run zStart - I don't even have to toggle it on/off like I did earlier.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on December 14, 2011, 07:31:50 am
Back here it is also that sometimes if I want to edit a program that is archived my calc craches. What I do then is clear the ram and some other stuff and then it works all normal.
Title: Re: zStart - an app that runs on ram clears
Post by: Quigibo on December 16, 2011, 03:10:06 pm
I had a quick question about editing programs in archive.  I assume that what it does is make a copy in RAM and then copy it back if changes were made.  But what happens if there's not enough room in RAM to hold the copy?  Are other programs temporarily archived to make space or will it not let you edit the program?

You mentioned you had an entry point in zStart so Axe errors could be shown in archived programs, but the routine sounds like it could be small enough to just include it in the app since I still have a lot of space.  But I don't know how you're implementing it so maybe I'm wrong or there are other advantages to calling it through zStart that I'm forgetting.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on December 16, 2011, 06:16:48 pm
Iirc I've gotten an ERR:MEMORY trying to edit an archived program from home (well, I run it from the homescreen and take advantage of the ERR:SYNTAX :P).  Hasn't happened lately tho, either because I keep a lot of ram free or it's been fixed somehow.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 19, 2011, 03:28:09 pm
(I was gone)

Oh, thepenguin, earlier today I had a random-ish RAM Clear when trying to edit a program in archive after triggering a regular RAM Clear and then trying to edit an archived program (by pressing a number, if that matters).  I ran zStart after the second RAM clear, toggled zStart Off, then On again, and then tried editing the same program.  That worked just fine.
Not to burst your bubble (bug-ble?) or anything...

So, to clarify. You cleared ram, then when you went to edit a program, it crashed again? If that's true, then...
Yup.  The first RAM Clear was from 2nd / Mem / Clear RAM, while the second one was not voluntary.  Let me try to reproduce it right now.

Edit:  I can reproduce it on my calc by doing the exact same thing as before.
Edit 2:  It looks like all I have to do to fix it is run zStart - I don't even have to toggle it on/off like I did earlier.

If you can get me a savestate that crashes, I can fix the glitch in 5 minutes.

I had a quick question about editing programs in archive.  I assume that what it does is make a copy in RAM and then copy it back if changes were made.  But what happens if there's not enough room in RAM to hold the copy?  Are other programs temporarily archived to make space or will it not let you edit the program?

You mentioned you had an entry point in zStart so Axe errors could be shown in archived programs, but the routine sounds like it could be small enough to just include it in the app since I still have a lot of space.  But I don't know how you're implementing it so maybe I'm wrong or there are other advantages to calling it through zStart that I'm forgetting.

If it's oversized, I believe it will Err:Memory since I just use bcall(_createProg).

The code is rather large, but you can probably duplicate some of it with your own code. In any case, here's everything you need to make it work:

Code: [Select]

;############################
editProgram:
ld hl, 0
ld (errOffset), hl
editProgramCustomOffset:
bcall(_chkFindSym)
ret c

ld a, b
or a
jr nz, itIsArchived

ld hl, op1
call getLastLetter
bit 7, (hl)
jr z, doTheEdit
jr setTheHook ;idiot


itIsArchived:
call findStartInRom

bcall(_loadDEIndPaged)
inc hl
call fast_bhl

push hl
ld a, e
or d
ld a, b
push af
push de

ld a, 3
out ($20), a

ld hl, op1
call getLastLetter
set 7, (hl)

call pushOp1
bcall(_chkFindSym)
jr c, notThisFoundz
bcall(_delVarArc)
notThisFoundz:
call popOp1


pop hl
push hl
call pushOp1
bcall(_createProg)
call popOp1
inc de
inc de
pop bc
pop af
pop hl
jr z, zeroSizes
bcall(_flashToRam)
zeroSizes:


setTheHook:
ld hl, appChangeHook
in a, (06)
bcall(_enableAppChangeHook)

doTheEdit:
ld hl, op1
ld de, varType
push hl
bcall(_mov9B)

ld a, 3
ld (menuCurrent), a
ld a, 1
ld ($85DF), a
ld a, kEnter
bcall(_pullDownChk)
bcall(_clrTR)

pop hl
ld de, progToEdit-1
bcall(_mov9B)

push af
ld a, kError
ld (cxCurApp), a
pop af
bcall(_newContext0)
bcall(_mon)

;###########################################
appChangeHook:
add a, e
cp kPrgmEd ;these are all part of editing
ret z
cp kMode
ret z
cp kTblSet
ret z
cp kFormat
ret z

finishEditing:

push af
push bc
push hl

ld a, b

cp $46
jr nz, killAppChangeHook ;this is in case a weird switch happens

ld hl, varType
call getLastLetter
bit 7, (hl)
jr z, killAppChangeHook

ld a, 3
out ($20), a

bcall(_runIndicOn)

ld hl, varType
rst 20h
call pushOP1
ld hl, op1
call getLastLetter
res 7, (hl)
bcall(_chkFindSym)
jr c, cantFindProga ;these things never seem possible until it crashes
bcall(_delVarArc)
cantFindProga:

call popOp1
ld hl, op1
call getLastLetter
ld de, -op1-1+7
add hl, de
push hl
bcall(_chkFindSym) ;if this is gone, we let it crash
pop de
or a
sbc hl, de
res 7, (hl)
ld hl, op1
call getLastLetter
res 7, (hl)
call pushOp1
bcall(_chkFindSym)
bcall(_arc_unarc)
call popOp1 ;this is for ON + STO

killAppChangeHook:
bcall(_disableAppChangeHook)
pop hl
pop bc
pop af
ret

;#######################################
;input: hl = start of op1, or similar

getLastLetter:
push af
push bc

ld bc, 10
xor a
cpir
dec hl
dec hl

pop bc
pop af
ret

;#########################################
pushOP1:
push af
push bc
push de
push hl

ld hl, -12
add hl, sp
ld sp, hl
ex de, hl

ld hl, 12
add hl, sp

ld bc, 10
ldir

ld hl, op1
ld bc, 12
ldir

pop hl
pop de
pop bc
pop af
ret



;##########################################
popOP1:
push af
push bc
push de
push hl

ld hl, 10
add hl, sp
ld de, op1
ld bc, 12
ldir

ld hl, 10+12-1
add hl, sp
ex de, hl

ld hl, 10-1
add hl, sp

ld bc, 10
lddr

inc de
ex de, hl
ld sp, hl

pop hl
pop de
pop bc
pop af
ret

;##################################
;Move to start of data in Rom
;Input: Output of _ChkFindSym
;Output: HL = start
; B = rom page
;Destroys: C DE


FindStartInRom:
ex de, hl

LD de, 9

add hl, de

call fast_bhl

bcall(_LoadCIndPaged)

inc c
ld e, c

add hl, de

call fast_bhl

ret



;########################################
;faster bhl
;only checks for going over

fast_bhl:
ld a, h
res 7, h
set 6, h
cp h
ret z
inc b
ret


Iirc I've gotten an ERR:MEMORY trying to edit an archived program from home (well, I run it from the homescreen and take advantage of the ERR:SYNTAX :P).  Hasn't happened lately tho, either because I keep a lot of ram free or it's been fixed somehow.

If nothing else, I read your post ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on December 29, 2011, 07:42:24 pm
I believe I have found two bugs. First, it appears that once zStart has "learned" the proper delay for your LCD, it will send this value to port 29h upon startup whether you want it to or not, as there is no option to control this. Second, it appears that bits 0 and 1 of port 29h are given no special care (either preserved or set) when this LCD delay value is sent. For instance, with my LCD delay value of 32 (20h), zStart resets bits 0 and 1 of port 29h, thus disabling the 6MHz memory delays whether this is desired or not.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 30, 2011, 10:30:00 pm
I believe I have found two bugs. First, it appears that once zStart has "learned" the proper delay for your LCD, it will send this value to port 29h upon startup whether you want it to or not, as there is no option to control this. Second, it appears that bits 0 and 1 of port 29h are given no special care (either preserved or set) when this LCD delay value is sent. For instance, with my LCD delay value of 32 (20h), zStart resets bits 0 and 1 of port 29h, thus disabling the 6MHz memory delays whether this is desired or not.

Both of those are true.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on January 12, 2012, 02:22:26 pm
Bug: when editing an archived program, and you trigger the APD by on+stat, upon returning to the homescreen the cursor is always at the top-left.
It doesn't happen with programs in the RAM.
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on January 12, 2012, 06:17:35 pm
Bug: On the catalog, when I try to assign the token "prgm" as a shortcut, it assigns the token "PlotStart" instead, which is strange, because that cant even be found in the catalog.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 12, 2012, 06:18:56 pm
Bug: when editing an archived program, and you trigger the APD by on+stat, upon returning to the homescreen the cursor is always at the top-left.
It doesn't happen with programs in the RAM.

Now that's a weird bug, duly noted though

Bug: On the catalog, when I try to assign the token "prgm" as a shortcut, it assigns the token "PlotStart" instead, which is strange, because that cant even be found in the catalog.

I bet that's because I improperly handled 1 byte tokens in the catalog.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on January 13, 2012, 09:53:37 am
Are you still planning to add the ability to insert grammer hooks?
Title: Re: zStart - an app that runs on ram clears
Post by: Xeda112358 on January 13, 2012, 10:00:08 am
I believe he was, he was just waiting for feedback from me to say that I didn't plan to mess any more stuff up XD It is my fault for that :/ I should PM him now...
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on January 13, 2012, 08:34:32 pm
Feature request: something to reset/re-make the appvar quickly from within the app.

Edit:
Bug: when editing an archived program, and you trigger the APD by on+stat, upon returning to the homescreen the cursor is always at the top-left.
It doesn't happen with programs in the RAM.
*Not only the top.  I just went to the middle after doing enough to get the screen to scroll.
I'm not sure if MP OSes handle the home screen differently...?  Using 2.43 anyway.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 29, 2012, 07:02:53 pm
If I don't remember (or get super busy) v1.3.005 is currently pending on ticalc.org. So within the next few days, people will finally stop emailing me.

I remember the reason I held off on this was because the omnicalc ram recovery was acting up again, but, I've been so busy lately, that the fix is not coming anytime soon. So, v1.3.005 it is.

Someone give me a post here when it's updated. Unless of course I beat you to it ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on January 31, 2012, 05:26:34 am
I got a suggestion: A menu option that molar mass and base conversion are always on.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 02, 2012, 03:29:46 pm
That's actually not a bad idea. I made them the way they are because they used to interfere with basic programs, but now they shouldn't.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on February 02, 2012, 11:39:11 pm
I have an addition to the line backup (the thing that happens when you press CLEAR): can you save the line when 2nd+ENTRY is used as well, as that replaces the current line?
Title: Re: zStart - an app that runs on ram clears
Post by: bluebl1 on February 08, 2012, 08:40:24 pm
I found a very specific glitch with editing archived programs. If you go to Memory Management/Delete ([2nd]+[Mem]+2) or the About screen([2nd]+[Mem]+1), and at either of those screens go directly to your program list, and try to edit an archived program, it will give you "ERR:ARCHIVED". I also had a friend confirm that the bug is on his calculator, too.

Another friend has a glitch(I don't know how to replicate) and when ZStart is installed, If he edits a program(archived or unarchived) it displays random tokens extremely fast, and crashes. When ZStart is uninstalled, it works just fine, but as soon as it's re-installed the glitch comes back. He is still having this glitch.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on February 08, 2012, 08:47:19 pm
Do you have any other programs/apps installed?  What calc/os are you using?

I'm asking because I've been using zStart pretty much every day and I haven't run into glitches like these..
Title: Re: zStart - an app that runs on ram clears
Post by: bluebl1 on February 08, 2012, 09:02:31 pm
I use ZStart every day, too.
I use 2.53, and my calculator is a TI-84 SE. I have the ZStart OS mod, but that's it.
The 2nd problem was kind of random, we can't tell how to replicate it or anything, it just happens...
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on February 08, 2012, 10:08:08 pm
I just realized.....


can having a modded os cause crashes?
because i crash often, but zstart is so helpful, i put up with them.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on February 09, 2012, 10:37:02 am
Another friend has a glitch(I don't know how to replicate) and when ZStart is installed, If he edits a program(archived or unarchived) it displays random tokens extremely fast, and crashes. When ZStart is uninstalled, it works just fine, but as soon as it's re-installed the glitch comes back. He is still having this glitch.
Confirmed on math-print os. I got around that by clearing several times ram and uninstalling/reinstalling the run on ram clear funktion and eventually it worked then.

And I have another suggestion: Don't block the self-test function :)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 11, 2012, 05:01:59 pm
I found a very specific glitch with editing archived programs. If you go to Memory Management/Delete ([2nd]+[Mem]+2) or the About screen([2nd]+[Mem]+1), and at either of those screens go directly to your program list, and try to edit an archived program, it will give you "ERR:ARCHIVED". I also had a friend confirm that the bug is on his calculator, too.

Believe it or not, that's actually not entirely a glitch. The zStart hooks only work at the homescreen, and those menus are actually different "contexts." You'll also notice that you can't edit stuff from the Y= menu or the graph screen. I'm really glad you pointed out the cause of this glitch, because I've run into it, but I'm not sure I have a clean fix for it.


Quote
Another friend has a glitch(I don't know how to replicate) and when ZStart is installed, If he edits a program(archived or unarchived) it displays random tokens extremely fast, and crashes. When ZStart is uninstalled, it works just fine, but as soon as it's re-installed the glitch comes back. He is still having this glitch.

Hmmm... That one is awkward, but to fix it, I'll have to be able to repeat it. I use 2.53 all day and I actually haven't seen this happen. I'm not exactly sure what's causing it, so you'll have to try to get me something repeatable. (Or, you can send (email/pm) me a wabbitemu (http://wabbit.codeplex.com/releases/view/44625) savestate of the calculator in a situation where the glitch will occur. In any case, I need to get it to happen in my wabbitemu.)

I just realized.....


can having a modded os cause crashes?
because i crash often, but zstart is so helpful, i put up with them.

I'd go out on a limb and say that no OS mods will cause crashes. Most OS mods are tiny little changes and not the kind of thing that would cause a crash. The zStart mod is only like 30 bytes in fact, and it's written to never crash. (Plus it only runs on ram clears.)
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on February 11, 2012, 06:21:39 pm
Well ever since updating my os from 2.53(modded) to 2.55, i have stopped having zstart caused ram clears completely.
When i say zstart caused, i am just saying when it is installed.
I updated my friend's calc too (TI-Over9000), and he doesn't have the problems anymore either.
Title: Re: zStart - an app that runs on ram clears
Post by: Spyro543 on February 16, 2012, 03:52:02 pm
Here's a cool techno-looking font I made at school. :)
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on February 16, 2012, 11:47:03 pm
Bug: when you copy/paste/restore tokens that axe replaces (Copy, Rect, Data, etc) they get changed to a Y# token.

Stuff already figured out on IRC, but I'll post it here for easy-to-find-ness or whatever the term is
 - only first token on the line
 - doesn't happen on all calcs
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 17, 2012, 02:26:03 pm
Feature request: have zStart work with Dr Dnar's Omnicalc
(More information about this version here (http://www.unitedti.org/forum/index.php?showtopic=9316&pid=141035&st=0&#entry141035).)
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on February 17, 2012, 02:39:25 pm
Request : support 2.23 version
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 17, 2012, 03:41:38 pm
Bug: when you copy/paste/restore tokens that axe replaces (Copy, Rect, Data, etc) they get changed to a Y# token.

Noted

Feature request: have zStart work with Dr D'nar's Omnicalc
(More information about this version here (http://www.unitedti.org/forum/index.php?showtopic=9316&pid=141035&st=0&#entry141035).

That's not as straightforward as it would seem. I directly call like 5 places in omnicalc, so I'd have to add checks to all of those places as well as try to determine which version of omnicalc is installed, all of which would be quite a hassle.

So, my thought would be to try to modify 2.23 to work with zStart, it would actually be really simple to do it on a finished product. All you would have to do is go to the specific places I call and add a jump to the new location. I'll try to work on this, but it might be difficult.


Also, things I'm working on right now.
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on February 17, 2012, 04:17:32 pm
Feature request: have zStart work with Dr D'nar's Omnicalc
(More information about this version here (http://www.unitedti.org/forum/index.php?showtopic=9316&pid=141035&st=0&#entry141035).
It might be easier just to absorb that functionality in a 2-page version of zStart, not to mention more maintainable. Also, it's been years since I've looked at that.
Title: Re: zStart - an app that runs on ram clears
Post by: parserp on February 17, 2012, 07:50:25 pm
I have just tried this, and after an hour of messing with it I can honestly say it will remain on my calculator forever. ;D

Great job thepenguin77! :D
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 19, 2012, 06:41:48 am
Here's a cool techno-looking font I made at school. :)
Hey I just tried that font, it is very good :D
I'll keep using it from now on. I just had to change the cursors so I don't get lost :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 20, 2012, 05:00:20 pm
Bug: when you copy/paste/restore tokens that axe replaces (Copy, Rect, Data, etc) they get changed to a Y# token.

Stuff already figured out on IRC, but I'll post it here for easy-to-find-ness or whatever the term is
 - only first token on the line
 - doesn't happen on all calcs

This one is actually quigibo's fault. I reported it.


Update!!
All of these changes apply to the program editor

These ones don't apply to the program editor


Thanks to runer for suggesting the test features, I have a feeling that this might be the last thing I need to get every single axe user to become a zStart user as well.

If you test an app, it doesn't return to the program editor. In theory I could make this work, but it's a mess.

Also, in order to accommodate all of these changes, I optimized like 600 bytes out of the app. What this means is that I probably broke some stuff. So if something that used to work no longer works, make sure you let me know; it's probably a 1 line fix.



The next thing I want to work on is adding some system to get the shortcut keys to work wherever they can. I'd work on that now, but I don't know how long it will take.

Edit:
  This screenie also shows my awesome axe skills.
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on February 20, 2012, 06:51:08 pm
Is it possible to start programs from prgm menu like with noshell or DCS ? If it's possible, then your application could be really usefull to me because DCS7 take really huge memory on my 83+... :/

EDIT : founded option "run from home" :D

EDIT2 : my 83+ crash every time I want to go on "next" with menu... :banghead:

EDIT3 : everything crashed. O.O
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 20, 2012, 08:07:36 pm
Is it possible to start programs from prgm menu like with noshell or DCS ? If it's possible, then your application could be really usefull to me because DCS7 take really huge memory on my 83+... :/

EDIT : founded option "run from home" :D

EDIT2 : my 83+ crash every time I want to go on "next" with menu... :banghead:

EDIT3 : everything crashed. O.O

Yeah, it doesn't really work on the 83+. There's not much I can do about that at this point.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on February 20, 2012, 08:30:38 pm
Just keeps getting better and better :D

I keep forgetting to ask for this: pressing up in the label menu would jump the bottom (or the last one?  I guess bottom would make more sense tho).

Also a q: would it be possible to, when axe is compiling/zooming a program and it encounters an error, go in and edit the program then when you quit the editor go back to continue or restart compiling/zooming?  This could make for fast debugging as well ;D

Edit: ok imma post bugs as I find them while programming as normal
editing archived program, first line, ( instead of :
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 20, 2012, 10:25:04 pm
Just keeps getting better and better :D

I keep forgetting to ask for this: pressing up in the label menu would jump the bottom (or the last one?  I guess bottom would make more sense tho).

That seems logical, I'll see how difficult it is. I have a feeling it's very difficult or else I would have already done that. (The Lbl menu actually scrolls right if you get enough)

Quote
Also a q: would it be possible to, when axe is compiling/zooming a program and it encounters an error, go in and edit the program then when you quit the editor go back to continue or restart compiling/zooming?  This could make for fast debugging as well ;D

Deh.... What? I believe quigibo will return the offset to the error back to me in his next update, so if an error occurs, it will just go there. Hopefully that does what you want.

Quote
Edit: ok imma post bugs as I find them while programming as normal
editing archived program, first line, ( instead of :

Have at it, I don't mind if you flood this thread with bug reports. (It's like bumping ;D) And yes, I noticed that right after I uploaded it here. The first colon is the only colon in the entire editor that is not actually a token, so I have to add it manually. It used to work, but I believe I broke it when I made the first line stop starting in column 0.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on February 21, 2012, 02:44:58 pm
Quote
Also a q: would it be possible to, when axe is compiling/zooming a program and it encounters an error, go in and edit the program then when you quit the editor go back to continue or restart compiling/zooming?  This could make for fast debugging as well ;D

Deh.... What? I believe quigibo will return the offset to the error back to me in his next update, so if an error occurs, it will just go there. Hopefully that does what you want.
Hm, the more I think about it the more it sounds like an axe feature rather than one in zStart.. :/

Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 21, 2012, 05:25:22 pm
Love me, hate me, whatever, I spent like 15 minutes working and zStart now mostly works on 83+BE's.

Things that I know do not work:


Key, (i) - impossible to fix, (h) - hard/lengthy to fix, (p) - probably fixable, (s) - silly to fix, (?) - no idea

If something doesn't work, make sure you tell me, I might be able to fix it.

If you're using an 84+, there's no reason to update since I literally changed nothing else. Also, here's the readme again because I'm assuming the 83+ guys will need it. (not that you're unintelligent, you just haven't been here for the process)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 22, 2012, 08:44:17 pm
For now, you guys should hold off a little bit on test running. I didn't reset the stack, so it will slowly stack overflow. You have about 5 test runs though before that happens.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on February 22, 2012, 09:11:37 pm
Will you please make a separate version, or make it where the incompatible features are disabled when on a 83+BE?

That should be as ease as making the options in the menu go away right?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 23, 2012, 02:39:30 am
Bug report and feature request :P

- The bug (maybe I give toomuch explanations but I hope there is enough):
I launched my Pokemon game with zStart, shell MirageOS, from homescreen. That prog is compiled for Ion and uses CrabCake. It ran fine. I wanted to exit. It asked to GarbageCollect. I said yes. It "did". Then I saw a variable Y1 that took more than 50000 bytes in Ram (I already saw that bug once so just thought "not again"). Then I saw Y2 was the same, then noticed that a lot of Y vars were the same (r1, r2, etc). Of course, going to the Y= menu did Ram Clear. Then, the program ZPKMN (Pokemon) was corrupted (I guess) because launching it crashed, and after I re-sent it, it worked again.

-Feature request: for the 83+BE, there is not a lot of Rom. So even with smart writeback, GarbageCollecting is frequent (and annoying). Maybe you could add an option "Never writeback" ?
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on February 23, 2012, 12:53:24 pm
-Feature request: for the 83+BE, there is not a lot of Rom. So even with smart writeback, GarbageCollecting is frequent (and annoying). Maybe you could add an option "Never writeback" ?
In case you didn't know, MirageOS has this feature.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on February 23, 2012, 02:24:57 pm
So if we use MirageOS as a shell, the options within Mirage apply?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 24, 2012, 02:30:33 am
-Feature request: for the 83+BE, there is not a lot of Rom. So even with smart writeback, GarbageCollecting is frequent (and annoying). Maybe you could add an option "Never writeback" ?
In case you didn't know, MirageOS has this feature.
I know, but it doesn't have "run from homescreen" :(
In fact, I got this idea from MirageOS ;)

So if we use MirageOS as a shell, the options within Mirage apply?
I don't really know but I don't think so: I use zStart with MirageOS as shell with the option "never writeback" and it did writeback. I guess zStart only uses the librairies in the shell.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on February 24, 2012, 03:49:20 am
WOw, I REALLY have missed something O.o
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on February 27, 2012, 03:15:49 pm
I just updated zStart from 1.3.005 to 1.3.007, and it sent fine, but when i went into the zStart app and exited back out, my calc crashed and now wont turn on unless I hold down VARS. Help?
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on February 27, 2012, 03:26:37 pm
I suppose 1.3.007 only work on 83+, so if you have a 84+ use 1.3.006. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on February 27, 2012, 03:36:00 pm
Oh. That may be it. Well, how would i switch to 1.3.006 if i cant:
1. Run any app
2. Go through the program list
3. Look in memory mgmt menu
4. Use TiLP


Any ideas?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 27, 2012, 04:32:03 pm
Any ideas?
Remove a battery and re-insert it while holding DEL. The calc will ask an OS to be installed and zStart would probably be uninstalled (at least the run on RAM Clear option).

Wait a bit before doing this in case people give you less radical solutions ;)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 27, 2012, 04:38:37 pm
Any ideas?
Remove a battery and re-insert it while holding DEL. The calc will ask an OS to be installed and zStart would probably be uninstalled (at least the run on RAM Clear option).

Wait a bit before doing this in case people give you less radical solutions ;)

There is nothing radical about this in the slightest way. It does literally nothing besides clear ram. And no, it wouldn't affect zStart at all.


As for C0deH4cker, somehow manage to turn your calculator on, (VARS while rebooting should do it). Then simply delete the zStart appvar and clear ram again. I'm not sure what's going on, but that fixes all problems.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 27, 2012, 04:42:20 pm
And no, it wouldn't affect zStart at all.
Re-installing the OS doesn't kill the "run on RAM Clear" option ? O.O

Then simply delete the zStart appvar and clear ram again. I'm not sure what's going on, but that fixes all problems.
Oh. That may be it. Well, how would i switch to 1.3.006 if i cant:
1. Run any app
2. Go through the program list
3. Look in memory mgmt menu
4. Use TiLP
The third one is a problem :P
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on February 27, 2012, 04:43:34 pm
Wow this thread grew a lot compared to when I last checked it! O.O I don't think I'll bother going through the 45 pages lol, but I'm glad to see this is still progressing. Eventually I might give it a try but unfortunately now I can't, because I'm using Doors CS7 and I have heard about compatibility issues between both apps.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on February 27, 2012, 04:44:34 pm
Afaik those issues have been tackled. but idk ive also not been on since forever.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on February 27, 2012, 10:05:13 pm
can you use asm from home screen?
Can you link to another calc?
You could send a zstart appvar to your calc, and have it overwrite the current one.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on February 28, 2012, 01:59:26 pm
Yes, Yes and I don't know
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 28, 2012, 02:53:20 pm
Re-installing the OS doesn't kill the "run on RAM Clear" option ? O.O

Oh, you meant reinstall the OS. Yes, that will get rid of zStart. However, just pulling up that screen won't do much of anything.

Wow this thread grew a lot compared to when I last checked it! O.O I don't think I'll bother going through the 45 pages lol, but I'm glad to see this is still progressing. Eventually I might give it a try but unfortunately now I can't, because I'm using Doors CS7 and I have heard about compatibility issues between both apps.

DCS compatibility is as good as I can get it from my side. The only thing missing is properly chaining hooks. Kerm says he can't really fix that because he ran out of space.

can you use asm from home screen?
Can you link to another calc?
You could send a zstart appvar to your calc, and have it overwrite the current one.

Asm from homescreen - yes
Linking - zStart won't affect it for the better or worse
and yes the appvars are transferable
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 28, 2012, 02:59:50 pm
Lol, in fact, I believe Happybobjr was talking to C0deH4cker to see what could fix his problem :P
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on February 28, 2012, 05:43:13 pm
Thanks Hayleia, I was ;)
"Then simply delete the zStart appvar and clear ram again. I'm not sure what's going on, but that fixes all problems."


Request:  can you make a special version for me that will force the offset on the screen to always be 0?  My calc for some reason likes jumping everything 32 rows down :/ (if it is easy.  I could back up my calc, then completely wipe it, then restore... but that seems risky)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 28, 2012, 07:04:29 pm
Happybobjr, do you happen to have OS 2.55? If so, I have a patch for you.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on February 28, 2012, 07:07:30 pm
yes i do.

Has this happened to others?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 28, 2012, 07:24:12 pm
Yes. This problem is actually completely unrelated to zStart and actually more related to Axe. The universal exploit that was developed several years ago actually modifies the OS. This wasn't discovered until recently, but it does screw it up. This (http://ourl.ca/3687/261410) patch that I created changes the OS in such a way that when the universal exploit does it's damage, the write to flash actually causes no change and the OS functions normally.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on February 28, 2012, 07:47:29 pm
Where do i get the os though?

The only one up is 2.57 right?
Title: Re: zStart - an app that runs on ram clears
Post by: Spenceboy98 on February 28, 2012, 10:14:01 pm
How do you save the font that you make? "Clear" just resets my calculator without saving. So does turning on "Run on RAM Clear". How do I fix this?
Title: Re: zStart - an app that runs on ram clears
Post by: JosJuice on February 29, 2012, 01:32:56 am
The only one up is 2.57 right?
No. The one that's visible on TI's site is 2.55MP, which is the newest one. 2.43 (and maybe others too) are available through direct links.
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on February 29, 2012, 11:01:07 am
Thanks for all of the help guys, but i managed to fix it by myself. Basically, i noticed that whenever i did anything that even tried to parse the archive, the calc would crash, so i rebooted while holding CLEAR to make it not parse the archive. I thought that my archive was corrupted, so i used the archive uncorruptor utility, but that did not work. So, I used that one program that recreates the vat and parses the archive, so that I could use the archive when i booted from CLEAR. When I did that, i was able to successfully send the zStart 1.3.005 to my calc, which fixed all of my problems.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 29, 2012, 04:20:33 pm
Glad we could help. (I also take pride in the fact that every program you just mentioned was written by me ;D)
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on March 01, 2012, 04:31:01 pm
Lol, didnt notice :P
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 02, 2012, 02:55:04 am
Problem report:
Let's say I have an archived prog called PROG.
Doing "prgmPROG" in the homescreen works.
Doing "15:prgmPROG" says "ERR:ARCHIVED" D:
Title: Re: zStart - an app that runs on ram clears
Post by: TI-Over9000 on March 02, 2012, 12:22:33 pm
When I run prmg tron but have caracters after it still runs, how does that work?
its rly cool!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 02, 2012, 10:19:21 pm
Problem report:
Let's say I have an archived prog called PROG.
Doing "prgmPROG" in the homescreen works.
Doing "15:prgmPROG" says "ERR:ARCHIVED" D:

Well, this doesn't work for the same reason it doesn't work in basic programs. I parse the line as a whole. I guess the only option would be to have a colon break up lines. But then I have to worry about quotes...
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on March 02, 2012, 10:35:34 pm
You could just do this:

15
prgmPROG
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on March 04, 2012, 12:11:14 am
Found a bug: when pasting a line that begins with RectI(, the RectI( gets replaced with a Y2. No other effects, and the Y2 is replaceable.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 04, 2012, 02:06:18 am
RectI( is an Axe token. (That took me a while.) Quigibo slightly messed up his token hook so that one is his fault. (I already told him)
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on March 04, 2012, 12:04:31 pm
I knew the thing about it being an Axe token, which is why it puzzled me so. Anyway, glad to see it's being worked on!
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 04, 2012, 01:02:12 pm
Another bug.
It is not important since I guess no one has a program like this but maybe this can happen in other circumstances.
Having a word with lowercases (without a dot at the very beginning) in the first line causes an infinite loop or something.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on March 04, 2012, 02:25:45 pm
I get the constant run indicator after Ram Clears too, but the cursor blinks in that.  Is it a flag or something, to tell if it should be going (separate from enabled/disabled)?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 04, 2012, 04:08:49 pm
For now, you guys should hold off a little bit on test running. I didn't reset the stack, so it will slowly stack overflow. You have about 5 test runs though before that happens.

Fixed

Another bug.
It is not important since I guess no one has a program like this but maybe this can happen in other circumstances.
Having a word with lowercases (without a dot at the very beginning) in the first line causes an infinite loop or something.

The OS was returning a pointer to the second byte of the lower case letter. I fixed it.

I get the constant run indicator after Ram Clears too, but the cursor blinks in that.  Is it a flag or something, to tell if it should be going (separate from enabled/disabled)?

Fixed

This update is entirely bug fixes.

Update!!:


I don't know what else to say. This basically just fixes all the bugs.

Edit:
   Yeah, you should definitely hold off on this.

Edit2:
    Good to go!
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on March 04, 2012, 04:18:31 pm
when i try to download...

"An Error Has Occurred!
You are not allowed to access this section "



edit: ???
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 04, 2012, 04:19:04 pm
Ok, good, don't send it yet. Something weird is going on. Btw, that's your batteries.

Edit:
   nvm, refresh
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 04, 2012, 05:14:55 pm
So, apparently, the OS won't run with any value other than $81 in port (07). You would think I would have caught this, but wabbitemu doesn't handle port (07) correctly.


In any case, 1.3.008 is finished now. If you don't feel like finding the post, just use my sig. ;D (Also, make sure you grab the correct version for your calculator)
Title: Re: zStart - an app that runs on ram clears
Post by: Spenceboy98 on March 05, 2012, 10:31:05 pm
I try to activate Run on Ram Clear and it resets my calc without installing.
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on March 06, 2012, 06:40:30 am
I can't read 8 lvl grayscales pics on my 83+. :'(
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on March 06, 2012, 12:34:42 pm
Wow, a lot's gone into zStart since I last updated it.  It's looking pretty awesome.  I can't wait to try the new testing features out.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 06, 2012, 12:37:10 pm
I can't read 8 lvl grayscales pics on my 83+. :'(
O.O I can on mine (with 1.3.007 at least).

Also, we have "run when turning on", why not "run when turning off" ? :D
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on March 06, 2012, 12:39:47 pm
"run when turning on" don't work on 83+, bug with 1.3.007 I was allowed to display pics.. but it doesn't work with 1.3.008_83.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 06, 2012, 04:51:50 pm
I can't read 8 lvl grayscales pics on my 83+. :'(
I can't read 8 lvl grayscales pics on my 83+. :'(
O.O I can on mine (with 1.3.007 at least).

Do you actually want that? I can do it. It's just that it does corrupt your ram.

Also, we have "run when turning on", why not "run when turning off" ? :D

I mean. That's actually when the run when turning on runs. But unless you can give me a legitimate reason, it's not going to happen.

"run when turning on" don't work on 83+, bug with 1.3.007 I was allowed to display pics.. but it doesn't work with 1.3.008_83.

I'll try to figure out what's going on there. I've got a feeling the 83+ doesn't use OFFSCRPT.

I try to activate Run on Ram Clear and it resets my calc without installing.

Calc model, OS, zStart version?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 09, 2012, 11:28:32 am
I can't read 8 lvl grayscales pics on my 83+. :'(
I can't read 8 lvl grayscales pics on my 83+. :'(
O.O I can on mine (with 1.3.007 at least).

Do you actually want that? I can do it. It's just that it does corrupt your ram.
I do !!!

Also, we have "run when turning on", why not "run when turning off" ? :D

I mean. That's actually when the run when turning on runs. But unless you can give me a legitimate reason, it's not going to happen.
Is "I want my calc to turn off with style" a legitimate reason ? :P
No, it was just an idea that came in my mind, I don't need this ;)

"run when turning on" don't work on 83+.
It works for me with 1.3.007 (I didn't try 1.3.008 yet)


Also, will zStart support 5 character labels in the label menu ?
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on March 09, 2012, 12:17:11 pm
Also, will zStart support 5 character labels in the label menu ?
Same request, will this feature added soon ? :s
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 09, 2012, 04:51:35 pm
Also, will zStart support 5 character labels in the label menu ?
Same request, will this feature added soon ? :s

Probably not. To be honest, that label menu is one of the things in the app that takes up the most space, and going to 5 characters would actually require quite a change. It might be possible, I'm not positive, but 5 letter sorting will definitely never happen (probably 200 byte addition).
Title: Re: zStart - an app that runs on ram clears
Post by: ztrumpet on March 10, 2012, 11:21:54 pm
Also, will zStart support 5 character labels in the label menu ?
Same request, will this feature added soon ? :s

Probably not. To be honest, that label menu is one of the things in the app that takes up the most space, and going to 5 characters would actually require quite a change. It might be possible, I'm not positive, but 5 letter sorting will definitely never happen (probably 200 byte addition).
Does anyone actually use the Sort for labels?  I've never used it, and although I think it's really cool, I personally find it unnecessary.

I can't read 8 lvl grayscales pics on my 83+. :'(
I can't read 8 lvl grayscales pics on my 83+. :'(
O.O I can on mine (with 1.3.007 at least).

Do you actually want that? I can do it. It's just that it does corrupt your ram.
How much RAM would it take?  Couldn't you have it check to see if there's that much RAM free and only run the picture if it's safe to do so?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 11, 2012, 01:31:05 am
Also, will zStart support 5 character labels in the label menu ?
Same request, will this feature added soon ? :s

Probably not. To be honest, that label menu is one of the things in the app that takes up the most space, and going to 5 characters would actually require quite a change. It might be possible, I'm not positive, but 5 letter sorting will definitely never happen (probably 200 byte addition).
Does anyone actually use the Sort for labels?  I've never used it, and although I think it's really cool, I personally find it unnecessary.
I do. It is really useful when you code in Axe and you want to skip all the data at the beginning or go to a specific routine in your code.

edit: I have 77 respect :P
Title: Re: zStart - an app that runs on ram clears
Post by: parserp on March 11, 2012, 05:54:56 pm
Same here. I use it all the time. :)
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 11, 2012, 05:59:50 pm
But the question is, do you need the labels to be alphabetically sorted? Or will a list in order of appearance work fine?
Title: Re: zStart - an app that runs on ram clears
Post by: parserp on March 11, 2012, 06:00:46 pm
But the question is, do you need the labels to be alphabetically sorted? Or will a list in order of appearance work fine?
Order of appearance is the best IMO.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 11, 2012, 06:03:16 pm
But the question is, do you need the labels to be alphabetically sorted? Or will a list in order of appearance work fine?
Order of appearance is the best IMO.

I would be inclined to agree. I usually like to add my labels/subroutines in a logical order, and alphabetic sorting would probably make it harder for me to find label that I'm looking for.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on March 11, 2012, 06:06:40 pm
Same here.
my sorting is like this:

data here     with labels for easy editing
main loop     ^^
routines
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 11, 2012, 07:34:31 pm
But the question is, do you need the labels to be alphabetically sorted? Or will a list in order of appearance work fine?
Order of appearance is the best IMO.

I would be inclined to agree. I usually like to add my labels/subroutines in a logical order, and alphabetic sorting would probably make it harder for me to find label that I'm looking for.

They aren't currently sorted. Slightly confused lol


But the real question, should the auto-complete in the Lbl menu stay? It is quite large, but if some people swear by it, I'll keep it.

I can't read 8 lvl grayscales pics on my 83+. :'(
I can't read 8 lvl grayscales pics on my 83+. :'(
O.O I can on mine (with 1.3.007 at least).

Do you actually want that? I can do it. It's just that it does corrupt your ram.
How much RAM would it take?  Couldn't you have it check to see if there's that much RAM free and only run the picture if it's safe to do so?

Yeah, I can make that work. When I start adding 83+ specific stuff, I can do that. I'll just make an appvar.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on March 16, 2012, 06:16:59 pm
Bug reports:
On+Del from program editor says "Err:Undefined"
Sometimes compiling from On+# has the program name displayed at compile-time messed up (finished with junk tokens), happens about half the time

Both dealing with archived source, btw
Title: Re: zStart - an app that runs on ram clears
Post by: C0deH4cker on March 17, 2012, 03:26:08 pm
i get the ERR:UNDEFINED too, but only when editing programs in RAM.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on March 25, 2012, 11:39:55 pm
More random bugs, nothing really crippling tho.
Program editor: Trying to do [On+^] / [On+enter] in 2nd>Rcl pop-up thing says "Not enough memory".  Or is it supposed to say that? :P
Program editor: this one's actually a problem: 2nd+Rcl erases undo thing, so [On+^] restores nothing
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 30, 2012, 01:02:40 am
Yet another bug report :P
-pressing "prgm" while in program editor should lead to a token menu (whatever it is called).
-pressing "prgm" while in homescreen should lead to the program list.
Now, in program editor, pressing apps then clear does basically nothing but makes that pressing "prgm" (while in program editor) leads to the program list instead of the token menu.

(see screenshot, everything happen in the program editor. You see that the first time I press "prgm", everything is normal but the second time is wrong).
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 30, 2012, 11:50:54 am
Yet another bug report :P
-pressing "prgm" while in program editor should lead to a token menu (whatever it is called).
-pressing "prgm" while in homescreen should lead to the program list.
Now, in program editor, pressing apps then clear does basically nothing but makes that pressing "prgm" (while in program editor) leads to the program list instead of the token menu.

(see screenshot, everything happen in the program editor. You see that the first time I press "prgm", everything is normal but the second time is wrong).

I've noticed this bug as well. But this is the fault of Omnicalc's quick apps feature, not zStart. And since Omnicalc is a dead project and won't be updated, I don't think it can/will be fixed. :(
Title: Re: zStart - an app that runs on ram clears
Post by: turiqwalrus on March 30, 2012, 12:13:14 pm
Another request:
Could you write an updated readme, please?
I don't really feel like trawling through 48 pages to find every single function(even only the key shortcuts would be nice)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 30, 2012, 02:21:48 pm
The quote system stopped working (fixed)

Quote
Bug reports:
On+Del from program editor says "Err:Undefined"
Sometimes compiling from On+# has the program name displayed at compile-time messed up (finished with junk tokens), happens about half the time

Both dealing with archived source, btw

I've noticed that too, it should be covered in the next update.

Quote
More random bugs, nothing really crippling tho.
Program editor: Trying to do [On+^] / [On+enter] in 2nd>Rcl pop-up thing says "Not enough memory".  Or is it supposed to say that?
Program editor: this one's actually a problem: 2nd+Rcl erases undo thing, so [On+^] restores nothing
1. Those shortcuts shouldn't work there
2. I assume I'm overwriting the extra ram page, I can probably fix that.

Quote
I've noticed this bug as well. But this is the fault of Omnicalc's quick apps feature, not zStart. And since Omnicalc is a dead project and won't be updated, I don't think it can/will be fixed.

Correct on all accounts

Quote
Another request:
Could you write an updated readme, please?
I don't really feel like trawling through 48 pages to find every single function(even only the key shortcuts would be nice)

Will do



Also, I actually do read these as people post them, I didn't just open the thread today ;D
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 24, 2012, 11:50:22 pm
Catalog Help breaks the font hook.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on April 25, 2012, 07:50:41 am
Catalog Help breaks the font hook.
Same here, forgot to report that bug. I used 2.43.

And I got some suggestions to make it even more awesome!
1st make it call automatically when exiting a app so that the hooks are resotred
2nd make a option that runs a program instead of APD
3rd make that you can tell the inactivity time till APD
4th make that you can optional insert the DCS hooks instead of the Omnicalc hooks.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 25, 2012, 08:08:16 am
why runniung a program instead apd? O.o
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on April 25, 2012, 08:09:08 am
To make screen-savers :P
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on April 25, 2012, 08:15:26 am
aha, but then you need to be able to set a timeout for turning off.
Title: Re: zStart - an app that runs on ram clears
Post by: parserp on April 25, 2012, 09:34:56 am
Another suggestion: implement a lowercase-enabling hook so that you don't have to enable it every RAM clear. (or is this already implemented?)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on April 25, 2012, 10:16:30 am
Another suggestion: implement a lowercase-enabling hook so that you don't have to enable it every RAM clear. (or is this already implemented?)
You can set a prog that enables lowercase to run on RAM Clears.
Or run Axe or MirageOS, etc.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on April 25, 2012, 11:09:07 am
Or you could enable omnicalcs lowercase hooks and include omnicalc,.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 26, 2012, 07:36:22 pm
Catalog Help breaks the font hook.
Same here, forgot to report that bug. I used 2.43.

Yeah, it always has, I had to do a hack to make it work actually. For some reason though, lately the hack hasn't worked every single time.

Quote
And I got some suggestions to make it even more awesome!
1st make it call automatically when exiting a app so that the hooks are restored

I believe this is possible, but I'm not sure how well it would work. Also, if the app killed hooks, what's to say it didn't kill the hook that runs this? ;D

Quote
2nd make a option that runs a program instead of APD

That's actually relatively easy with OFFSCRPT, though... I'm not sure that this feature is important enough to add lol

Quote
3rd make that you can tell the inactivity time till APD

Woudn't this reset the apd timer?

Quote
4th make that you can optional insert the DCS hooks instead of the Omnicalc hooks.

I wish, I've asked kerm for over a year for this. The problem is that DCS, unlike Omnicalc, is constantly changing. For Omnicalc, I can simply make calls to certain spots in the app to perform specific features. For DCS on the other hand, it changes code location from one version to the next making this impossible. (The problem is that he won't give me an entry point like Quigibo did)

Another suggestion: implement a lowercase-enabling hook so that you don't have to enable it every RAM clear. (or is this already implemented?)

I think this would be really easy, the only problem is that I have the wrong hook to do this. My keyhook only fires when the calculator receives a key code, this means that 2nd and Alpha don't register. So, if an app or the OS disables lower case, it won't work, but I'm not actually sure how often this happens. So I probably should make this an option.

But yes, Omnicalc and Axe both enable it, so if you have one of those two you'll be good.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 27, 2012, 08:04:23 pm
The OS never disables lowercase, and I've never seen an app do so.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on April 28, 2012, 02:39:03 am

Quote
And I got some suggestions to make it even more awesome!
1st make it call automatically when exiting a app so that the hooks are restored

I believe this is possible, but I'm not sure how well it would work. Also, if the app killed hooks, what's to say it didn't kill the hook that runs this? ;D

Maybe another OS mods that is called directly before displaying the home screen?
Title: Re: zStart - an app that runs on ram clears
Post by: JosJuice on April 28, 2012, 03:08:48 am
The OS never disables lowercase, and I've never seen an app do so.
NoteFolio disables lowercase when exiting. I don't think other apps do it.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on April 28, 2012, 10:08:28 am
Are you still planning to insert grammer hooks?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 28, 2012, 07:35:58 pm
Are you still planning to insert grammer hooks?

The next time I work on this (whenever that is), I'm going to add a parser hook chain option. This will move the infamous ChemMass part of this app into a second program which will free up boatloads of space. Using this parser hook chain, you should be able to use grammer.


Also, with this new space, I'm going to add a help "plugin." What this will do is you have zHelp.8xp on your calculator and whenever you press + on an option in zStart, it will tell you what it does and how it works.

The OS never disables lowercase, and I've never seen an app do so.
NoteFolio disables lowercase when exiting. I don't think other apps do it.

With this in mind, I can enable it when zStart quits and whenever a key is pressed. The only time you'll get into an awkward situation is when you quit NoteFolio and immediately try to use lowercase, though, I don't see this being a common problem.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on April 29, 2012, 12:31:56 am
Will the chaining to keypress slow anything down?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 29, 2012, 09:28:12 am
Will the chaining to keypress slow anything down?

Actually, every time a button is pressed I chain to Omnicalc. But I'm actually not going to chain to keypresses. The parser hook chain clearly chains to the parser hook. And the lowercase one is literally one instruction.
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on April 29, 2012, 02:02:25 pm
COuld someone make a 8xk compatible with normal USB clabes? I can't get zStart because "the version is compatible only with Silver Cable" and it's not my calc (I got it only for TI-Concours).
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on April 29, 2012, 05:08:04 pm
COuld someone make a 8xk compatible with normal USB clabes? I can't get zStart because "the version is compatible only with Silver Cable" and it's not my calc (I got it only for TI-Concours).
That sounds very strange. It shouldn't matter what type of cable you are using to send the app.
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on April 29, 2012, 06:54:48 pm
Stupid usb cable like given with any usb thing (external HDD, phone, Casio CG-20....)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 29, 2012, 07:09:30 pm
COuld someone make a 8xk compatible with normal USB clabes? I can't get zStart because "the version is compatible only with Silver Cable" and it's not my calc (I got it only for TI-Concours).

Ummm... I'm going to guess low batteries. If that doesn't work, try my tutorial on Ti-Connect (http://www.omnimaga.org/index.php?action=articles;sa=view;article=76).
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on April 30, 2012, 06:29:19 pm
For future reference, never read the error messages TI Connect gives. TI Connect's error messages often have nothing to do with what's actually wrong.
Title: Re: zStart - an app that runs on ram clears
Post by: TIfanx1999 on May 01, 2012, 11:47:58 am
^
TI Connect can be very picky, often times without reason. :(
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on May 01, 2012, 04:20:29 pm
COuld someone make a 8xk compatible with normal USB clabes? I can't get zStart because "the version is compatible only with Silver Cable" and it's not my calc (I got it only for TI-Concours).

Ummm... I'm going to guess low batteries. If that doesn't work, try my tutorial on Ti-Connect (http://www.omnimaga.org/index.php?action=articles;sa=view;article=76).

Misses, I recharge every time my batteries
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on May 01, 2012, 05:08:35 pm
Rechargeables just barely give enough voltage to make the calculator happy; try using primary cells.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on May 17, 2012, 04:54:39 am
I got a little question about this: Will the program that runs on zStart will also be run after a ram clear?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 17, 2012, 05:17:46 pm
I got a little question about this: Will the program that runs on zStart will also be run after a ram clear?

Yes, whenever zStart installs stuff, it will run. This even includes ON + CLEAR.
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on May 17, 2012, 10:51:53 pm
Missed a lot of this action. Looking good penguin, I'll try and load this asap :)
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on May 20, 2012, 08:55:57 am
Are you working on any new version on zStart?
And what features are you still planning?
Title: Re: zStart - an app that runs on ram clears
Post by: blue_bear_94 on May 20, 2012, 09:00:41 am
What OS are you using? When I was on 2.55 MP using the program editor crashed my calc.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 20, 2012, 12:23:12 pm
Are you working on any new version on zStart?
And what features are you still planning?

Yeah, school's finally ending so I can get back to this. I already have zStart properly installing on the 83+BE and I'm working on redoing the label menu, moving the chemistry part to a separate app, parser hook chaining, and a catalog help type system.

As well as fixing all the bugs.


Edit:
   I use 2.53. The program editor crash is probably caused by mathprint.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on May 20, 2012, 12:24:11 pm
cool!
Will you also make that the base conversion hook is then all the time on?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 20, 2012, 12:26:12 pm
Yeah, I'll probably end up doing that since I'll have to make the chemistry one good enough to be permanently on.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on May 28, 2012, 01:11:40 pm
I'm working on redoing the label menu
:D

Also, there are a problem with Axe tokens and copy-paste (like Pt-Mask becoming Text)
You are going to say that you already know that :P
But there is a way to avoid this. Add a comment point before the Axe token then copy-paste it, then remove the comment point. This trick can be used by any zStart user but would it be possible that zStart somehow include it in the copy-paste hook ?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 28, 2012, 01:17:45 pm
I'm working on redoing the label menu
:D

Also, there are a problem with Axe tokens and copy-paste (like Pt-Mask becoming Text)
You are going to say that you already know that :P
But there is a way to avoid this. Add a comment point before the Axe token then copy-paste it, then remove the comment point. This trick can be used by any zStart user but would it be possible that zStart somehow include it in the copy-paste hook ?

See, I could fix that, or we could wait for Quigibo to fix it. And the problem is, I have no way to tell whether a token is for Axe or not and while adding and removing the decimal is easy for you, it is very difficult for me.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on May 28, 2012, 01:20:57 pm
See, I could fix that, or we could wait for Quigibo to fix it. And the problem is, I have no way to tell whether a token is for Axe or not and while adding and removing the decimal is easy for you, it is very difficult for me.
Yeah, I understand. It is not that bad since there is the trick to avoid this. Thanks anyway :)
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 28, 2012, 01:28:10 pm
See, I could fix that, or we could wait for Quigibo to fix it. And the problem is, I have no way to tell whether a token is for Axe or not and while adding and removing the decimal is easy for you, it is very difficult for me.
Yeah, I understand. It is not that bad since there is the trick to avoid this. Thanks anyway :)
Not sure if it'll make any difference :P but any random token before the customized one will work; spaces for example.
I was wondering if it was some sort of counting-from-zero vs. from one thing but I guess it could easily be some Axe thing as well.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 28, 2012, 01:37:24 pm
No, the problem is that the Token hook wasn't perfectly documented. The hook is supposed to provide the information about the token as well as the key code that presses it (i.e. 9 for enter), but Quigibo didn't know that. What happens is that when you try to recall a string, the recall process is started by sending the first key press and then the rest is just added. Since Quigibo didn't know about the keypress thing, most of his tokens have 1 or 2 as their keypress code, which is down and left. Down and left don't start the process and the calculator hangs.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 28, 2012, 08:35:45 pm
I can't read 8 lvl grayscales pics on my 83+. :'(


Pictures now fully supported.

"run when turning on" don't work on 83+, bug with 1.3.007 I was allowed to display pics.. but it doesn't work with 1.3.008_83.

Now it does!

Also, will zStart support 5 character labels in the label menu ?
Same request, will this feature added soon ? :s

Probably not. To be honest, that label menu is one of the things in the app that takes up the most space, and going to 5 characters would actually require quite a change. It might be possible, I'm not positive, but 5 letter sorting will definitely never happen (probably 200 byte addition).

"Quite a change" - Indeed it did. I had to rewrite the whole thing. But 5 letter names are now supported

But the real question, should the auto-complete in the Lbl menu stay? It is quite large, but if some people swear by it, I'll keep it.

The answer is no. Auto-complete is gone.

Bug reports:
On+Del from program editor says "Err:Undefined"

Fixed

Quote
Sometimes compiling from On+# has the program name displayed at compile-time messed up (finished with junk tokens), happens about half the time

That got redefined to edit so...

More random bugs, nothing really crippling tho.
Program editor: Trying to do [On+^] / [On+enter] in 2nd>Rcl pop-up thing says "Not enough memory".  Or is it supposed to say that? :P
Program editor: this one's actually a problem: 2nd+Rcl erases undo thing, so [On+^] restores nothing

Both fixed at same time

Another request:
Could you write an updated readme, please?
I don't really feel like trawling through 48 pages to find every single function(even only the key shortcuts would be nice)

zHelp and zHelpLite are for you.

Catalog Help breaks the font hook.

Fixed

Another suggestion: implement a lowercase-enabling hook so that you don't have to enable it every RAM clear. (or is this already implemented?)

Lowercase is permanently on now. Sorry if someone doesn't like it.

Are you still planning to insert grammer hooks?

The next time I work on this (whenever that is), I'm going to add a parser hook chain option. This will move the infamous ChemMass part of this app into a second program which will free up boatloads of space. Using this parser hook chain, you should be able to use grammer.

This happened. zChem is now the chemistry part and parser hook chaining works.


Update!!!


I'm sure there are bugs, so let me know.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on May 28, 2012, 08:55:52 pm
awesome!
Only thing i would have different is the lowercase :p
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 28, 2012, 08:56:42 pm
Awesomeness as usual, even more so this time (that zHelp 0.o)!

Did the labels menu always scroll?


Edit: some bugs.
The Entries menu (via omnicalc) disappeared a couple of times.  Still trying to figure out the conditions in which it happened but iirc it was after running an asm program from the homescreen.
After running MirageOS using the on+apps keyhook and quitting, I got one of those spectacular crashes complete with flashing contrast and vat corruption. This only happened once.

Just deleted the appvar and re-set the stuff, and I'll keep an eye out for more weird stuff :P


Also not sure if I ever mentioned this: Omnicalc's VirtualCalc thing crashes when used with the program editor.  Switching to the other calc works fine but it goes boom when you switch back.

*necro-edit!* just attaching a ub
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on May 29, 2012, 05:55:27 am
Well, i got some baaaaaad bugs back here....
First of all, when trying it out the first time my calc crashed when exiting zstart.
Then, basic programs won't work anymore, calc crashes or it gives some error at normal lines like ClrHome.
Chaining hooks doesn't seem to work to me at all.
Maybe my archive is corrupted as I am having also some problems with DCS, and they were still there after deleting and resending it.
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on May 29, 2012, 10:02:56 am
Just loaded this, loving the label menu and the On+Zoom features for Axe dev.

I haven't encountered any major bugs yet. One time a program name got corrupted, but other than changing the name there were no observable side effects
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on May 29, 2012, 10:27:18 am
that's not a new thing. a few days ago, TAP was changed to TABoxplot for me :P

EDIT: i just noticed that the axe compile option doesn't do fusion yet.
Title: Re: zStart - an app that runs on ram clears
Post by: blue_bear_94 on May 29, 2012, 04:07:06 pm
Well, i got some baaaaaad bugs back here....
First of all, when trying it out the first time my calc crashed when exiting zstart.
Then, basic programs won't work anymore, calc crashes or it gives some error at normal lines like ClrHome.
Chaining hooks doesn't seem to work to me at all.
Maybe my archive is corrupted as I am having also some problems with DCS, and they were still there after deleting and resending it.
First: What calc and OS?
Title: Re: zStart - an app that runs on ram clears
Post by: parserp on May 29, 2012, 04:46:56 pm
Yet another bug: run this code from the archive: (TI-BASIC)
Code: [Select]
:ClrHome
:Prompt A
Once it prompts you, if you press "2ND", "QUIT", it leaves the copy of the program unarchived.
To fix it: run the archived program again and exit through a designated way or press "ON".
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 29, 2012, 10:11:46 pm
Firstly, I've notice that whenever you update zStart, everything goes nuts. I'm not exactly sure why this happens, but usually the first ram clear fixes it.

Awesomeness as usual, even more so this time (that zHelp 0.o)!

Did the labels menu always scroll?


Edit: some bugs.
The Entries menu (via omnicalc) disappeared a couple of times.  Still trying to figure out the conditions in which it happened but iirc it was after running an asm program from the homescreen.
After running MirageOS using the on+apps keyhook and quitting, I got one of those spectacular crashes complete with flashing contrast and vat corruption. This only happened once.

Just deleted the appvar and re-set the stuff, and I'll keep an eye out for more weird stuff :P


Also not sure if I ever mentioned this: Omnicalc's VirtualCalc thing crashes when used with the program editor.  Switching to the other calc works fine but it goes boom when you switch back.

The label menus have always scrolled. You just never noticed it.

When you say entries disappear, what exactly does this entail?

Mirage, not a clue. That might have been your first crash like I was talking about.

Well, i got some baaaaaad bugs back here....
First of all, when trying it out the first time my calc crashed when exiting zstart.
Then, basic programs won't work anymore, calc crashes or it gives some error at normal lines like ClrHome.
Chaining hooks doesn't seem to work to me at all.
Maybe my archive is corrupted as I am having also some problems with DCS, and they were still there after deleting and resending it.

Umm... If it crashes while exiting, delete your appvar. But, if you are having other problems like you say, you might as well run my archive cleaner which you can get to through my sig.

that's not a new thing. a few days ago, TAP was changed to TABoxplot for me :P

EDIT: i just noticed that the axe compile option doesn't do fusion yet.

Ok, it's interesting that you managed to actually rename one. If you can figure something consistent out, I can fix it. But most likely editing the one with the wrong name will fix it.

I don't know what fusion is, is it important enough to add?

Yet another bug: run this code from the archive: (TI-BASIC)
Code: [Select]
:ClrHome
:Prompt A
Once it prompts you, if you press "2ND", "QUIT", it leaves the copy of the program unarchived.
To fix it: run the archived program again and exit through a designated way or press "ON".

This has been around a while. I actually know how to fix it now, so I might try it.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 29, 2012, 10:30:00 pm
Yes it was the first time I (remember) getting a crash when quitting mirage, and yeah it was just after updating :P
As for the Entries menu disappearing, it just didn't work.  2nd+Enter did nothing, while Prgm+Prgm did work (as in it brought up the secondary menu thing).  It hasn't happened since, tho, so I guess it's a one-time thing?

Also, one of two things:
1) can there be a way to compile an Axe program from the homescreen?
2) can the on+sto shortcut return to the homescreen after the compile?
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on May 30, 2012, 09:08:26 am
axe fusion is a new compile method quigibo added that makes smaller programs but requires axe to run.
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on May 30, 2012, 09:21:54 am
What? WOOOO
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 30, 2012, 04:09:15 pm
Keep in mind that it's in no way bug-free, though.:P

Also random crazy idea #18691: in MP OSes using the 96th column as a scrollbar at the homescreen.
Maybe even the 64th row as a horizontal bar for the current active line ;D
And/or using alpha up/down to page up/down.

It would prolly need classic mode, tho.
Title: Re: zStart - an app that runs on ram clears
Post by: Happybobjr on May 30, 2012, 08:47:13 pm
Hopeful idea.

How about turning mathprint off when entering the program editor.
That will remove 90% of my crashes.

I am using a previous version. maybe its already been fixed.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on June 01, 2012, 01:28:42 am
Back to normal stuff :P :
I'm getting a bug in the program editor.  Sometimes after jumping to a label, or even just exiting the label menu, the cursor disappears.
It still edits fine, there's just no blinking box to tell you where you are.
I'm not sure if it's because of the zStart update or because of the 2.53 I recently upgraded to, but it seems to be recurring.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on June 01, 2012, 07:08:45 am

Well, i got some baaaaaad bugs back here....
First of all, when trying it out the first time my calc crashed when exiting zstart.
Then, basic programs won't work anymore, calc crashes or it gives some error at normal lines like ClrHome.
Chaining hooks doesn't seem to work to me at all.
Maybe my archive is corrupted as I am having also some problems with DCS, and they were still there after deleting and resending it.

Umm... If it crashes while exiting, delete your appvar. But, if you are having other problems like you say, you might as well run my archive cleaner which you can get to through my sig.

After using your archive cleaner stuff seemed to work normal again, except that about executing basic programs... D:
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on June 01, 2012, 11:06:04 am
Back to normal stuff :P :
I'm getting a bug in the program editor.  Sometimes after jumping to a label, or even just exiting the label menu, the cursor disappears.
It still edits fine, there's just no blinking box to tell you where you are.
I'm not sure if it's because of the zStart update or because of the 2.53 I recently upgraded to, but it seems to be recurring.
I got that bug too on the previous version
Title: Re: zStart - an app that runs on ram clears
Post by: squidgetx on June 01, 2012, 08:09:37 pm
Also random crazy idea #18691: in MP OSes using the 96th column as a scrollbar at the homescreen.
Maybe even the 64th row as a horizontal bar for the current active line ;D
And/or using alpha up/down to page up/down.

It would prolly need classic mode, tho.
That actually would be pretty epic, maybe On-Up/Down to scroll or something.

In other (not) news, the label menu is really useful. Like really useful. WAY too useful. Props, penguin.
Title: Re: zStart - an app that runs on ram clears
Post by: parserp on June 01, 2012, 09:41:18 pm
In other (not) news, the label menu is really useful. Like really useful. WAY too useful. Props, penguin.
2nd, 3rd, and 4thed. :D
EDIT: That and the availability to edit programs from the archive and compile from the program. :D
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 01, 2012, 10:02:27 pm
Keep in mind that it's in no way bug-free, though.:P

Also random crazy idea #18691: in MP OSes using the 96th column as a scrollbar at the homescreen.
Maybe even the 64th row as a horizontal bar for the current active line ;D
And/or using alpha up/down to page up/down.

It would prolly need classic mode, tho.

I guess I could do that. But, how often do you get into a situation where you are lost in your 30 line homescreen equation?

Hopeful idea.

How about turning mathprint off when entering the program editor.
That will remove 90% of my crashes.

I am using a previous version. maybe its already been fixed.

Actually, the problem with mathprint arises when I try to close and open the edit buffer. If I were to turn mathprint off and on, I would have to close and open the edit buffer yet again, which wouldn't actually change anything.

You could use classic ;D

Back to normal stuff :P :
I'm getting a bug in the program editor.  Sometimes after jumping to a label, or even just exiting the label menu, the cursor disappears.
It still edits fine, there's just no blinking box to tell you where you are.
I'm not sure if it's because of the zStart update or because of the 2.53 I recently upgraded to, but it seems to be recurring.

I know exactly what flag, causes this, but I have no idea how it's getting reset. In any case, I just made it so this can't happen any more.


Well, i got some baaaaaad bugs back here....
First of all, when trying it out the first time my calc crashed when exiting zstart.
Then, basic programs won't work anymore, calc crashes or it gives some error at normal lines like ClrHome.
Chaining hooks doesn't seem to work to me at all.
Maybe my archive is corrupted as I am having also some problems with DCS, and they were still there after deleting and resending it.

Umm... If it crashes while exiting, delete your appvar. But, if you are having other problems like you say, you might as well run my archive cleaner which you can get to through my sig.

After using your archive cleaner stuff seemed to work normal again, except that about executing basic programs... D:

Have you tried deleting the zStart appvar yet? I don't know what would cause basic programs to fail, but killing the appvar might fix it.

In other (not) news, the label menu is really useful. Like really useful. WAY too useful. Props, penguin.

Yay
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on June 02, 2012, 04:36:53 am

Well, i got some baaaaaad bugs back here....
First of all, when trying it out the first time my calc crashed when exiting zstart.
Then, basic programs won't work anymore, calc crashes or it gives some error at normal lines like ClrHome.
Chaining hooks doesn't seem to work to me at all.
Maybe my archive is corrupted as I am having also some problems with DCS, and they were still there after deleting and resending it.

Umm... If it crashes while exiting, delete your appvar. But, if you are having other problems like you say, you might as well run my archive cleaner which you can get to through my sig.

After using your archive cleaner stuff seemed to work normal again, except that about executing basic programs... D:

Have you tried deleting the zStart appvar yet? I don't know what would cause basic programs to fail, but killing the appvar might fix it.
That didn't help at all....I have no idea what could be wrong.
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on June 22, 2012, 04:27:24 pm
I tried "hardware" ==> "execute>C000" ==> Yes ==> No ==> Crash. :D

I'm testing it now I've time !

PS : on 83+
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 25, 2012, 02:30:15 am
I tried "hardware" ==> "execute>C000" ==> Yes ==> No ==> Crash. :D

I'm testing it now I've time !

PS : on 83+

Ok, I was having a bit of trouble with that. But I never tried back to back, thanks for letting me know.
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on June 26, 2012, 05:00:00 am
Indeed zStart is just awesome ! O_o
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on June 26, 2012, 09:45:49 am
yups, it's the single most useful utility ever made =D
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on June 26, 2012, 11:12:02 am
Ok, I've another freeze :
TEST is an Axe source unarchived. In editor ==> apps ==> Axe ==> compile  ==> prgm ==> right (mistake : TEST and another source are not displayed)==> freeze. o_O
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 27, 2012, 09:43:51 am
Ok, I've another freeze :
TEST is an Axe source unarchived. In editor ==> apps ==> Axe ==> compile  ==> prgm ==> right (mistake : TEST and another source are not displayed)==> freeze. o_O

I can't get this to happen. Has it happened more than once?
Title: Re: zStart - an app that runs on ram clears
Post by: kindermoumoute on June 27, 2012, 06:44:45 pm
3 times.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 27, 2012, 07:25:58 pm
Ok, well, what would be really great is if you managed to make it happen in wabbitemu. If you can get to a point where the glitch will occur, and then create a savestate and send it to me, I'll be able to fix it in about 10 minutes.

Just try to make it consistent in wabbitemu, then save it and give me the instructions on what to do.
Title: Re: zStart - an app that runs on ram clears
Post by: parserp on July 02, 2012, 11:14:27 pm
I just tried 1.3.009, It is awesome. But, when I compile an axe prog from the editor, once it compiles, it goes back to the program editor. Is this supposed to happen? Or is it a bug?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 03, 2012, 12:19:21 am
I just tried 1.3.009, It is awesome. But, when I compile an axe prog from the editor, once it compiles, it goes back to the program editor. Is this supposed to happen? Or is it a bug?

It's not a bug, I designed it that way. If you want to run it, use ON + ZOOM or ON + TRACE. No one has ever complained about those not working, so I have to assume they're pretty stable.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on July 12, 2012, 03:38:17 am
I am not sure if this has something to do with zStart but I got a very strange bug O.O
I just hope this won't happen to me during a test.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on July 12, 2012, 04:06:34 am
Lol, that fast blinking cursor? That happed to me once, no idea if it is zstarts fault or not (just saying to let know that that was on more than one calc (I had also font hooks installed (I think)))
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on July 12, 2012, 05:47:31 am
Nope, I was talking about the calculations. The first one gives 24 so the second one should return 24^2 which is not 0 but 576 as the third one says D:
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on July 12, 2012, 05:54:05 am
Oh, just noticed D:
That surely is strange!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 13, 2012, 10:14:53 pm
I am not sure if this has something to do with zStart but I got a very strange bug O.O
I just hope this won't happen to me during a test.

That's actually an OS glitch, but nonetheless it was caused by an app. That's what happens when a getCSC hook is set to an address that is not a getCSC hook. Each of the hooks starts with $83 so that the OS knows it's valid, and normally when the OS looks for a hook and sees that it's not $83, it stops using that hook. For some reason, the getCSC hook doesn't clear the hook and just returns. So when this happens, it just endlessly loops on itself and you really can't fix it.

Now, I don't know if it was actually zStart's fault or not, but I feel like it probably wasn't. The reason why is that I don't have any permanent getCSC hooks and even if I did, they're in the app.

So, before this happened did any of these things happen?


Those could all cause it. Also, if you catch it on a savestate, I can probably tell you what caused it.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on July 14, 2012, 02:27:35 am
Indeed, the last entry is a GarbageCollect. But I still emailed you a save state, so you can check if that was the cause of the bug.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 16, 2012, 02:33:40 pm
Oops, I checked the email on my phone then forgot about it.

Omnicalc had the getCSC hook when the glitch happened. So I blame the OS. (Alternatively, the extra ram page could have been destroyed before the garbage collect and that was what caused it. But I don't know if that would do it.)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on July 16, 2012, 03:05:43 pm
Ok. Sorry for complaining in your thread for no reason then :P
(but that remains a scary bug :-\)
Title: Re: zStart - an app that runs on ram clears
Post by: ibid on July 23, 2012, 05:09:24 pm
here are some bugs:

When the picture on startup goes and is allowed to sit until the calculator APD's; the calc will turn on to freeze like this
(http://img.removedfromgame.com/imgs/crashed.gif)


when you press 2nd Mem 2, edit a program from ON + Num, and then press ON+VARS ENTER, the cursor will vanish


compiling from program will allow you to compile a program like this

PROGRAM:A
:.

leading to an Axe unknown error B225695
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on July 23, 2012, 07:32:34 pm
here are some bugs:

When the picture on startup goes and is allowed to sit until the calculator APD's; the calc will turn on to freeze like this
(http://img.removedfromgame.com/imgs/crashed.gif)

Yeah, at one point APD worked, something must have happened. (I've noticed this too)

Quote
when you press 2nd Mem 2, edit a program from ON + Num, and then press ON+VARS ENTER, the cursor will vanish

That's a really bizarre glitch, but I can recreate it.

Quote
compiling from program will allow you to compile a program like this

PROGRAM:A
:.

leading to an Axe unknown error B225695

That's a good point, the way I check for axe programs allows ones with no names. It should be an easy fix.
Title: Re: zStart - an app that runs on ram clears
Post by: MGOS on August 06, 2012, 05:26:18 am
I finally got around testing this app on my 83+, mainly because of the awesome shortcuts for programming. Hats off, this is great.  :thumbsup:
I'm having trouble with the On + Vars auto archiving. It displays "Archiving" on the right side of the screen for a moment, then strange pixels appear at the left and the top of the screen, then crash, Ram clear, the data in ram wasn't saved.  :-[ (I had a backup, I expected everything to happen ^^)
The rest seems to work fine for me (what I've tested so far).
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on August 06, 2012, 07:14:11 am
Maybe you have any other hooks installed that may not play nice with zstart?
Title: Re: zStart - an app that runs on ram clears
Post by: MGOS on August 06, 2012, 07:22:49 am
Maybe you have any other hooks installed that may not play nice with zstart?
I don't think so. Just the Axe parser hooks. I don't have any shells or other apps.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on August 06, 2012, 07:28:21 am
Mhmm, axeparser hooks should be fine. Did you also try to use axe hooks via zstart? Maybe zstart craches if you they are there but not included :P
Title: Re: zStart - an app that runs on ram clears
Post by: MGOS on August 06, 2012, 07:47:31 am
I don't get what you mean - I enabled the axe parser hooks with zstart, that's everything.
edit: It also crashes when I disable them.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on August 06, 2012, 08:38:21 am
I don't get what you mean - I enabled the axe parser hooks with zstart, that's everything.
edit: I also crashes if i disable them.
Did you send the right app to your calc ? There is a special app for the 83+ and the other one only fully works on non-83+ calcs :)
Title: Re: zStart - an app that runs on ram clears
Post by: MGOS on August 06, 2012, 09:55:03 am
the name is zStart83 in the app menu, so I hope it was the right one
and the rest, like to run things on ram clear works (I tested it with that :P lol)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 06, 2012, 01:00:59 pm
Silly mistake, fixed for temp version.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on August 07, 2012, 12:42:02 am
Feature Request: Can there be some sort of indication of progress for Archive All?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on August 07, 2012, 04:12:42 am
Wouldn't it lag on garbage collection?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 08, 2012, 11:29:11 am
Feature Request: Can there be some sort of indication of progress for Archive All?

That would actually be fairly easy I believe. I could probably even display the names as I archive them.

Wouldn't it lag on garbage collection?

What?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on August 28, 2012, 07:08:07 pm
/me pokes making a option to always have molar mass enabled
And please fix hook chaning :P
AAAAAAAnd, i got a nice idea:
make it possible to access the finance app by hitting apps twice! :D
That way you can still access it when you hide it with omnicalc (or maybe you could upload a moded version of omnicalc or something )
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 28, 2012, 09:31:34 pm
/me pokes making a option to always have molar mass enabled
And please fix hook chaning :P
AAAAAAAnd, i got a nice idea:
make it possible to access the finance app by hitting apps twice! :D
That way you can still access it when you hide it with omnicalc (or maybe you could upload a moded version of omnicalc or something )

I agree, I need to fix the hook chaining, it's so close to working.

Molar mass was completely removed, but the hook chaining would fix that.

The double apps to finance thing should work, you just couldn't use it with quick apps (quick apps is actually a mini app rather than a menu). The only trouble I see here is that I would only want to do this if you did indeed remove the finance app, and running a lookup of the Omnicalc appvar might be slow, but I'll see how slow. (Well, the apps button is pretty slow anyways so I guess my definition of slow doesn't work here)

And I'm not patching omnicalc :P


And if you're wondering why I haven't updated this recently, college would be the answer. But I think the chaining thing should be an easy fix. (Hopefully)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 29, 2012, 01:36:41 am
Slight update that includes axiom (2 byte change) (http://ourl.ca/10110/323735)

Update!!!
(This has been such a long update I'll probably miss some things)
Title: Re: zStart - an app that runs on ram clears
Post by: p2 on August 29, 2012, 07:32:32 am
is there a helpfile anywhere, showing up all current keys/commands/whatever ?
btw: great work! :D
Title: Re: zStart - an app that runs on ram clears
Post by: ACagliano on August 29, 2012, 08:18:21 am
Quote
And if you're wondering why I haven't updated this recently, college would be the answer.

HAHA! True that. It's the bane of all things you love.
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on August 29, 2012, 09:51:44 am
hey! it's ALWAYS wonderful to see updates here, no matter how long they take./me can wait patiently =)

and college is only annoying for the first year or so; after that, you finish the mandatory classes unrelated to your major and start studying things that you find really interesting (unless you picked a major you don't enjoy D=)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 29, 2012, 02:17:10 pm
is there a helpfile anywhere, showing up all current keys/commands/whatever ?
btw: great work! :D

Yeppers, zHelp and zHelpLit. (zHelp is the better, though larger, version)

hey! it's ALWAYS wonderful to see updates here, no matter how long they take./me can wait patiently =)

and college is only annoying for the first year or so; after that, you finish the mandatory classes unrelated to your major and start studying things that you find really interesting (unless you picked a major you don't enjoy D=)

Thanks, and yeah, I realize that even after like a month or so, things will be back to normal.
Title: Re: zStart - an app that runs on ram clears
Post by: Link on August 30, 2012, 12:11:15 pm
First off all great work, second on version 2.55MP, with math-print enabled, installing zstart causes programs not to be editable, resulting in garbage text, along with a RAM clear. A solution courtesy of Deep Thought is o turn off Mathprint, which works.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 30, 2012, 03:39:25 pm
First off all great work, second on version 2.55MP, with math-print enabled, installing zstart causes programs not to be editable, resulting in garbage text, along with a RAM clear. A solution courtesy of Deep Thought is o turn off Mathprint, which works.

Wow, I didn't realize it's gotten that bad. MathPrint compatibility has slowly gotten worse over time, but I didn't know that programs were un-editable.

I might have to try to fix that.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on August 31, 2012, 02:04:28 am
Cool, I downloaded! :D
And with molar mass I meant base conversion :P
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on August 31, 2012, 12:43:00 pm
Chaning doesn't seem to work here, i use grammer hooks and can run grammer programs from homescreen, i chane 'em to zstart and i can't run 'em anymore, err:syntax
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 31, 2012, 01:22:43 pm
Chaning doesn't seem to work here, i use grammer hooks and can run grammer programs from homescreen, i chane 'em to zstart and i can't run 'em anymore, err:syntax

Explain

I literally have no idea what you mean lol
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on August 31, 2012, 01:30:03 pm
Ok, i run grammer and install it's hooks, then i run a grammer program from homescreen to see if they are working. They are.
(zstart not involved yet)
Now I chain the grammer hooks to zstart, and then run a grammer program from homescreen but zstart probably thinks it is a ti-basic program so it gives error:syntax at my second line (comments that start with // )
So, the hook chaining isn't working on executing programs D:
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on September 02, 2012, 07:33:45 pm
another feature request: make that the on-shortcuts for axe also allow axe fusion (the new mode)
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on September 03, 2012, 03:03:39 pm
Bug Report:
Tried Recalling STRANGE from Archive into NYMPLAY (empty and in RAM) and it seemed to get corrupted in the process.
Differences I noticed:
Every r got replaced with a sequence containing several interpuncts (the character the calc uses to display a token it doesn't have a character for), an F1, and it ended with an End token.
Every E token was missing.
Every { was missing.
But when I opened it up today, NYMPLAY was just fine.

EDIT: OS 2.55, MathPrint off, custom font on.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 03, 2012, 04:06:09 pm
Ok, i run grammer and install it's hooks, then i run a grammer program from homescreen to see if they are working. They are.
(zstart not involved yet)
Now I chain the grammer hooks to zstart, and then run a grammer program from homescreen but zstart probably thinks it is a ti-basic program so it gives error:syntax at my second line (comments that start with // )
So, the hook chaining isn't working on executing programs D:

Like I said on irc, this won't be the easiest thing to fix. But, in a sense, parser hook chaining is working properly, it's just the order of operations that's a little weird.

another feature request: make that the on-shortcuts for axe also allow axe fusion (the new mode)

Eventually

Bug Report:
Tried Recalling STRANGE from Archive into NYMPLAY (empty and in RAM) and it seemed to get corrupted in the process.
Differences I noticed:
Every r got replaced with a sequence containing several interpuncts (the character the calc uses to display a token it doesn't have a character for), an F1, and it ended with an End token.
Every E token was missing.
Every { was missing.
But when I opened it up today, NYMPLAY was just fine.

EDIT: OS 2.55, MathPrint off, custom font on.

Those are some pretty sweet errors. I'm not going to look into this though until runer releases his patched Axe which fixes the copy/paste bug. I've got a feeling that it will fix this as well.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on September 03, 2012, 04:31:06 pm
Ok, i run grammer and install it's hooks, then i run a grammer program from homescreen to see if they are working. They are.
(zstart not involved yet)
Now I chain the grammer hooks to zstart, and then run a grammer program from homescreen but zstart probably thinks it is a ti-basic program so it gives error:syntax at my second line (comments that start with // )
So, the hook chaining isn't working on executing programs D:

Like I said on irc, this won't be the easiest thing to fix. But, in a sense, parser hook chaining is working properly, it's just the order of operations that's a little weird.
So, will you still add it?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 03, 2012, 04:34:00 pm
Ok, i run grammer and install it's hooks, then i run a grammer program from homescreen to see if they are working. They are.
(zstart not involved yet)
Now I chain the grammer hooks to zstart, and then run a grammer program from homescreen but zstart probably thinks it is a ti-basic program so it gives error:syntax at my second line (comments that start with // )
So, the hook chaining isn't working on executing programs D:

Like I said on irc, this won't be the easiest thing to fix. But, in a sense, parser hook chaining is working properly, it's just the order of operations that's a little weird.
So, will you still add it?

Yes, Grammar isn't going to have to parser chain, it'll be natively supported. But, right now, college.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on September 15, 2012, 08:44:04 pm
I got a idea how to make it moar awesome!
Well, i have that one program run on zstart you made ages ago penguin
aaaaaaand, i have symbolic
symbolic doesn't play nice with it
but if i run graph3in on homescreen and then enter graph3 menu everything is working fine
so, why not add a option for a program to run on homescreen? :D
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 16, 2012, 04:53:01 pm
I got a idea how to make it moar awesome!
Well, i have that one program run on zstart you made ages ago penguin
aaaaaaand, i have symbolic
symbolic doesn't play nice with it
but if i run graph3in on homescreen and then enter graph3 menu everything is working fine
so, why not add a option for a program to run on homescreen? :D

I run them in exactly the same way, I'm not sure why it would make a difference.

My best guess is that symbolic and graph3 are fighting with hooks, so I don't think you are going to have a nice fix for this.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on September 16, 2012, 06:04:34 pm
mhmm, but if i manually run graph3in from homescreen and then enter the graph3 stuff it is working fine, symbolic is always working fine.
Title: Re: zStart - an app that runs on ram clears
Post by: TexasInstruments84 on November 10, 2012, 10:25:38 pm
Whenever I try converting my image, it says "Wrong Header Type!!". Can you help me convert them? I have 2 sizes (96x64 and 192x128)

Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 10, 2012, 10:28:39 pm
Whenever I try converting my image, it says "Wrong Header Type!!". Can you help me convert them? I have 2 sizes (96x64 and 192x128)

I don't have time right now, but try saving them with a different program. I know gimp always works, and I would assume paint would work as well. (Also, those are both 192x128).
Title: Re: zStart - an app that runs on ram clears
Post by: TexasInstruments84 on November 10, 2012, 11:10:56 pm
Saving them in paint worked. Thanks!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 15, 2012, 12:07:05 am
I made an axiom!!

This axiom is called zstaxe (clever, I know) and it allows Axe programmers to access the zStart assembly api. There are internally separate version for Axe programs and Axe apps, but externally you can't tell (other than a little discrepancy on the edit command).

Fpdf(progName) - runs progName using zStart, (this can also run apps lol)
    - progName - ptr to string - this is simply the name of the program with it's type byte
        - "prgmNAME" for programs
        - [14]"APPNAMES" for apps (apps are hard to get the name right, see note below)
  Outputs:
      - 01 - zStart not found
      - FF - program thinks it was run by a shell (and might require cleanup) (this can also mean progName not found)
      - 00 - program thinks it was run by the homescreen


Fpdf(progName, offset) - edits progName using zStart
    - progName - ptr to string
    - offset - offset in bytes into program to start editing (instant goto, resolves 2 byte tokens)
  Outputs:
      - program version - 01 - program or zStart not found - 00 - good to go
      - app version - this shouldn't return but if it does - 01 - no zStart - FF - no program
  Notes:
      - for the program version you need to quit back to the homescreen in order for it to actually edit the program (sorry, I can't fix this nicely)

Note about apps names:
   You need to match the app name perfectly, and what I mean by this is that all app names are actually 8 characters, and you need to figure out whether the extra ones are zeros or spaces. For instance: zStart is "zStart", 0, 0 and Calcsys is "Calcsys ". If you want to pad with zeros in axe, you need to do "zStart"[0000]. That will put the extra zeros on. So, the names of these two apps would be:
  - [14]"zStart"[0000]
  - [14]"Calcsys "


There's also a 2 byte memory leak in the current version of zStart, so I have a slightly updated version here for the axiom. The memory leak was making it crash.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 15, 2012, 12:39:46 pm
Thanks, that is great :D
I'll try this whenever I have some spare time :)
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on November 22, 2012, 01:31:30 pm
This one will freeze your calc after a BASIC input/prompt. So don't use it unless you want the Axiom. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 23, 2012, 10:26:00 am
This one will freeze your calc after a BASIC input/prompt. So don't use it unless you want the Axiom. ;)

What do you mean? (I can probably fix it)
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on November 23, 2012, 02:43:02 pm
Well, when I use zStart 1.3.010 (the one linked in your sig), this problem doesn't exist. But with 1.3.010b (the one four posts above), any time a BASIC program calls input or prompt, the calc will freeze and I have to pull a battery. <_<
Edit : It happens exactly when I press enter to confirm my input.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 27, 2012, 12:57:04 pm
Are you going to make the label menu support up to 13 characters, as the new Axe version allows it ?

I don't know if it is a good idea or a bad one, since there won't be a lot of label columns on the screen if you support 13 chars, and I don't know if people will really use more than 5 chars ???
In fact, I think I'll only use 13 characters in my label if zStart supports it :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 27, 2012, 12:59:30 pm
Are you going to make the label menu support up to 13 characters, as the new Axe version allows it ?

I don't know if it is a good idea or a bad one, since there won't be a lot of label columns on the screen if you support 13 chars, and I don't know if people will really use more than 5 chars ???
In fact, I think I'll only use 13 characters in my label if zStart supports it :P

Definitely no. This would totally break the way that I store them and I would only be able to support like 51 labels. (As opposed to 109).
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 27, 2012, 01:20:44 pm
Are you going to make the label menu support up to 13 characters, as the new Axe version allows it ?

I don't know if it is a good idea or a bad one, since there won't be a lot of label columns on the screen if you support 13 chars, and I don't know if people will really use more than 5 chars ???
In fact, I think I'll only use 13 characters in my label if zStart supports it :P

Definitely no. This would totally break the way that I store them and I would only be able to support like 51 labels. (As opposed to 109).
Ok :)
But if I use a label with 13 characters, it will still appear in the menu, just only with its 5 first letters, right ?
Because I plan to use 5 chars in my main labels (to keep them compatible with the menu, and I don't need more anyway) but maybe more in some subroutines that need explicit names.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 27, 2012, 05:26:20 pm
This sounds pretty cool! Maybe you could also do stuff like set program on ram clear or at startup if you know what i mean :P
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on November 28, 2012, 01:14:36 am
This sounds pretty cool! Maybe you could also do stuff like set program on ram clear or at startup if you know what i mean :P
zStart can already do this ???
Or maybe I misunderstood the question ?
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on November 29, 2012, 04:02:14 pm
Well, when I use zStart 1.3.010 (the one linked in your sig), this problem doesn't exist. But with 1.3.010b (the one four posts above), any time a BASIC program calls input or prompt, the calc will freeze and I have to pull a battery. <_<
Edit : It happens exactly when I press enter to confirm my input.
Just bumpin' this report as it seems like no one saw it.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 30, 2012, 01:30:10 am
Well, when I use zStart 1.3.010 (the one linked in your sig), this problem doesn't exist. But with 1.3.010b (the one four posts above), any time a BASIC program calls input or prompt, the calc will freeze and I have to pull a battery. <_<
Edit : It happens exactly when I press enter to confirm my input.
Just bumpin' this report as it seems like no one saw it.

I saw it, but I don't update zStart that often (I also didn't want to make a second sub-update). My only reply could have possibly been like "OK" or something. And since Hayleia's post started a new page, I didn't see it again to quote you.

But have no fear, every time I update zStart, I begin at the previous update and fix every problem that someone mentions.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on January 17, 2013, 12:00:39 pm
Could there be a shortcut to force an APD? Press [ON] and [APPS] and an APD occurs.
EDIT: Turns out, this feature already exists! D'oh!
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on January 17, 2013, 12:29:55 pm
did you ever see this topic (http://ourl.ca/18137)?
would adding something like that be too much effort/slow down hooks a lot?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on January 17, 2013, 01:24:21 pm
Could there be a shortcut to force an APD? Press [ON] and [APPS] and an APD occurs.
It already does it with ON+Stats iirc.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on January 17, 2013, 04:40:20 pm
Could there be a shortcut to force an APD? Press [ON] and [APPS] and an APD occurs.
It already does it with ON+Stats iirc.
So it does.
Ok, then.

Could there be any way to speed up the program menu?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on January 17, 2013, 05:30:35 pm
Could there be any way to speed up the program menu?
Maybe it would be possible somehow similar as omnicalc speeds up the apps menu?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 17, 2013, 07:54:38 pm
did you ever see this topic (http://ourl.ca/18137)?
would adding something like that be too much effort/slow down hooks a lot?

lol (http://ourl.ca/18137/333659)


Could there be any way to speed up the program menu?

I could probably do it. The only downside is that it has to reside in extra ram (which means it might get corrupted.) And it would probably break my current hooks that work in the program menu.
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on January 17, 2013, 09:02:22 pm
XD
i have no idea how i didn't see that.
Title: Re: zStart - an app that runs on ram clears
Post by: ablahblah on January 24, 2013, 12:29:40 am
well, this is by far the most useful app I've ever used! finally i'm not wasting time putting every setting back in place when I want to go RAM clear, I'm actually encouraging myself to do that more often now :P

one thing though, I can't seem to get custom fonts working with programs? if I go make a new custom font in zstart it'll find that, but it won't find any font existing as a program, archived or not.
I also setup symgraph as a part of startup for zStart, but after that, the run from home option seems to be failing ._.?
Title: Re: zStart - an app that runs on ram clears
Post by: MGOS on January 24, 2013, 10:01:54 am
I came across this "bug" multiple times now:
When you turn off the calculator while you're editing an archived program (the copy of one), and zStart wants to store the edited version and GarbageCollect appears, the LCD turns off and and it doesn't react on any key presses (calc behaves like turned off, but it isn't) before you can do a GarbageCollect. You need to remove the batteries and lose the current progress which is kinda annoying :/
Is there someway you can prevent the calc (or its peripherals) from turning off when the program isn't saved yet?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 24, 2013, 01:59:00 pm
well, this is by far the most useful app I've ever used! finally i'm not wasting time putting every setting back in place when I want to go RAM clear, I'm actually encouraging myself to do that more often now :P

one thing though, I can't seem to get custom fonts working with programs? if I go make a new custom font in zstart it'll find that, but it won't find any font existing as a program, archived or not.
I also setup symgraph as a part of startup for zStart, but after that, the run from home option seems to be failing ._.?

Are you talking about Omnicalc fonts? Those aren't perfectly compatible with zStart fonts (for meh reasons) but if you look back far enough in this thread, I believe DrDnar made an Axe program to convert them. It's at least 10 pages back though.


I came across this "bug" multiple times now:
When you turn off the calculator while you're editing an archived program (the copy of one), and zStart wants to store the edited version and GarbageCollect appears, the LCD turns off and and it doesn't react on any key presses (calc behaves like turned off, but it isn't) before you can do a GarbageCollect. You need to remove the batteries and lose the current progress which is kinda annoying :/
Is there someway you can prevent the calc (or its peripherals) from turning off when the program isn't saved yet?

Well that's a super specific bug. Garbage collect is sketchy as it is, and then throwing in the shutdown sequence just makes it more confusing. I'll try to figure out what I can do, but that doesn't sound easy to fix.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on January 24, 2013, 03:26:24 pm
Can we have find|replace?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on January 24, 2013, 08:24:43 pm
That is axctually a pretty awesome idea but how should it be handled? Like find promps a input, and if you input plain text instead of tokens, will it tokenize that etc?
Title: Re: zStart - an app that runs on ram clears
Post by: shmibs on January 25, 2013, 12:48:04 am
it seems like it would be a lot easier to just insert a line wherever you are in the program, write whatever you want to find/replace on that, and then press some key combo. it wouldn't take up nearly as much space, either.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 25, 2013, 07:26:45 pm
it seems like it would be a lot easier to just insert a line wherever you are in the program, write whatever you want to find/replace on that, and then press some key combo. it wouldn't take up nearly as much space, either.

Yeah, I would think that it would search for whatever is in the clip board. You would have one combo that is strictly find, and another that is find/replace. The find would simply find, and the find/replace would find on the first press, and replace if it was sitting directly on the specific string.

Well, I made that easy enough that it might get implemented some day. Well see.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 04, 2013, 01:53:23 am
I had some stupid ideas you could implement if you get bored some day :P
-Add an APD function to zStaxe. It would obviously turn on APD then return to the program where it left.
-Add a turn calc off function to zStaxe. It would quit the program then turn the calc off "completely" and "truly". I mean not an APD and not a low-battery trick, but a power down that would trigger the 8scale picture and the startup program at startup.
-Add a still screenshot function (this one is really if you get really bored :P). Pressing ON+whatever would copy the "screen" to zStart's clipboard (the same clipboard as the copy-paste function in the editor) in hex format (hoping the clipboard supports 1536 bytes).
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on February 04, 2013, 02:36:58 am
-Add a turn calc off function to zStaxe. It would quit the program then turn the calc off "completely" and "truly". I mean not an APD and not a low-battery trick, but a power down that would trigger the 8scale picture and the startup program at startup.
The only to truly turn off a calculator is to remove all four AAAs and the backup battery. The calculator requires about 70 microamps to maintain RAM contents and to be able to sense when the ON key is pressed. The OS itself uses the same "low-battery trick" you speak of. Some really old programs may not do it correctly, but I doubt that's a problem anymore. (The correct code should be located on WikiTI.)

More technical information: During a normal power-down, writing to a port configures the ASIC to enter a special low-power mode when it sees the CPU core enter the HALT state. Hardware-wise, there is no difference between the OS doing it and a RAM program or application doing it. In both cases, pressing ON issues an interrupt that terminates the HALT state, and the ASIC exits low-power mode. The CPU then continues executing instructions from where ever it left off.

So why does removing a battery when in a RAM program cause a RAM reset, but no reset happens when the OS does it? It's a bit of a long story: Disconnecting the main AAAs will cause the ASIC and the CPU to hard-reset---except for RAM, which continues to be powered from the backup battery. When power is restored, the CPU is immediately hard-reset, and the boot code boots. It sees that the OS is valid, and transfers control to the OS after initializing some hardware. Now, when the OS turns off normally or APDs, it calculates a checksum for RAM. So, after you reinsert the AAAs, the OS sees that the RAM checksum is still valid, and that RAM should not be reset.

Cool fact: The calculator boots immediately after restoring main power. The OS (or boot code, if no OS is present) checks the state of the ON key after booting; if it isn't being pressed, it immediately does a normal power-off, as mentioned above.

Also, if you remove a battery at the homescreen with the blinking cursor, the calculator actually stays on for a split second, during which time an interrupt (HW timer 2) fires. The OS, seeing the power outage, changes the RAM checksum to a special value to signal that a RAM reset should be not performed after power is restored. This behavior is activated by a particular flag, which assembly programs should not normally use due to a memory-leak issue. (Specifically, CPU control is not returned to the running program; it's just like doing JForceCmdNoChar.) Although, I suppose a custom OS could take a few microseconds to save the CPU state. Actually, that should be a zStart feature: improved RAM-reset prevention for compatible programs. (It won't work if the interrupt handler is not called, which can be either because interrupts are disabled or the current program is using a custom interrupt.)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 04, 2013, 01:06:49 pm
I had some stupid ideas you could implement if you get bored some day :P
-Add an APD function to zStaxe. It would obviously turn on APD then return to the program where it left.
-Add a turn calc off function to zStaxe. It would quit the program then turn the calc off "completely" and "truly". I mean not an APD and not a low-battery trick, but a power down that would trigger the 8scale picture and the startup program at startup.
-Add a still screenshot function (this one is really if you get really bored :P). Pressing ON+whatever would copy the "screen" to zStart's clipboard (the same clipboard as the copy-paste function in the editor) in hex format (hoping the clipboard supports 1536 bytes).

Well, I'm not going to to add those functions to zStaxe because zStaxe is simply a way to call zStart's assembly API from Axe programs.


APD inside a program really isn't APD at all, it's just turning the calculator off temporarily and it looks like this:
Code: [Select]
ld a, 1
out (03), a
ei
halt

 Asm(3E01D303FB76)

Which, as DrDnar wanted me to remind you, is just as good as turning the calculator off with 2nd+ON as far as power is concerned. This is actually the exact same code the OS runs to turn the calculator off.


Properly doing an OS turn off is a bit more challenging. You have to deallocate your program from memory and then run bcall(_powerOff). This one would be a bit much to give you the Asm( for so I guess it should go in an Axiom. The only problem with this is that it doesn't play nicely with shells. Shells do their own thing. A good example would be if you were running your program from RAM. The shell would copy the program to $9D95 and then when you deallocate it, you would delete it. The end result is that you no longer have that program.


And the screenshot thing I could actually do and I don't think it would be that hard.

Edit:
   Optimized
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 05, 2013, 01:06:32 am
Ok, thanks both of you for your explanations and your time :)
Title: Re: zStart - an app that runs on ram clears
Post by: willrandship on February 05, 2013, 02:44:37 pm
FYI: I think the zstart on Ticalc.org has two of the 83+ version. When I send either to my calc they're named zstart83.

I'm using the link from here now :P lesson learned, but you might want to fix that.
Title: Re: zStart - an app that runs on ram clears
Post by: TheNlightenedOne on February 13, 2013, 09:20:19 pm
How do you enable running a program on startup? ???
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on February 13, 2013, 10:06:50 pm
in the program menu hit [ON]+(one of the three keys . (-) 0, which one i don't remember)
Title: Re: zStart - an app that runs on ram clears
Post by: willrandship on February 14, 2013, 02:08:31 am
The zHelp program that comes with zStart gives documentation of all those shortcuts on-calc.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 17, 2013, 05:08:40 am
Not really on topic, but do you have any plans to port it to the 84+CSE ?
I can understand it would take some time for the Run On RAM Clear function to be ported, but I'd still like to see the label menu, the homerun, the program on startup and picture on startup (even if this one is not going to be hard to do in an external program now that there will be native support for colors) options on the 84+CSE :)
Title: Re: zStart - an app that runs on ram clears
Post by: willrandship on February 17, 2013, 05:22:44 am
Even those could be substantially different. They all rely heavily on OS hooks, which are not even close to guaranteed. If TI drops assembly compatibility (which they did) then there's no reason to preserve hooks either.
Title: Re: zStart - an app that runs on ram clears
Post by: MGOS on February 21, 2013, 10:03:09 am
I found another bug with Axe compilation. Unlike Axe, zStart doesn't check whether a program is compilable or not, so you can accidentally compile another source file (e. g. a file with subroutines etc.) which is not meant to be compiled as the main program by Axe. It causes Axe to crash or compile another program (like the one directly above or below (?) in the program list). Of course you can avoid this by not doing the On + Sto-> in the wrong place but it happened multiple times when I didn't watch out.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on February 22, 2013, 08:07:42 am
I noticed that too.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 22, 2013, 03:38:27 pm
Ok, I'll fix that when I fix stuff.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 25, 2013, 11:34:25 am
Feature idea:
For now, when we are in the program editor, we have shortcuts to quickly compile an Axe source execute it and come back to editing.
Could there be the possibility to have the same (without the compiling part) for Basic and Grammer programs ?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on February 26, 2013, 08:33:15 pm
Suggestion: Checking the os of a 83+SE before isntalling run on ram clear instead of only making the calc ram clear (it did that with os 1.15)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on February 28, 2013, 05:59:11 pm
Feature idea:
For now, when we are in the program editor, we have shortcuts to quickly compile an Axe source execute it and come back to editing.
Could there be the possibility to have the same (without the compiling part) for Basic and Grammer programs ?

I'm almost 100% positive it works with basic programs too. Grammer, maybe someday.

Suggestion: Checking the os of a 83+SE before isntalling run on ram clear instead of only making the calc ram clear (it did that with os 1.15)

Oops, that's a good idea.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on March 01, 2013, 01:36:15 am
Yup, it works with basic.
Title: Re: zStart - an app that runs on ram clears
Post by: TIfanx1999 on March 02, 2013, 09:16:32 am
FYI: I think the zstart on Ticalc.org has two of the 83+ version. When I send either to my calc they're named zstart83.

I'm using the link from here now :P lesson learned, but you might want to fix that.
I just wanted to let you know that I can verify this. One of them is named as though it's the 84+ version, but they are actually both copies of the TI-83+ Version. I was trying to get a copy from Ticalc yesterday while Omnimaga was down.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 08, 2013, 03:45:26 pm
I have absolutely no idea what is going on ???
I am making a program using zstaxe and it has many problems. I don't know at all if that comes from zstaxe, maybe it is Wabbitemu's fault, but the problems appeared when I added zstaxe, so I assumed it was its fault.

First problem:
When the first 3 lines of the code were those,
#Axiom(ZSTAXE)
#Axiom(TEXT)
#Axiom(AMEMKIT)

Axe freezed a few seconds after the first pass, then continued compiling and the outputted program "worked".
Then, I tried changing the first 3 lines in to this (basically, changing their order):
#Axiom(AMEMKIT)
#Axiom(TEXT)
#Axiom(ZSTAXE)

And the freezing time disappeared ???

Second problem:
I said "worked" because the background image had an offset, for some reason, even though I didn't change any command on the background drawing code.

Here is the full source code if you are interested, in spoiler. See the offset in Lbl DG, there is a "+156" that should normally not be necessary but the background is not at the right place if that "+156" is not there.
Spoiler For Spoiler:
.A1DROID

Fix 5
Axiom(AMEMKIT)
Axiom(TEXT)
Axiom(ZSTAXE)

L1+714->°TC

[03]
[]->°Credits
"Quigibo, Runer 112: Axe Parser"[00]
"Thepenguin77: zStart, zStAxe"[00]
"Jacobly: TEXT-AMEMKIT Axioms"[00]

[]->°Sprites
[00001E00210021FC20047FFE400240024002400240024002400240027FFE0000].Folder16^^2
[9999000000008001800100000000800180010000000080018001000000009999].Empty16^^2
[0180324C4E7240022BD4242469968A599A51699624242BD440024E72324C0180].Settings16^^2
[07E01818200440024602878187E187F987F987E18781460240022004181807E0].ExecProg
[FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF].Credits

3->°NbOpt
[]->°OptNames
"Settings"[00]
"ExecProg"[00]
"Credits"[00]

.put here the labels of the subroutines of the included options, then we'll call it with a Goto {...}^^r
Data(|LSettings^^r,|LExecProg^^r,|LCredits^^r)->°Labels

Lbl CODE

Fill(L5,128,0)
[07]->°List
"ExecProg"[0000]
"Settings"[0000]
"|vTEST"[0000000000]
[00000000000000000000]
"|vTEST2"[00000000]
"Credits"[000000]

"|vTEMPBUFF"->Str0
DelVar Str0
GetCalc(Str0,10000)->A
!If
 Disp "NOT ENOUGH MEM"
 Pause 3600
 Goto RET
End
ClrDraw^^r^^r


0->B->C->D
Lbl Menu
Fill(A,10000,0)

Copy(°List+1,L5,{°List}-1*10)
For(theta,0,11)
 theta*10+L5->Z
 .options included in the prog
 For(W,0,°NbOpt-1)
  !If Equ>String(Z,stdDev(°OptNames,W)->r1)
   r1->T
   W*32+°Sprites+64->S
  End
 End
 .other options
 !If {Z}
  "Empty"->T
  32+°Sprites->S
 Else!If -21
  .Folder in |var
  Z+1->T
  °Sprites->S
 End
 ~1->r1
 For(16)
  {r1++*2+S}^^r->{theta/3*24+r1+1*12+(theta^3*4)+1+A}^^r
 End
 TEXT(theta^3*32,17,T,theta/3*24*12+A)
End
TEXT(,,"Top Text Test",L6)
TEXT(0,57,"Bottom Text Test",L6)
Fill(L6+84,12,255)
Fill(L6+672,12,255)
GreyON()

Lbl MainL
While 1
 B->T
 getKey(1)?D?B+24->B,+1->D
 getKey(4)?D?-1->D,B?-24->B
 getKey(3)-getKey(2)+C+3^3->C
 B/24+D*3+C->Z
 .Z holds number of current choice
 If getKey(54)
  For(W,0,°NbOpt-1)
   !If Equ>String(Z*10+L5,stdDev(°OptNames,W))
    Goto ({W*2+°Labels}^^r)
   End
  End
 End
 For(30)
  Copy(T<B+T-(T>B)->T*12+A,L6+96,576)
  T!=B*5+1
  Pause
 End
EndIf getKey(15)

Lbl RET
DelVar Str0
LnReg
ClrHome
Return

Lbl Notif
->r1
Copy(L6,L1+84,84)
Fill(L1,84,255)
0->ZXmin+1->ZXmax->Z
ZXsclr1,L1)
For(2)
 Pause Z*200+1
 7->r1
 For(7)
  Copy(r1--*12+L1,L6,84)
  .DispGraph
  Pause 50
 End
 Exch(L1,+84,84)
End
Return

Lbl TEXT
r2->ZXmin
r1->ZXmax
ZXsclr3,r4)
Return

Lbl WKP
Pause 200
Lbl W4P
While 1
EndIf getKey(0)
Return

Lbl WLP
While 1
Pause 50
End!If getKey(0)
Return

Lbl GreyON
FnOff
fnInt(DG,0)
Return

Lbl DG
TC++
!If ^10
 Cursor()
 DispGraph(L6,°BG+156)^^r
 Cursor()
End
Return

Lbl Cursor
RectI(C*32,D*24+8,32,24)
Return

Lbl Settings
stdDev(°OptNames,0)
sub(Notif)
Goto Menu

Lbl ExecProg
FnOff
Prgm()
If
 DelVar Str0
 .DelVar TEMPBUFF to save mem
 Fill(L5,128,0)
 .Clears L5 to prevent strange tokens on homescreen
 Fpdf(T)
End
Goto Menu

Lbl Credits
stdDev(°OptNames,2)
sub(Notif)
Goto Menu

Lbl Prgm
.browse programs and returns pointer to selected program, or 0 if no programs found
.btw, how could there be no program if you launched this program ?
StorePic
ClrDraw(L1)
0->N
First(5)
If
 Print(A)
 While Next()
  Print(N++*10+A)
 End
 0->T->S
 WLP()
 While 1
  S+getKey(1)-getKey(4)->S
  !If S+1
   ->S
   T--+1??->T
  Else!If S-9
   S--
   N-8>T+T->T
  End
  S-(+T>N)->S
  ~1->Z
  ClrDraw
  For(8)
   If Z+++T<=N
    Text(5,Z*6,T+Z*10+A+1)
   End
  End
  Text(0,S*6,"-")
  DispGraph
 EndIf getKey(54) or getKey(48)
 5->{T+S*10+A->T}
Else
 0
End
RecallPic
Return

Lbl First
Xminr1)
Return

Lbl Last
Xmaxr1)
Return

Lbl Next
Xscl)
Return

Lbl Prev
Ymin)
Return

Lbl Print
Ymaxr1)
Ymaxr1)^^r
Return

Lbl BG
[00000000000000000000000000000000000000000000000000000000000000000000000000000000003F8000000000000000000003FFF00000000000000000000FFFFE0000000000000000003FFFFF800000000000000000FFFFFFE00000000000000000FFFFFFF00000000000000007FFFFFFF80000000000000007FFFFFFFC000000000000000FFFFFFFFE000000000000000E000071FE000000000000003E000071FF000000000000003E000071FF800000000000007FFE3FF1FFC00000000000007FFE3FF1FFC0000000000000FFFE3FF1FFC0000000000000FFFE3FF1FFE0000000000000FFFE3FF1FFE0000000000000FFFE3FF1FFF0000000000001FFFE3FF1FFF0000000000003FFFE3FF1FFF0000000000007FFFE3FF1FFF0000000000007FFFE3FF1FFF0000000000005FFFE3FF1FFF000000000000DFFFE3FF1FFF000000000000DFFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000018FFFE3FF1FFE0000000000018FFFE3FF1FFE0000000000030FFFFFFFFFFE0000000000030FFFFFFFFFFE00000000000307FFDFFFF7FC00000000000307F8D8E733FC00000000000307FB56DAD7F800000000000303FB5CDA17F800000000000301FB52DAF7F000000000000301F8D15A11E000000000000180FBFFFFFFF8000000000001807BFFFFFFFE000000000001803FFFFFFFFF000000000001800FFFFFFFFF800000000001C007FFFFFFFFC00000000000C001FFFFFFFFC00000000000E0007FFFF8CCC0000000000060000FFC3ABB400000000000700000003ABB4000000000003800000028B8C000000000001C0000003FFBC000000000000E0000003FFCC0000000000007800001FFFF80000000000003C00007FFFF80000000000001FC003FEFFF000000000000007FFFFF87FE000000000000000FFFF800F00000000000000001FFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000]->°BG
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 09, 2013, 12:04:10 am
You'll have to ask runer. I may have screwed up the axiom, but it might also be an axe problem.

Does zStaxe have to be last for it to work?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 09, 2013, 01:15:14 am
Does zStaxe have to be last for it to work?
I don't know if it "has to be last", but the alphabetical order works while the anti-alphabetical order doesn't. I'll try other orders when I get back on the right PC (now on my sister's computer).
Title: Re: zStart - an app that runs on ram clears
Post by: chickendude on March 10, 2013, 03:39:52 am
Yeah, the ticalc version definitely contains two zStart83's.

Also, i'm getting a RAM clear whenever i try to enable >C000 execution on zStart83. It only happens when i exit that menu, but i can't seem to enable >C000 execution. I'm using an 83+ OS 1.19, i tried zStart v.1.3.010 and 1.3.009.
Title: Re: zStart - an app that runs on ram clears
Post by: Matrefeytontias on March 10, 2013, 07:31:28 am
^ same for me.
Title: Re: zStart - an app that runs on ram clears
Post by: Madskillz on March 11, 2013, 01:40:25 am
Yep same here
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on April 29, 2013, 09:06:19 pm
Kind of update:




Stuff I intend on fixing later:
I came across this "bug" multiple times now:
When you turn off the calculator while you're editing an archived program (the copy of one), and zStart wants to store the edited version and GarbageCollect appears, the LCD turns off and and it doesn't react on any key presses (calc behaves like turned off, but it isn't) before you can do a GarbageCollect. You need to remove the batteries and lose the current progress which is kinda annoying :/
Is there someway you can prevent the calc (or its peripherals) from turning off when the program isn't saved yet?
Can we have find|replace?
I found another bug with Axe compilation. Unlike Axe, zStart doesn't check whether a program is compilable or not, so you can accidentally compile another source file (e. g. a file with subroutines etc.) which is not meant to be compiled as the main program by Axe. It causes Axe to crash or compile another program (like the one directly above or below (?) in the program list). Of course you can avoid this by not doing the On + Sto-> in the wrong place but it happened multiple times when I didn't watch out.


If after a few days, there are no glaring mistakes in this, I'll upload it to ticalc.org finally.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on April 29, 2013, 09:21:14 pm
Stuff I intend on fixing later:
I found another bug with Axe compilation. Unlike Axe, zStart doesn't check whether a program is compilable or not, so you can accidentally compile another source file (e. g. a file with subroutines etc.) which is not meant to be compiled as the main program by Axe. It causes Axe to crash or compile another program (like the one directly above or below (?) in the program list). Of course you can avoid this by not doing the On + Sto-> in the wrong place but it happened multiple times when I didn't watch out.

I believe I've fixed this problem from the Axe end for Axe 1.2.2.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on April 30, 2013, 11:11:47 am
Kind of update:
  • fixed the issue with it freezing on inputs
  • fixed crashing when trying to install on the wrong OS
  • fixed (probably) the C000 issue a few people had on 83+BE's
  • fixed an issue involving interrupts and port (07)




Stuff I intend on fixing later:
I came across this "bug" multiple times now:
When you turn off the calculator while you're editing an archived program (the copy of one), and zStart wants to store the edited version and GarbageCollect appears, the LCD turns off and and it doesn't react on any key presses (calc behaves like turned off, but it isn't) before you can do a GarbageCollect. You need to remove the batteries and lose the current progress which is kinda annoying :/
Is there someway you can prevent the calc (or its peripherals) from turning off when the program isn't saved yet?
Can we have find|replace?
I found another bug with Axe compilation. Unlike Axe, zStart doesn't check whether a program is compilable or not, so you can accidentally compile another source file (e. g. a file with subroutines etc.) which is not meant to be compiled as the main program by Axe. It causes Axe to crash or compile another program (like the one directly above or below (?) in the program list). Of course you can avoid this by not doing the On + Sto-> in the wrong place but it happened multiple times when I didn't watch out.


If after a few days, there are no glaring mistakes in this, I'll upload it to ticalc.org finally.
Great :D
I'll update as soon as I get a hand on a SilverLink (read: this weekend D:)

edit yay ! I gave thepenguin77 his 770 post rating :P
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on April 30, 2013, 06:53:42 pm
Nice!
I'll download it in a bit more than a month, I already sent some stuff (including my z80 calc) back to germany......
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on May 01, 2013, 02:20:28 am
Thanks for the update, just downloaded it and it works great. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 03, 2013, 12:01:31 am
Just caught up on the last 9 pages and updated, looking good :)
Tho it might be worth changing the text in-app for the version number :P

So are there plans to integrate/do something similar to xeda's MenuKey? On+# doesn't do anything in the program editor anyways.
Title: Re: zStart - an app that runs on ram clears
Post by: turiqwalrus on May 03, 2013, 05:19:12 am
Nice!
I'll download it in a bit more than a month, I already sent some stuff (including my z80 calc) back to germany......

This means you're coming back in a month? Cool! I get to stalk you now umm... meet ya at some point, if you want :3
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 03, 2013, 12:07:42 pm
Just caught up on the last 9 pages and updated, looking good :)
Tho it might be worth changing the text in-app for the version number :P

Oops, I thought I changed that.

Quote
So are there plans to integrate/do something similar to xeda's MenuKey? On+# doesn't do anything in the program editor anyways.

You know, what I should do is have a separate set of shortcut keys for the program editor. This shouldn't be too difficult. It'll be a little sketchy when you save them, but other than that, I don't see any major problems.
Title: Re: zStart - an app that runs on ram clears
Post by: Dapianokid on May 03, 2013, 02:47:58 pm
Where is the update?
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 03, 2013, 03:18:57 pm
Where is the update?
1.3.011 is at the bottom of the previous page. Also note the link in his sig ;)
Title: Re: zStart - an app that runs on ram clears
Post by: alex99 on May 04, 2013, 02:23:09 pm
cool i downloadet it its really great
Title: Re: zStart - an app that runs on ram clears
Post by: chickendude on May 06, 2013, 10:20:40 pm
I've found that some of the ion routines don't quite work as i thought, for example ionPutSprite doesn't seem to be drawing to the gbuf. I think it's because you have ld de,$FE79 (TilEm2 calls it symTable+19) instead of ld de,($FE79) in the putSprite routine. I haven't tested out the 83+ version yet, but i'll do that soon :) Thanks for the update!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 06, 2013, 11:59:55 pm
I've found that some of the ion routines don't quite work as i thought, for example ionPutSprite doesn't seem to be drawing to the gbuf. I think it's because you have ld de,$FE79 (TilEm2 calls it symTable+19) instead of ld de,($FE79) in the putSprite routine. I haven't tested out the 83+ version yet, but i'll do that soon :) Thanks for the update!

Oops, fixed that. Tomorrow I'll probably upload the version to ticalc.org, so that will have the update.
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 07, 2013, 03:35:49 pm
Not sure if this has been asked for before, but would it be possible to bring omnicalc's line-clearing behavior to the program editor?
What it does is if you go to the middle of a line and press clear, it only clears after the cursor.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 07, 2013, 04:35:04 pm
Not sure if this has been asked for before, but would it be possible to bring omnicalc's line-clearing behavior to the program editor?
What it does is if you go to the middle of a line and press clear, it only clears after the cursor.

That probably isn't that hard to implement. In fact, I believe the OS first does an omnicalc clear, and then backtracks the cursor. So I could probably just use the first part of their clearing routine.
Title: Re: zStart - an app that runs on ram clears
Post by: Hooloovoo on May 07, 2013, 04:58:11 pm
Could you have the lowercase alpha enabled as an option? I hardly ever use it, and it is annoying to have to hit alpha twice to cancel instead of just once.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 07, 2013, 06:20:34 pm
Could you have the lowercase alpha enabled as an option? I hardly ever use it, and it is annoying to have to hit alpha twice to cancel instead of just once.

I had it on permanently instead of as an option so that it wouldn't slow down the calculator. I re-enable lower case every time you press a button, so checking the option has to happen almost instantly. But, I looked around, and I found a spot in my ram appvar where I could put the flag. So, I should be able to add that option in.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 08, 2013, 12:17:53 am
Could you have the lowercase alpha enabled as an option? I hardly ever use it, and it is annoying to have to hit alpha twice to cancel instead of just once.

I had it on permanently instead of as an option so that it wouldn't slow down the calculator. I re-enable lower case every time you press a button, so checking the option has to happen almost instantly. But, I looked around, and I found a spot in my ram appvar where I could put the flag. So, I should be able to add that option in.
Why do you set it at every keypress?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 08, 2013, 10:02:18 pm
Could you have the lowercase alpha enabled as an option? I hardly ever use it, and it is annoying to have to hit alpha twice to cancel instead of just once.

I had it on permanently instead of as an option so that it wouldn't slow down the calculator. I re-enable lower case every time you press a button, so checking the option has to happen almost instantly. But, I looked around, and I found a spot in my ram appvar where I could put the flag. So, I should be able to add that option in.
Why do you set it at every keypress?

Well, the main reason is because I don't really know when else to do it. The trouble is that if an app disables it, I'm not sure when it will get re-enabled. That's why I do it on every keypress.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on May 09, 2013, 03:23:25 pm
I don't actually need this feature myself, but a user asked in a topic on Cemetech (http://www.cemetech.net/forum/viewtopic.php?t=9159) how to disable APD. Perhaps disabling APD is a feature that would fit well into zStart?
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on May 09, 2013, 03:31:31 pm
I found a bug today. You can't set a program with theta in it's name to run on RAM clear/turn on/zStart quit/on + num. In the zStart GUI, the theta shows up as U and this prevents the program from being found and run.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 09, 2013, 05:10:59 pm
I don't actually need this feature myself, but a user asked in a topic on Cemetech (http://www.cemetech.net/forum/viewtopic.php?t=9159) how to disable APD. Perhaps disabling APD is a feature that would fit well into zStart?

That should be pretty easy. I can do that at the same time I do lowercase.

I found a bug today. You can't set a program with theta in it's name to run on RAM clear/turn on/zStart quit/on + num. In the zStart GUI, the theta shows up as U and this prevents the program from being found and run.

I forgot about theta, I have to admit though that I don't think this is a fixable problem. When I store the names of programs, I compress them to 6 bits per character. If you account for lower case, upper case, and numbers, that leaves me with 2 extra characters. I gave one of those to space and the other to zero (actual zero, not ascii 0). So, I hate to say it, but you'll probably just have to rename whatever you want to use.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on May 09, 2013, 05:16:11 pm
I don't actually need this feature myself, but a user asked in a topic on Cemetech (http://www.cemetech.net/forum/viewtopic.php?t=9159) how to disable APD. Perhaps disabling APD is a feature that would fit well into zStart?

That should be pretty easy. I can do that at the same time I do lowercase.

And hopefully it'll be an option? :P


I found a bug today. You can't set a program with theta in it's name to run on RAM clear/turn on/zStart quit/on + num. In the zStart GUI, the theta shows up as U and this prevents the program from being found and run.

I forgot about theta, I have to admit though that I don't think this is a fixable problem. When I store the names of programs, I compress them to 6 bits per character. If you account for lower case, upper case, and numbers, that leaves me with 2 extra characters. I gave one of those to space and the other to zero (actual zero, not ascii 0). So, I hate to say it, but you'll probably just have to rename whatever you want to use.

What's space for?
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on May 09, 2013, 05:35:44 pm
Yeah that's what I did. Thanks for the info !
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 09, 2013, 05:47:42 pm
I don't actually need this feature myself, but a user asked in a topic on Cemetech (http://www.cemetech.net/forum/viewtopic.php?t=9159) how to disable APD. Perhaps disabling APD is a feature that would fit well into zStart?

That should be pretty easy. I can do that at the same time I do lowercase.

And hopefully it'll be an option? :P


I found a bug today. You can't set a program with theta in it's name to run on RAM clear/turn on/zStart quit/on + num. In the zStart GUI, the theta shows up as U and this prevents the program from being found and run.

I forgot about theta, I have to admit though that I don't think this is a fixable problem. When I store the names of programs, I compress them to 6 bits per character. If you account for lower case, upper case, and numbers, that leaves me with 2 extra characters. I gave one of those to space and the other to zero (actual zero, not ascii 0). So, I hate to say it, but you'll probably just have to rename whatever you want to use.

What's space for?
That is a good question.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on May 09, 2013, 05:55:36 pm
Apps I guess.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on May 09, 2013, 05:59:11 pm
Oh yeah, I guess applications could explain his support of lowercase letters, which completely didn't register with me when I read his post originally. But applications can actually have all sorts of characters in their names; I think just about any defined character is fair game. I know most applications only use the characters he listed, but certainly not all of them. If he wants to support applications, he should really toss out the bit-packing altogether.
Title: Re: zStart - an app that runs on ram clears
Post by: Matrefeytontias on May 10, 2013, 04:59:32 am
Speaking of non-conventional characters, see Batlib.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 10, 2013, 10:03:13 am
Oh yeah, I guess applications could explain his support of lowercase letters, which completely didn't register with me when I read his post originally. But applications can actually have all sorts of characters in their names; I think just about any defined character is fair game. I know most applications only use the characters he listed, but certainly not all of them. If he wants to support applications, he should really toss out the bit-packing altogether.

Yes, correct on the spaces. And, it would be great to allow all letters, but changing that would probably use up the remaining space in the app. The reason for this is that I would have to make a new appvar revision as well as duplicate a bunch of routines to not use the compacting.

Besides, the only app I can think of that uses a non-standard character is Start-Up. And, while running Start-Up on Start-Up would be a little ironic, I don't think anyone is going to do that.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on May 10, 2013, 03:54:40 pm
I can't turn my calculator into a Gameboy by making Pokémon run on startup? :P

So why couldn't you just scrap the old methods and appvars for the new? I don't think any really important data would be lost if you had to delete the existing settings appvar, the user would just have to take a minute or two to review their settings. Possibly a good idea anyways to have users review it all, with new features.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 10, 2013, 06:12:04 pm
How would I turn the fonts I have as programs into appvars?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 10, 2013, 11:32:06 pm
I can't turn my calculator into a Gameboy by making Pokémon run on startup? :P

So why couldn't you just scrap the old methods and appvars for the new? I don't think any really important data would be lost if you had to delete the existing settings appvar, the user would just have to take a minute or two to review their settings. Possibly a good idea anyways to have users review it all, with new features.

Well, that is a good point about Pokemon. Maybe I'll do it, we'll see.


How would I turn the fonts I have as programs into appvars?

The easiest way I know is to unarchive them, find them in the Calcsys vat viewer, press Alpha+V, and then change the 06 that you are highlighting to 15.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 11, 2013, 06:34:56 pm
How would I turn the fonts I have as programs into appvars?
The easiest way I know is to unarchive them, find them in the Calcsys vat viewer, press Alpha+V, and then change the 06 that you are highlighting to 15.
Thanks!
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 13, 2013, 01:44:08 am
A couple feature requests:

 - If Omnicalc ram restore is enabled, do it automatically upon quitting from program and/or before [On]+[Zoom]/[Trace] test runs
 - An updated readme :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 13, 2013, 11:02:33 am
A couple feature requests:

 - If Omnicalc ram restore is enabled, do it automatically upon quitting from program and/or before [On]+[Zoom]/[Trace] test runs

Maybe

Quote
- An updated readme :P

Ahh, you seem to have found the main reason I have yet to upload it to ticalc.org again.
Title: Re: zStart - an app that runs on ram clears
Post by: pimathbrainiac on May 13, 2013, 01:27:47 pm
For the 8-level gray pics: what header should we use if we convert the pics with istudio2?

(for some reason my side-by-side assemblies are bad, and can't run level8)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 13, 2013, 06:51:51 pm
For the 8-level gray pics: what header should we use if we convert the pics with istudio2?

(for some reason my side-by-side assemblies are bad, and can't run level8)

The header is just "BM" so $42, $4D followed by the picture data. The format is DARK MED LIGHT DARK MED LIGHT etc. where each of those words is a byte. istudio2 might put a dark image, then a medium image, then a light image, so you'll have to correct it if it does that.
Title: Re: zStart - an app that runs on ram clears
Post by: scienceaddict on May 13, 2013, 11:11:01 pm
I loved the idea, and loved the picture when it boots(plus the stunned looks from my classmates), but i think it did more harm than good. For one, the calc crashed more often, but i think it messed something deeper. Unfortunately, I can't tell you much more, as i ripped the ribbon cable and cant get tilp to work since my motherboard went to a better place.
Title: Re: zStart - an app that runs on ram clears
Post by: pimathbrainiac on May 18, 2013, 03:34:33 pm
For the 8-level gray pics: what header should we use if we convert the pics with istudio2?

(for some reason my side-by-side assemblies are bad, and can't run level8)

The header is just "BM" so $42, $4D followed by the picture data. The format is DARK MED LIGHT DARK MED LIGHT etc. where each of those words is a byte. istudio2 might put a dark image, then a medium image, then a light image, so you'll have to correct it if it does that.

IDK What "BM" means, so here's my best guess:

Code: [Select]
.db $42,$4D

picture data

Is this right? Or do I have it wrong?
Title: Re: zStart - an app that runs on ram clears
Post by: Darl181 on May 18, 2013, 03:37:02 pm
Random idea #92638: On+Up/Down to skip multiple pages at once in program (and/or apps if quick apps isn't active) menu. And maybe catalog as well, but that's pretty fast already.
Skipping to a letter kind of does it better tho, so idk.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 18, 2013, 03:42:08 pm
IDK What "BM" means, so here's my best guess:


ASCII: 'B', 'M'   It's how windows denotes .bmp files, that's where I got the idea from.

Quote
Code: [Select]
.db $42,$4D

picture data

Is this right? Or do I have it wrong?

You have it exactly right.


Random idea #92638: On+Up/Down to skip multiple pages at once in program (and/or apps if quick apps isn't active) menu. And maybe catalog as well, but that's pretty fast already.
Skipping to a letter kind of does it better tho, so idk.

I don't even know if I'd be able to make that faster. If I skipped multiple pages the way the OS does it (scroll all at once) it would be the exact same speed. I'd have to manually redraw the menu. I'll try to see how difficult that is, but it's probably doable. I believe I already redraw the menu when you archive something.
Title: Re: zStart - an app that runs on ram clears
Post by: pimathbrainiac on May 18, 2013, 03:50:00 pm
IDK What "BM" means, so here's my best guess:


ASCII: 'B', 'M'   It's how windows denotes .bmp files, that's where I got the idea from.

Quote
Code: [Select]
.db $42,$4D

picture data

Is this right? Or do I have it wrong?

You have it exactly right.


Random idea #92638: On+Up/Down to skip multiple pages at once in program (and/or apps if quick apps isn't active) menu. And maybe catalog as well, but that's pretty fast already.
Skipping to a letter kind of does it better tho, so idk.

I don't even know if I'd be able to make that faster. If I skipped multiple pages the way the OS does it (scroll all at once) it would be the exact same speed. I'd have to manually redraw the menu. I'll try to see how difficult that is, but it's probably doable. I believe I already redraw the menu when you archive something.

could I do:

Code: [Select]
.db $42,$4D

#include "picture.bmp"
?

Edit: nvm. I made a Java version of level8 :D
Title: Re: zStart - an app that runs on ram clears
Post by: pimathbrainiac on May 19, 2013, 12:03:03 pm
zStart just bricked my calc after a RAM clear!

I had Run on RAM clears installed, and now I get the title of the RAM clear page when I boot, but no marking for RAM clear, and my calc just shuts off.

TI 84+ SE OS 2.43, btw

I tried delcert and reinstalling the OS, but I just get errors (using silverlink and TiLP)

Any help?

(sorry for Double posting, but I needed to bump this, as this is urgent)
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on May 19, 2013, 02:41:10 pm
In case of archive corruption, remove a battery, hold clear, reinsert the battery while holding clear, and press on while still  holding clear; this will prevent archive parsing. In case of OS corruption, do the same but use stat or del (they switch between USB and serial); this will force the boot code to display the send-OS screen so you can receive a new OS.

EDIT: Don't use mode. (It's a self-test.) That will erase your archive!

If you read the readme, you'd know that zStart adds another emergency button of its own, vars. This will disable the zStart autoruns.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 19, 2013, 10:30:01 pm
zStart runs before the words "RAM cleared" display, so you are right, it is crashing.

But, it sounds like you still haven't managed to do anything. If this is the case, boot while holding VARS. This will tell zStart to do nothing. Then play around with zStart's options until you find the one that is making your calculator crash. This should fix everything.


However, if you already reinstalled an OS and you are still having troubles, then do what DrDnar said.
Title: Re: zStart - an app that runs on ram clears
Post by: pimathbrainiac on May 20, 2013, 09:35:52 am
I got the OS re-installed, and now it's okay. I think the fact that the OS wouldn't send was because I was using TiLP and not Ti-Connect.

Thanks for the help.
Title: Re: zStart - an app that runs on ram clears
Post by: Lionel Debroux on May 29, 2013, 08:44:36 am
(reading and replying to posts after the weeks of broken e-mail notifications which caused me to miss lots of topic updates)

Your 84+SE / SilverLink OS sending woes seem to be similar to http://ourl.ca/4010/347568 , aren't they ? We need to investigate, but probably not before the week-end, at best, as far as I'm concerned...
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on May 29, 2013, 10:13:51 am
I have three issues to report :
1) After using the font editor the shortcuts are broken everywhere and I must RAM clear or run a program to fix them
2) The RAM clear patch in the latest update is broken and makes the calc crash on every RAM clear, which forces you to resend your OS with battery+del (holding vars or clear doesn't help). A workaround is to patch with the previous version
3) Once the patch is installed resending an OS is mandatory when you do battery + del
I have an 84+BE, OS 2.43 with PolyPatch84, Mapar's PTT patch and your flash speed and exponent patch, boot code 1.02, rev G (TA3 chip).

While you shouldn't run into these issues often, 2 and 3 are quite annoying.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 29, 2013, 03:36:57 pm
Quote
I have three issues to report :
1) After using the font editor the shortcuts are broken everywhere and I must RAM clear or run a program to fix them
2) The RAM clear patch in the latest update is broken and makes the calc crash on every RAM clear, which forces you to resend your OS with battery+del (holding vars or clear doesn't help). A workaround is to patch with the previous version
3) Once the patch is installed resending an OS is mandatory when you do battery + del
I have an 84+BE, OS 2.43 with PolyPatch84 and your flash speed and exponent patch, boot code 1.02, rev G (TA3 chip).

While you shouldn't run into these issues often, 2 and 3 are quite annoying.

Oops, I should probably test stuff after I change it. I broke the patcher while preventing it from installing on the wrong OS. I attached (down a post) a fixed version for you.

As far as 1) goes, I don't see how that is possible. zStart reinstalls everything when you quit (assuming you are quitting from the initial screen) so I'm not sure how it could be breaking the hooks.

Could you be really specific about what you are doing and what shortcuts stop working? You could also send me a savestate so that I could see what exactly is going on.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on May 29, 2013, 03:45:27 pm
Well, I just have to go in the font editor, then pres clear until I get to the home screen. Then I can't use ON+alpha/stat/digit shortcuts. The rest still works though.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 29, 2013, 07:46:01 pm
Ok, so are you completely sure the number shortcuts don't work? Because I know why the ON + STAT/ALPHA ones weren't working and I attached a fixed version for that. But I see zero reason why the number ones should cut out.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on May 30, 2013, 02:37:02 am
I occasionally crash (usually with interesting garbage on the screen) when I press [Y=] in the OS.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on May 30, 2013, 02:25:21 pm
(time for the stupid question, and sorry if it was already asked -.-°)

Do you plan on a 84+CSE version ? I am getting tired of archiving/unarchiving/grouping/ungrouping and I miss the label menu (especially because the scrolling is (really) very slow in the program editor) :P

Also, I thought about something. Why not ùaking extensions to zStart in appvars ? Like if people want some feature, they put some appvar in their calc and launch zStart to install the feature, and if they don't want to, they save space (and you save space too in the app) :)
And don't tell me you don't know how to launch appvars, I won't believe any sentence starting with "I can't" if it comes from you :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on May 30, 2013, 05:24:02 pm
(time for the stupid question, and sorry if it was already asked -.-°)

Do you plan on a 84+CSE version ? I am getting tired of archiving/unarchiving/grouping/ungrouping and I miss the label menu (especially because the scrolling is (really) very slow in the program editor) :P

No, sorry. I'm probably not even going to get a CSE. If someone wants to port it, have at it. But I'm not going to be the one doing it.

Quote
Also, I thought about something. Why not ùaking extensions to zStart in appvars ? Like if people want some feature, they put some appvar in their calc and launch zStart to install the feature, and if they don't want to, they save space (and you save space too in the app) :)
And don't tell me you don't know how to launch appvars, I won't believe any sentence starting with "I can't" if it comes from you :P

I think I already have this (assuming I understand what you want). It's the "Run on zStart" option. You enable it with ON + 0 and it works just like the ram clear programs.

If that's not what you meant though, you'll have to explain more.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on May 31, 2013, 01:11:38 am
(time for the stupid question, and sorry if it was already asked -.-°)

Do you plan on a 84+CSE version ? I am getting tired of archiving/unarchiving/grouping/ungrouping and I miss the label menu (especially because the scrolling is (really) very slow in the program editor) :P

No, sorry. I'm probably not even going to get a CSE. If someone wants to port it, have at it. But I'm not going to be the one doing it.
:(

Also, I thought about something. Why not making extensions to zStart in appvars ? Like if people want some feature, they put some appvar in their calc and launch zStart to install the feature, and if they don't want to, they save space (and you save space too in the app) :)
And don't tell me you don't know how to launch appvars, I won't believe any sentence starting with "I can't" if it comes from you :P
I think I already have this (assuming I understand what you want). It's the "Run on zStart" option. You enable it with ON + 0 and it works just like the ram clear programs.

If that's not what you meant though, you'll have to explain more.
Well, yeah, that is true indeed, I didn't think about that one :)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 10, 2013, 01:32:39 pm
Seeing as Streetwalker still hasn't responded, I'm going to assume I fixed his problem.

Update!!:


Seeing as I screwed up the OS patcher, you'll probably want to install this version.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on June 10, 2013, 01:47:48 pm
Oh sorry I forgot to reply. :P It works perfectly now. :)

Edit : Nope, the patch doesn't do anything. It installs fine but nothing happens on RAM clears. D:
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on June 14, 2013, 03:08:57 am
Yay, updates, now i even get to use 'em as I have my z80 calcs again :D
Title: Re: zStart - an app that runs on ram clears
Post by: pimathbrainiac on June 20, 2013, 10:28:31 pm
Hey guys: I made a java version of level8, and would like to share it (It requires that you compile the generated z80 source yourself, though, just to be warned.

All of this must be done in one folder: Just compile ("javac IConvert.java"), use "java IConvert" to run, and enter your complete picture filename (including extension). It can be any type, any size, and can have any number of shades. It will generate an all-blue bmp called "saved.bmp" and also create a z80 source file called <pictureNameMinusExtension>.z80 Just compile with SPASM or the like, and you're done!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on June 24, 2013, 01:15:12 pm
Hey guys: I made a java version of level8, and would like to share it (It requires that you compile the generated z80 source yourself, though, just to be warned.

All of this must be done in one folder: Just compile ("javac IConvert.java"), use "java IConvert" to run, and enter your complete picture filename (including extension). It can be any type, any size, and can have any number of shades. It will generate an all-blue bmp called "saved.bmp" and also create a z80 source file called <pictureNameMinusExtension>.z80 Just compile with SPASM or the like, and you're done!

Well that's pretty cool. Just curious, do you have your own use for this or did you just make it because you could?
Title: Re: zStart - an app that runs on ram clears
Post by: pimathbrainiac on June 24, 2013, 01:34:37 pm
I made it because I had bad side-by-side assemblies on both of my old computers (which means I couldn't run level8). I needed to convert the 8-level pics, so I did!
Title: Re: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on June 24, 2013, 02:39:22 pm
I assume that level8 is a tool to compile calc pics with 8 shades of gray?

Welcome back to Omni pimathbrainiac by the way :)
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on June 24, 2013, 03:29:51 pm
I made it because I had bad side-by-side assemblies
What are these ? I guess that's a Windoze related thing. I never went deep with this crappy OS. :P

Also thepenguin, just to make sure : did you see my post saying that now the patch installs fine but doesn't run anything on RAM clear ?
Title: Re: zStart - an app that runs on ram clears
Post by: DrDnar on June 24, 2013, 04:28:43 pm
SxS is a Windows feature that allows multiple versions of the same software to be installed without interfering with each other, thereby allowing applications that expect incompatible versions of a library to be installed to co-exist peacefully. It's largely automatically, and works quite well for most applications. Unfortunately, Windows doesn't really provide an end-user GUI for configuring SxS, instead relying on built-in logic and programmer thoughtfulness to make it function. Consequently, if it does make a mistake, cleaning up is not easy.
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on August 06, 2013, 12:39:48 pm
Why didn't I installed this earlier? Oo" This is freaking genius!
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on August 11, 2013, 08:00:03 am
Bump: I can't install it on Ram clear, because I kbow that next Ram Clear, the calc won't turn on...
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 16, 2013, 11:20:09 am
Oops, I'll fix this soon. I should probably add this thread to my watched list.
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on August 16, 2013, 12:42:41 pm
This, and zStart seems to make Axe crash more often. I think that's come from the RAM usage...
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on August 22, 2013, 12:17:50 pm
Feature request: when editing archived programs, they don't get rewritten back to archive if nothing is changed.

Bug report: launching an application from the Omnicalc quick apps menu doesn't register the context switch, resulting any temporary edit copy of archived programs hanging around until the application exits. As the issue occurs under Omnicalc's control, I'll understand if this isn't really fixable, though. It's not a fatal flaw anyways.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 22, 2013, 12:47:48 pm
Feature request: when editing archived programs, they don't get rewritten back to archive if nothing is changed.

Bug report: launching an application from the Omnicalc quick apps menu doesn't register the context switch, resulting any temporary edit copy of archived programs hanging around until the application exits. As the issue occurs under Omnicalc's control, I'll understand if this isn't really fixable, though. It's not a fatal flaw anyways.

The first one seems really easy and obvious.

The second, will probably be a little tough, but I'll try to figure out how it works.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on August 28, 2013, 06:44:36 pm
Oh sorry I forgot to reply. :P It works perfectly now. :)

Edit : Nope, the patch doesn't do anything. It installs fine but nothing happens on RAM clears. D:

I have the same results. zStart 1.3.012's run on RAM clear functionality doesn't seem to work, at least on Wabbitemu (OS 2.55; older versions work fine).

I also come bearing other gifts:

Bug reports:

Bug report/feature request hybrids:

Feature requests:
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on August 28, 2013, 08:06:05 pm
Well, I guess now I have to update it.
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on September 03, 2013, 12:58:24 pm
Bumpity-bump. I'd like to use it in my code workflow...
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 03, 2013, 01:08:06 pm
  • A negative feature: remove the confirmation on setting shortcuts? I don't think I've ever accidentally hit any of those shortcuts, so the confirmation seems a bit unnecessary to me. If you do want to keep them in, though, it wouldn't bother me much. But if you do, can you display some text between "Confirm" and "Set" (perhaps "Working..." or "Setting...")? On my calculator, the option setting/saving process takes about 4 seconds. It may take a non-trivial amount of time on others' calculators as well, and during this time, the calculator appears frozen.
I think that this is more in case you opened the "prgm" menu to look for a program, then think "lulz me stupid, I have set a shortcut for that one" then you try and do the shortcut without quitting the "prgm" menu (That already happened to me, and I really thought "lulz me stupid, I have set a shortcut for that one" afterwards).
Title: Re: zStart - an app that runs on ram clears
Post by: Pawnerd on September 20, 2013, 06:53:18 am
How far are you with the update? TI 84+ SE won't install the ram clear hoook, although it says success.
Title: Re: zStart - an app that runs on ram clears
Post by: Keoni29 on September 20, 2013, 06:55:21 am
Welcome to omnimaga, Pawnerd. Make sure to introduce yourself! (http://www.omnimaga.org/index.php?action=post;board=10.0)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 20, 2013, 09:51:55 pm
How far are you with the update? TI 84+ SE won't install the ram clear hoook, although it says success.

You managed to ask this really well actually. You made me feel bad because my app wasn't working right, and you managed to ask on a friday when I actually have some free time.

I fixed the running on ram clear issue. It was a stupid mistake by me, but the bad news is that it corrupted the OS. On 2.55 it made it so that the calculator will crash if you pull the batteries out from the homescreen (it usually doesn't). On 2.43 and 2.53 the calculator will go into a boot loop if it crashes. And on 1.19, all the menus glitch out. So if you tried to install the faulty version, you should probably resend your OS. (sorry)


First I'm just going to list these ones that I didn't do yet but want to do:
Quote
When MathPrint is enabled, any of the shortcut key actions used from a menu eject control back to the home screen.
This is actually coded like this on purpose, but I should find the proper way to do it.
Quote
Here's a big (code size-wise) one that probably isn't super important, but would be neat if it existed: instead of having individual options to control a few defaults, include an option that saves basically all settings as defaults (everything currently available and everything in MODE). If you were crazy enough to add this, you might also be crazy enough to be interested in adding a second option that does the same for the WINDOW and FORMAT settings.
Maybe...
Quote
Feature request: when editing archived programs, they don't get rewritten back to archive if nothing is changed.
This isn't as easy to add as I thought, but I should add it.
Quote
Shortcut key actions do not work in contexts other than the home screen. This includes menus launched from these contexts.
Someday, but I have to handle every menu differently because a lot of the hooks require closing the edit buffer.


Things I did do:
Quote
When uninstalling the run on RAM clear functionality finishes, "No" is printed over "Yes". But no erasing is done, so you end up with "Nos". A simple fix for this would be to append a 3-wide space (character code $EE (could a small font hook with a wider "s" ruin this fix?)) to the end of the "No" string.
I fixed it in a less pretty way. I can't modify no because I right align it sometimes.
Quote
The "Select font" option sometimes says "No" when no font is selected, but other times is just blank. I suspect that one of these behaviors is a bug. If showing the string "No" was the intended behavior, may I suggest a slightly more fitting string, like "None"?
Again, I can't change it to "None", but it will at least say "No".
Quote
A common, minor oversight of many programs/apps: if you use plotSScreen, you should mark it as dirty with set graphDraw,(iy+graphFlags).
I added this to the main app, the two help programs, and the label finder.
Quote
A negative feature: remove the confirmation on setting shortcuts? I don't think I've ever accidentally hit any of those shortcuts, so the confirmation seems a bit unnecessary to me. If you do want to keep them in, though, it wouldn't bother me much. But if you do, can you display some text between "Confirm" and "Set" (perhaps "Working..." or "Setting...")? On my calculator, the option setting/saving process takes about 4 seconds. It may take a non-trivial amount of time on others' calculators as well, and during this time, the calculator appears frozen.
Run indicator + fast mode fixed that pretty well
Quote
A shortcut to toggle MathPrint.
Of all the things I added, this was by far the hardest. It's really hard to change this from a key hook.


So update!!


I have the full .zip attached this time. The two zHelps got updated if you actually use them.


Edit:
   So, you have to have MathPrint open at least once before you can use my shortcut. I'm working on why.

Edit 2:
   Changed to a full release .zip
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on September 21, 2013, 03:31:18 am
All my stuff has been addressed! Awesome! :thumbsup:

The MathPrint toggle should actually be pretty useful if I'm ever doing serious math on my calculator. I played with it for a bit and noticed a few things:

Also, another thought popped into my mind. You know how a while ago I mentioned that Omnicalc's quick apps menu doesn't register a context change until after any executed app returns to the OS? That may be a hard Omnicalc issue to fix, but I realized there are other issues with Omnicalc that might be (perhaps more easily) fixable. For instance, enforcing that parentheses assistant, the entries menu, and RAM recovery are disabled when MathPrint mode is enabled, and returning them to their original settings when Classic mode is enabled. It also may or may not be feasible to kill the partial line clear functionality when MathPrint mode is enabled. (I got the impression that you try to keep your key hook fast by only having ON+___ shortcuts so you can abort if ON is not pressed, but this check would need to occur before that)
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on September 21, 2013, 04:13:26 am
Awesome!/me downloads :)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 21, 2013, 11:37:21 am
All my stuff has been addressed! Awesome! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

The MathPrint toggle should actually be pretty useful if I'm ever doing serious math on my calculator. I played with it for a bit and noticed a few things:
  • Changing from Classic mode to MathPrint mode leaves the entry history intact, but changing in the other direction does not. Why is this? The entry history seems to stay intact when changing modes the old-fasioned way from the mode screen.
  • Changing from Classic mode to MathPrint mode sometimes doesn't return the cursor to the top left corner of the screen, and sometimes that happens as well as text being left over from Classic mode. The first case is definitely a bug, and the second case is probably two bugs in one, although it's actually pretty cool when the second bug happens. It seems like switching modes almost invisibly.
  • Regarding the shortcut to enable MathPrint not working unless it has already been enabled once: perhaps the above bug is somehow related to it? If not or you otherwise can't easily see how to fix it, can you do something sneaky to always let MathPrint load up on RAM clears, but after it has been enabled, immediately switch to Classic mode if that default is set?

Also, another thought popped into my mind. You know how a while ago I mentioned that Omnicalc's quick apps menu doesn't register a context change until after any executed app returns to the OS? That may be a hard Omnicalc issue to fix, but I realized there are other issues with Omnicalc that might be (perhaps more easily) fixable. For instance, enforcing that parentheses assistant, the entries menu, and RAM recovery are disabled when MathPrint mode is enabled, and returning them to their original settings when Classic mode is enabled. It also may or may not be feasible to kill the partial line clear functionality when MathPrint mode is enabled. (I got the impression that you try to keep your key hook fast by only having ON+___ shortcuts so you can abort if ON is not pressed, but this check would need to occur before that)

I was deleting the entry stack on purpose. It causes all sorts of trouble. The way the options menu does it is it has a special call that converts the entire entry stack to the other format. I know this is what causes the issue with the hangs, but I cannot call the routine in any manner and it's like 300 bytes.

Edit:
   I have literally no idea what is causing this. I called the OS function by address and it still hangs. Looks like the work around is just going to have to work for now.
Title: Re: zStart - an app that runs on ram clears
Post by: Pawnerd on September 22, 2013, 06:45:08 am
Quote
You managed to ask this really well actually. You made me feel bad because my app wasn't working right, and you managed to ask on a friday when I actually have some free time.

haha, great :), I didn't believe there was an update when I checked the forums this morning and you shouldn't feel bad. Although you claim that you fixed the RunOnRamClear issues on the ti84+ SE, I am not able to let my calc run an prgm on ram clear.

Here is a video of my calculator and my attempt to let it run a prgm on ramclear:


What do I do wrong?

greetings,
me
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 22, 2013, 11:02:09 am
Ok, I figured out all of the issues.

1. zStart and Mathprint don't get along at all. This is something I need to fix eventually, but that's why the program editor crashed and why you couldn't properly set the program to run on ram clear. The simple fix is just to change it to classic in the zStart defaults menu
2. The program that you want to run on ram clears has to be archived (otherwise it's just going to get deleted) You can press ON + * in the program menu or in the editor

3. It did install on ram clear. You just didn't tell it do do anything ;D (The best way to check is to enable the "old ram clear", that will change the ram clear screen).
4. The lowercase is a function of the calculator that zStart turns on, at one point I meant to make it an option, but I forgot and it's on by default now.
Title: Re: zStart - an app that runs on ram clears
Post by: Pawnerd on September 22, 2013, 11:37:39 am
Hey there,

Finally, it works :D.

I knew there was something I did wrong myself ^^. Everybody who would like to use my calculator, has to defeat my tic tac toe bot from now on.

Thanks a lot for your interest in assembly for TI calculators and the community Jacob/penguin!

Greetings,
me
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 22, 2013, 02:04:07 pm
Thanks a lot for your interest in assembly for TI calculators and the community Jacob/penguin!
Erm, his name is not Jacob at all.

Also, I'll use that post to host screenshots of zStart so I can make a decent post on TI Planet about this app (I'll do this tomorrow maybe).
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on September 22, 2013, 02:15:20 pm
Yeah his name is Brian Coventry (confirmed by the first line of the readme :P).
Nice to see an update BTW, I set myself a reminder to put it on my calc when I get on a comp. :D
Also I'm looking forward to your news Hayleia. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 22, 2013, 02:18:53 pm
Also I'm looking forward to your news Hayleia. ;)
Erm, not sure it will be a news. In my opinion, zStart deserves front page news but it is not new and I'd find weird to news about a 2 years old program, even this one.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on September 22, 2013, 02:20:32 pm
Well some programs get featured a long time later on TIcalc.org. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 22, 2013, 03:48:05 pm
Thanks a lot for your interest in assembly for TI calculators and the community Jacob/penguin!
Erm, his name is not Jacob at all.

Also, I'll use that post to host screenshots of zStart so I can make a decent post on TI Planet about this app (I'll do this tomorrow maybe).

Haha, yeah, I saw that. I just let it go. Indeed my name is Brian Coventry.


If you are going to do something front page with it, let me know so that I can upload a full .zip of it. The one I uploaded is missing a few things for being a full release.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on September 22, 2013, 04:04:18 pm
So I updated (titools + ssh + raspberry pi FTW) it and I like the new speed. :D
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 23, 2013, 12:42:39 am
If you are going to do something front page with it, let me know so that I can upload a full .zip of it. The one I uploaded is missing a few things for being a full release.
Apparently, no one is against my article going to front page (I just have to finish it with those said screenshots). And even if it doesn't go to front page, a full zip is still a good idea, isn't it ? ^^
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 23, 2013, 09:38:38 am
If you are going to do something front page with it, let me know so that I can upload a full .zip of it. The one I uploaded is missing a few things for being a full release.
Apparently, no one is against my article going to front page (I just have to finish it with those said screenshots). And even if it doesn't go to front page, a full zip is still a good idea, isn't it ? ^^

Ok, I fixed it. I usually don't upload the full one because inevitably I always say "I'm going to upload this to ticalc.org next week if there are no errors". And then there are errors and then I never upload it to ticalc.

Edit:
   You might also want to mention that zStart and MathPrint don't get along nicely if people have trouble with stuff.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 23, 2013, 12:30:08 pm
Done (http://tiplanet.org/forum/viewtopic.php?f=41&t=13050). Only French for now though.

You might also want to mention that zStart and MathPrint don't get along nicely if people have trouble with stuff.
Yeah, I said that. I also said that maybe complete nexcomers should avoid toying too much with options they don't know what they do.
Title: Re: zStart - an app that runs on ram clears
Post by: willrandship on September 23, 2013, 06:15:06 pm
I wouldn't worry. People are used to MathPrint not getting along with anything, ever.
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on September 24, 2013, 01:02:31 am
It would definitively be nice to see this in Ticalc, TI-Planet and Omni archives as well. :)
Title: Re: zStart - an app that runs on ram clears
Post by: GinDiamond on September 24, 2013, 09:05:44 pm
I can't make the molar mass thing work.
I have a Ti 84+ BE and 2.55MP os, with mathprint disabled.

The hex converter works, but the molar mass one doesn't.

What's up?
Title: Re: zStart - an app that runs on ram clears
Post by: willrandship on September 25, 2013, 05:16:29 am
did you turn it on?

Do you insert ? before every calculation ie

?CuSO4

would be Copper Sulphor Tetroxide
Title: Re: zStart - an app that runs on ram clears
Post by: GinDiamond on September 25, 2013, 08:55:37 am
Yes I did
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 25, 2013, 09:42:47 am
I can't make the molar mass thing work.
I have a Ti 84+ BE and 2.55MP os, with mathprint disabled.

The hex converter works, but the molar mass one doesn't.

What's up?

It's a separate app. Put zChem on your calculator. Run it so that it installs. Then go into zStart, 6>4>5 and you should be good to go. (Btw, I personally love zChem).
Title: Re: zStart - an app that runs on ram clears
Post by: GinDiamond on September 25, 2013, 04:45:14 pm
oh thanks!

I got it working now.
With zStart, zChem, and Omnicalc, its basically a pocket PC now

*EDIT*

Could you make like a "QuickTime picture viewer" style thing for zStart, so that you could enter a photo browser by pressing a certain key sequence from the homescreen and view 8-level greyscale pics, instead of just at boot?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 25, 2013, 04:53:52 pm
Could you make like a "QuickTime picture viewer" style thing for zStart, so that you could enter a photo browser by pressing a certain key sequence from the homescreen and view 8-level greyscale pics, instead of just at boot?
Well you can already do Apps/Up/Enter/2/4/2nd and then you can browse your images with left and right (works with up and down too).
Title: Re: zStart - an app that runs on ram clears
Post by: GinDiamond on September 25, 2013, 05:42:34 pm
oh. Duh.

now all we need is an 8 level greyscale movie player...

Wasn't there something like that made before? Some 8xk of The Matrix?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on September 25, 2013, 05:45:17 pm
I don't know about 8 level grayscale, but thepenguin (always him when it is about grayscale) made a 4 level grayscale video player with sound (http://ourl.ca/11979/226180). Convert any video you want and watch it on calc.
Title: Re: zStart - an app that runs on ram clears
Post by: TIfanx1999 on September 25, 2013, 06:29:46 pm
@GinDiamond: Yea, there was one, but I think it was pretty old and only in black and white.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on September 25, 2013, 06:51:38 pm
oh. Duh.

now all we need is an 8 level greyscale movie player...

Wasn't there something like that made before? Some 8xk of The Matrix?

An 8 level grayscale viewer would be a little silly. Each frame of the video only gets around 4 LCD refresh cycles. When you consider the fact that 8 level grayscale needs a 7 frame loop to achieve 8 colors, you see why this would be a little pointless.

However, maybe you could write a video encoder to take advantage of this and purposely alternate the color of a specific pixel so that it approximates 8 colors. This seems doable, but maybe a little mentally taxing ;D

Also, if you don't want sound, use fourvid (http://ourl.ca/8984/336871). It's uses .png compression and gets around 50% compression.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 04, 2013, 11:19:23 am
Just curious since I never actually use them. How are the Axe shortcut keys working inside the program editor? ON + ZOOM, ON + TRACE, and ON + STO.

Are these actually working? Are they sketchy? Do you actually use them or are you afraid to use them due to intermittent errors?
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on October 04, 2013, 04:21:44 pm
I always use them and they work great except the occasional Unknown error Axe gives but Runer said he fixed it on his side so no biggie. ;)
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on October 19, 2013, 01:02:37 pm
zStart is so awesome. Except the new version always crashes my calculator when I do ON + MATH, and I don't have anything else installed that could be affecting it...
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 21, 2013, 06:02:05 pm
zStart is so awesome. Except the new version always crashes my calculator when I do ON + MATH, and I don't have anything else installed that could be affecting it...

Yeah, that's a glitch I haven't really found a way to fix. If you open Mathprint at least once, it won't crash anymore. (An easy way to do this would be to leave it defaulted to mathprint and then press ON + MATH on every boot)
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on October 21, 2013, 06:52:42 pm
/me bumps this

*snip*

  • Regarding the shortcut to enable MathPrint not working unless it has already been enabled once: ... can you do something sneaky to always let MathPrint load up on RAM clears, but after it has been enabled, immediately switch to Classic mode if that default is set?

Also, another thought popped into my mind. You know how a while ago I mentioned that Omnicalc's quick apps menu doesn't register a context change until after any executed app returns to the OS? That may be a hard Omnicalc issue to fix, but I realized there are other issues with Omnicalc that might be (perhaps more easily) fixable. For instance, enforcing that parentheses assistant, the entries menu, and RAM recovery are disabled when MathPrint mode is enabled, and returning them to their original settings when Classic mode is enabled. It also may or may not be feasible to kill the partial line clear functionality when MathPrint mode is enabled. (I got the impression that you try to keep your key hook fast by only having ON+___ shortcuts so you can abort if ON is not pressed, but this check would need to occur before that)
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 22, 2013, 11:53:44 am
/me bumps this

*snip*

  • Regarding the shortcut to enable MathPrint not working unless it has already been enabled once: ... can you do something sneaky to always let MathPrint load up on RAM clears, but after it has been enabled, immediately switch to Classic mode if that default is set?

Also, another thought popped into my mind. You know how a while ago I mentioned that Omnicalc's quick apps menu doesn't register a context change until after any executed app returns to the OS? That may be a hard Omnicalc issue to fix, but I realized there are other issues with Omnicalc that might be (perhaps more easily) fixable. For instance, enforcing that parentheses assistant, the entries menu, and RAM recovery are disabled when MathPrint mode is enabled, and returning them to their original settings when Classic mode is enabled. It also may or may not be feasible to kill the partial line clear functionality when MathPrint mode is enabled. (I got the impression that you try to keep your key hook fast by only having ON+___ shortcuts so you can abort if ON is not pressed, but this check would need to occur before that)

Well, the next time I work on zStart, I'll probably fix it in the correct way, I'm sure I can figure it out eventually.

The onmicalc thing probably isn't all that hard. I should probably make a function that installs omnicalc differently based on the current mathprint setting and then just call that function when you switch mathprint.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on October 22, 2013, 12:03:42 pm
Well, Omnicalc, as awesome as it is, needs to be updated anyway. I'm up for it but I can't promise anything.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on October 22, 2013, 12:05:44 pm
Well, Omnicalc, as awesome as it is, needs to be updated anyway. I'm up for it but I can't promise anything.

DrDnar updated it, but the issue is that the new one doesn't work with zStart. zStart calls Omnicalc by address, so to fix it and remain compatibility you'd have to fix it OS patch style.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on October 22, 2013, 12:09:24 pm
Really ? I'm interested in this. Do you have a link ?
Edit : NVM, found it on TI-Planet. It's just a compat fix for newer calcs, nothing really interesting for me.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 23, 2013, 07:51:18 am
Really ? I'm interested in this. Do you have a link ?
Edit : NVM, found it on TI-Planet. It's just a compat fix for newer calcs, nothing really interesting for me.
whaaat, can you please link me? I found it on UTI before it got closed and the archives don't have file attachments anymore :(
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on October 23, 2013, 10:18:04 am
Really ? I'm interested in this. Do you have a link ?
Edit : NVM, found it on TI-Planet. It's just a compat fix for newer calcs, nothing really interesting for me.
whaaat, can you please link me? I found it on UTI before it got closed and the archives don't have file attachments anymore :(
Did you try going there yourself, noticing that you don't understand French but seeing the USA/UK flag that translates everything into English, then using the "Search" bar that looks in "Files" to look for "Omnicalc" and then picking the one saying "Dr'Dnar" ?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on October 23, 2013, 10:21:21 am
Really ? I'm interested in this. Do you have a link ?
Edit : NVM, found it on TI-Planet. It's just a compat fix for newer calcs, nothing really interesting for me.
whaaat, can you please link me? I found it on UTI before it got closed and the archives don't have file attachments anymore :(
Did you try going there yourself, noticing that you don't understand French but seeing the USA/UK flag that translates everything into English, then using the "Search" bar that looks in "Files" to look for "Omnicalc" and then picking the one saying "Dr'Dnar" ?
good idea, thanks >.</me guesses he just sucks at using the web
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on November 14, 2013, 09:20:24 pm
I'm just going to bug you about making an 84+CSE version of zStart, in case you haven't been bugged about it enough yet. It would be quite nice. If you wanted any assistance porting it or testing it, I would offer my help.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 14, 2013, 11:13:17 pm
I'm just going to bug you about making an 84+CSE version of zStart, in case you haven't been bugged about it enough yet. It would be quite nice. If you wanted any assistance porting it or testing it, I would offer my help.

I'm probably never going to own a CSE, so someone besides me is going to have to do it. I'll answer any questions said person has along the way and even find the OS entry points, but I don't want to actually do the porting.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on November 14, 2013, 11:25:20 pm
I'm just going to bug you about making an 84+CSE version of zStart, in case you haven't been bugged about it enough yet. It would be quite nice. If you wanted any assistance porting it or testing it, I would offer my help.

I'm probably never going to own a CSE, so someone besides me is going to have to do it. I'll answer any questions said person has along the way and even find the OS entry points, but I don't want to actually do the porting.

I think I'd be up for doing it. Can we make an exhaustive list of everything that would need to be altered? I'll try to name as many things as I can:

Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 14, 2013, 11:26:50 pm
I can't really contribute at all to this list considering I haven't even seen a CSE in real life.
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on November 19, 2013, 01:28:30 am
Question: Is it true that ZStart and Doors CS7 no longer conflicts with each others? TheCoder1998 just said that on IRC, but I couldn't find any info about such update/fix. ???
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on November 19, 2013, 01:30:13 am
I do for a fact know that omnicalc's functions and mathprint conflict.
but dcs7 and zstart are working together fine with me
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on November 19, 2013, 01:31:54 am
Even with Doors CS 7 hooks installed? I am asking, since both APPs used to have problems when both their hooks were installed simultaneously.

I like DCS7 because it can run Celtic III/xLIB/Omnicalc games without the hassle of having to constantly switch back and forth between Omnicalc and xLIB hooks manually (since they couldn't be chained).
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on November 19, 2013, 01:33:31 am
in the zstart menu you can chain the dcs7 parser hook to zstart
i'll post a screenie when i'm done resending os 2.43 to my 84+SE (mathprint sucks)
EDIT: Here it is
(http://img.ourl.ca//zstart%20gif.gif)
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on November 19, 2013, 01:56:20 am
That is interesting. I guess I'll have to give this a try at one point.
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on November 19, 2013, 05:44:54 am
It only works as long as you don't enter the DCS app, and the running from asm with dcs as shell over zstart never worked glitch-less for me :/

EDIT: So yeah, i have both on my calc, i just shortly execute the app of which i want the hooks before using 'em
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on November 19, 2013, 09:36:42 am
Question: Is it true that ZStart and Doors CS7 no longer conflicts with each others? TheCoder1998 just said that on IRC, but I couldn't find any info about such update/fix. ???

Kerm may have fixed DCS (I don't know). The way it used to work is that the first time you ran DCS, it would chain to zStart as it was supposed to. But the second time you ran DCS it would chain to itself rendering zStart (or any other program it was trying to chain to) out of the chain.

You can chain to DCS from zStart, but I don't know how well that is actually going to work.
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on November 19, 2013, 10:40:00 am
That's cool I didn't know what that did before  O.O
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on November 19, 2013, 11:01:25 am
well, it's working fine for me.
which os do you guys use?
i'm using 2.43 now and it works great
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on November 19, 2013, 12:22:19 pm
I use 2.55MP actually, since I needed to make sure that my programs work in it.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on November 23, 2013, 05:13:24 pm
The way I have it set up is DCS hooks off and ZStart having DCS set as shell. Works for me though I didn't try Xlib stuff (I also have Omnicalc support through ZStart).
Title: Re: zStart - an app that runs on ram clears
Post by: DieGoldeneEnte on December 17, 2013, 03:56:44 pm
I think this app is awsome, but I can't get it on my ti84-plus, because TI-connect sais "invalide pathname (8C08000D)". I also tried 1.2 and 1.3.010 but I couldn't get a version for my ti 84 plus on it. I CAN transfer other apps on it, only with zstart I have my problems :-[

Please help me, because i want to use this app.

DieGoldeneEnte

PS: If you need more information just ask :)
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on December 17, 2013, 04:51:36 pm
Unfortunately I had the same problem, and I had to remove ti-connect *AND* the  driver to install TILP. And it worked
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on December 17, 2013, 05:07:05 pm
Did you try with the USB cable or the SilverLink ? Because I never managed to transfer zStart through USB but it works fine for me with the SilverLink.
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on December 17, 2013, 05:09:07 pm
It just don't work with normal USB cables.

Hey 1000 posts!
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on December 17, 2013, 05:12:14 pm
Hey 1000 posts!
Yay ! 24 more for a round number ! :P

It just don't work with normal USB cables.
Yeah, zStart is not the only app to refuse to be sent through USB. I got that problem too with TI-Boy SE (which is a problem considering the size of the apps it produces :P). This is why I asked if DieGoldeneEnte used USB or SilverLink, to see if USB is the problem or not.
Title: Re: zStart - an app that runs on ram clears
Post by: DieGoldeneEnte on December 18, 2013, 02:02:22 pm
Thanks for the fast help o.O.
I use the Direct Usb, since i have no other.
If it works with Tilp I'll use that one as soon as i get on my computer.

DieGoldeneEnte

PS: The help came freaking fast!
Title: Re: zStart - an app that runs on ram clears
Post by: Eiyeron on December 18, 2013, 02:38:40 pm
YOu're welcome, you just were at the right time at the right place! I had the same problem, so it's way easier to help in your case!
Title: Re: zStart - an app that runs on ram clears
Post by: DieGoldeneEnte on December 18, 2013, 03:44:08 pm
well for me it didn't was the right time xD
it was 10pm for me when i asked.

But thanks anyway--> can't wait to get to my computer!
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 18, 2013, 08:01:07 pm
It just don't work with normal USB cables.
Yeah, zStart is not the only app to refuse to be sent through USB. I got that problem too with TI-Boy SE (which is a problem considering the size of the apps it produces :P). This is why I asked if DieGoldeneEnte used USB or SilverLink, to see if USB is the problem or not.

What? How is that even possible? My only guess as to what would cause this is that the hooks are interfering with the transfer process. If you turn off the main "Install" flag in zStart it might send.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on December 19, 2013, 01:47:07 am
I don't think it is your fault actually for once (jk :P). When I tried with TI Boy, I didn't have zStart installed on my calc (I didn't know about it yet). I think it is TI who did weird things in TI Connect as usual.
Title: Re: zStart - an app that runs on ram clears
Post by: pimathbrainiac on December 20, 2013, 08:00:17 pm
I have a suggestion: Add a hook that will make it so that if you do prgmPRGM (where prgmPRGM is Axe source) on the homescreen, it will compile the Axe source and run the binary if successful.

Good work, as always, thepenguin.
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on December 20, 2013, 08:43:07 pm
I found a bug today with the latest version (v1.3.013). My program now has ~35 labels and glitches when I use ON-VARS.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 23, 2013, 09:58:30 pm
I have a suggestion: Add a hook that will make it so that if you do prgmPRGM (where prgmPRGM is Axe source) on the homescreen, it will compile the Axe source and run the binary if successful.

Good work, as always, thepenguin.

That actually makes a lot of sense. I'll probably do that. (Whenever the next update comes :P)


I found a bug today with the latest version (v1.3.013). My program now has ~35 labels and glitches when I use ON-VARS.

Congratulations, you found the first bug. That menu used to scroll, I don't know what happened.
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on December 28, 2013, 11:40:52 pm
I used this example program (http://ourl.ca/20375/371608) to enable a key hook to password protect the memory menu. When I open zStart and click "Parser chain" from the program settigs menu it displays "Can't chain to zStart". Is this supposed to happen? I thought this was supposed to chain zStart's hooks to the ones already enabled.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 29, 2013, 09:19:24 pm
I used this example program (http://ourl.ca/20375/371608) to enable a key hook to password protect the memory menu. When I open zStart and click "Parser chain" from the program settigs menu it displays "Can't chain to zStart". Is this supposed to happen? I thought this was supposed to chain zStart's hooks to the ones already enabled.

"Can't chain to zStart" means that there is no parser hook currently in place. That tutorial deals with the rawkeyhook which is entirely different. If you're not using the parser hook, then this feature is of no use. (Currently there's no way to chain key hooks. However, zStart only uses the rawkeyHook. If you use the getCSC hook, there will be no interference.)
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on December 30, 2013, 11:06:15 am
 :-\ I don't suppose there's any way to do that in axe?
Title: Re: zStart - an app that runs on ram clears
Post by: Matrefeytontias on December 30, 2013, 01:09:14 pm
You can still retrieve the hook zStart uses, but that'll be super annoying to get working. It'll involve PageSwap - to enter zStart's page - but I didn't think of it very much for now.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on December 30, 2013, 06:42:20 pm
:-\ I don't suppose there's any way to do that in axe?

No way to do what?
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on December 30, 2013, 07:48:11 pm
Quote
If you use the getCSC hook, there will be no interference.
Is there a way to do a getCSC hook in axe so that it can be chained to zStart?
Title: Re: zStart - an app that runs on ram clears
Post by: MGOS on December 31, 2013, 12:40:58 am
Sure there is with the help of asm, it can be done the same way like RawKey just a little more complicated. Give me some time... ;)
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on December 31, 2013, 12:23:55 pm
Awesome, good luck  :)
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on January 01, 2014, 02:32:33 pm
hey, can you make symbolic support for zstart?
because everytime i use symbolic the hooks reset :(
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on January 01, 2014, 03:29:44 pm
Symbolic works perfect if you have Omnicalc, which is awesome by the way. So install Omnicalc and enable it in zStart. You don't need to do anything about Symbolic, just have the app on your calc. Problem solved. ;)

Little explanation : Omnicalc integrates Symbolic's functionality through its own parser hook without any chaining so you only need to enable Omnicalc to have both. Since zStart automatically sets up Omnicalc and chains to it during its init sequence, you basically have Symbolic natively.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on January 01, 2014, 03:35:48 pm
That doesn't solve the problem for people with a regular 83+ without enough space to have zStart+Omnicalc+Symbolic(+Français+Period+Axe+MirageOS) ;)
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on January 01, 2014, 03:40:15 pm
LOL true but he has an 84+SE iirc. Also except for Axe, all the apps you put in parentheses are useless (well I use Period because I can anyway :P, but a replacement program for it would be cool cause it sucks, blame TI for that).
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on January 01, 2014, 03:57:04 pm
LOL true but he has an 84+SE iirc.
True, but that doesn't prevent thepenguin77 from adding an option :P

Also except for Axe, all the apps you put in parentheses are useless (well I use Period because I can anyway :P, but a replacement program for it would be cool cause it sucks, blame TI for that).
Français is indeed useless (especially for coders), but in maths class, some teachers might want you to put your calc in French so that they say the same word to 82 Stats.fr and 83+ users. And Period can be useful in exams when you don't know the Z for the Oxygen (don't worry for me, I know it :P).
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on January 01, 2014, 04:40:41 pm
Well anyway since we know our calcs better than teachers we don't need a translation. :P Also my math teachers gave us the equivalent commands for both French and English versions.
And don't worry I know the Z of oxygen too. :P I didn't say Period was useless, just that it's a random piece of junk that needs a complete rewrite. :P (lots of :P)

Also let's not drift too far off topic.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 01, 2014, 04:51:24 pm
Symbolic works perfect if you have Omnicalc, which is awesome by the way. So install Omnicalc and enable it in zStart. You don't need to do anything about Symbolic, just have the app on your calc. Problem solved. ;)

Little explanation : Omnicalc integrates Symbolic's functionality through its own parser hook without any chaining so you only need to enable Omnicalc to have both. Since zStart automatically sets up Omnicalc and chains to it during its init sequence, you basically have Symbolic natively.

Well, in my opinion, problem solved :P
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on January 01, 2014, 05:56:29 pm
Quote
without enough space to have zStart+Omnicalc+Symbolic(+Français+Period+Axe+MirageOS)

AlphaCS is smaller if you don't need all the libs and stuff Mirage has.
http://www.omnimaga.org/index.php?action=downloads;sa=view;down=871 (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=871)
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on January 02, 2014, 04:48:35 am
well if i want to use a symbolic funtion (like csc) i get ERR:ARGUMENT
so they still don't work :(

EDIT: oh never mind i forgot to run omnicalc, now they work ;D
thanks for the help guys :thumbsup:
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on January 02, 2014, 05:51:57 am
Quote
without enough space to have zStart+Omnicalc+Symbolic(+Français+Period+Axe+MirageOS)

AlphaCS is smaller if you don't need all the libs and stuff Mirage has.
http://www.omnimaga.org/index.php?action=downloads;sa=view;down=871 (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=871)
Well the goal when having MirageOS on the calc is to have MirageOS libs, otherwise it is useless with zStart already on the calc.

edit and I am not the one who downrated you.
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on January 02, 2014, 07:34:43 am
AlphaCS is smaller if you don't need all the libs and stuff Mirage has.
well i don't use AlphaCS because i use DoorsCS and i like the DCSBlibs, but thanks for mentioning it :)

EDIT: so, could graph3 also have support for zstart? because i like that program too (i'm not demanding anything :))
Title: Re: zStart - an app that runs on ram clears
Post by: DieGoldeneEnte on January 04, 2014, 01:35:25 pm
btw before i forget it transfering zStart with tilp worked for me and is awesome!
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on January 05, 2014, 05:43:59 pm
You should make a version of zstart that allows the user to enable password protection when ram is cleared. One that VARS or CLEAR won't break.

Not related to zStart, but is there a way to disable on + del?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 05, 2014, 09:36:26 pm
People who want Graph3 and Symbolic (or either) should check this post (http://ourl.ca/10110/243871). The program will install the hooks for the app if it is on your calculator.

It looks like if you use Symbolic, the zStart parser hook will be overwritten, so install omnicalc if that's an issue for you.


You should make a version of zstart that allows the user to enable password protection when ram is cleared. One that VARS or CLEAR won't break.

Not related to zStart, but is there a way to disable on + del?

I could... but that requires work. If you make me the password input routine, I'll put it in a version of zStart for you.
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on January 06, 2014, 01:20:01 am
do you need to chain the zStart hooks to omnicalc or DCS7?
because symbolic still doesn't work properly now (graph3 does btw)

EDIT: it seems that using ti-boy se while zstart is active will crash your calc, why is this happening?
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on January 06, 2014, 08:48:39 am
Quote
I could... but that requires work. If you make me the password input routine, I'll put it in a version of zStart for you.

Thank you so much. If I made it in Axe and gave you the hex code, would you be able to work with that?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 06, 2014, 12:11:02 pm
Hey, actually, I've got a better idea. Make a password program in Axe and I'll send you a version of zStart with no aborts. You can set it to run on ram clear. I don't want to make this version public though because it's super dangerous.

Edit:
   Wait, this isn't possible. You can't beat the ON + CLEAR ever. Sorry. Like, complete abort.
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on January 06, 2014, 04:37:08 pm
Quote
Wait, this isn't possible. You can't beat the ON + CLEAR ever. Sorry. Like, complete abort.
Yeah, stupid OS. But if I made you the Axe program (and didn't call any external variables from it) would you be able to make it part of zStart? Or make the OS run the program instead of zStart? Because I thought ON + Clear only stopped zStart from finding it's appvariable not from running.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 06, 2014, 07:23:35 pm
Quote
Wait, this isn't possible. You can't beat the ON + CLEAR ever. Sorry. Like, complete abort.
Yeah, stupid OS. But if I made you the Axe program (and didn't call any external variables from it) would you be able to make it part of zStart? Or make the OS run the program instead of zStart? Because I thought ON + Clear only stopped zStart from finding it's appvariable not from running.

The key issue is that when you do ON + CLEAR. It doesn't look for programs or apps. The reason that this is a problem is that the OS doesn't setup the hardware correctly to run apps. In the OS patch code, I actually check for ON + CLEAR and abort if it's being held because the jump to zStart immediately crashes the calculator. The only way what you are saying is possible is through OS mods.
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on January 06, 2014, 07:39:37 pm
Quote
The key issue is that when you do ON + CLEAR. It doesn't look for programs or apps. The reason that this is a problem is that the OS doesn't setup the hardware correctly to run apps. In the OS patch code, I actually check for ON + CLEAR and abort if it's being held because the jump to zStart immediately crashes the calculator. The only way what you are saying is possible is through OS mods.

Oh no  :( not going to work then?
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on January 06, 2014, 07:42:29 pm
Quote
The key issue is that when you do ON + CLEAR. It doesn't look for programs or apps. The reason that this is a problem is that the OS doesn't setup the hardware correctly to run apps. In the OS patch code, I actually check for ON + CLEAR and abort if it's being held because the jump to zStart immediately crashes the calculator. The only way what you are saying is possible is through OS mods.

Oh no  :( not going to work then?

There are ways to do it. But, since I'm not going to actually use it, I really don't have the time to code it. All of the methods though require OS patches.
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on January 06, 2014, 07:45:51 pm
Quote
There are ways to do it. But, since I'm not going to actually use it, I really don't have the time to code it. All of the methods though require OS patches.

Thanks anyways.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on February 05, 2014, 12:34:22 pm
Something weird happened. My 84+SE asked me to GarbageCollect, but I was not expecting it and was about to restore zStart's options (mostly to get the contrast back to normal) with ON+Clear, so I pressed ON when the "Garbage Collect: Yes/No" Menu appeared. And then, my calc cleared the screen and started doing something (as the run indicator showed) but I can't tell if that was GarbageCollecting or not. I'll update this post if my calc stops doing that thing in a reasonable time or if I had to pull a battery.

edit The screen shut down, and pressing ON brought it back (and the calc was still doing its stuff). I guess this was just APD, but if APD happened while it was doing I don't know what, I guess that it is not Garbage Collecting, but just Garbage. So I pulled a battery, put it back in, pressed ON, was expecting a RAM Cleared, but not even ???

edit 2 Of course, nothing tells me that this is a zStart bug but... :P
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on February 06, 2014, 01:54:14 pm
i had a similiar issue a while ago

while i was garbage collecting, my calc shut down, and when i turned it on, i got a ram clear...

pretty wierd

but i'm using zstart anyway ;D]

EDIT: ti-boy no longer crashes now
i dunno why it happended itfp
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on March 01, 2014, 12:59:06 am
Is it possible to have a scrollbar in the program editor?
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 01, 2014, 09:56:33 am
Is it possible to have a scrollbar in the program editor?

I imagine that counting the number of lines that a program occupies (taking into account wrapping) is an expensive operation. Combined with the fact that this is a pretty superficial feature, I'm probably going to guess that it wouldn't be a very high priority. :P But who knows?

But if you wanted the ability to know approximately where you are in a file, perhaps I can suggest an alternate, possibly less expensive solution? It might be potentially possible that the "PROGRAM" text at the top of the editor can be replaced with a line number display, perhaps of the form "Ln ????" or "???/???" (the second number is the total).

Oh, and on the topic of modifying the title line in the program editor, what about an option to go DCS-mode and remove it entirely?
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 01, 2014, 09:58:28 am
could the "PROGRAM" line be removed entirely?
i never liked it anyway :P
and i don't like dcs that much. crazy me, i know :P
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 01, 2014, 01:33:52 pm
Is it possible to have a scrollbar in the program editor?

I imagine that counting the number of lines that a program occupies (taking into account wrapping) is an expensive operation. Combined with the fact that this is a pretty superficial feature, I'm probably going to guess that it wouldn't be a very high priority. :P But who knows?

But if you wanted the ability to know approximately where you are in a file, perhaps I can suggest an alternate, possibly less expensive solution? It might be potentially possible that the "PROGRAM" text at the top of the editor can be replaced with a line number display, perhaps of the form "Ln ????" or "???/???" (the second number is the total).

Oh, and on the topic of modifying the title line in the program editor, what about an option to go DCS-mode and remove it entirely?

I have some experience with counting lines and I can tell you that it's really slow. It's the reason that my small font program editor was never released (it was finished, just awfully slow).

I believe removing the title is actually really easy. I could probably do that.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 01, 2014, 01:35:58 pm
Could you somehow hook into cursor movements and code insertions/deletions to keep track of the line the cursor is on? Either logical line or physical line (without/with wrapping)?

EDIT: And on the topic of interesting thoughts about lines and wrapping, to what degree can you control how/where tokens get displayed? It might be neat to have a code editor that doesn't wrap lines, and instead uses arrows or ellipses to indicate additional code to the left or right. I wouldn't be surprised if this is practically impossible, but I just thought I'd throw it out there. It would actually make indentation possible to understand!
Title: Re: zStart - an app that runs on ram clears
Post by: aeTIos on March 01, 2014, 01:40:28 pm
Wait, this isn't possible. You can't beat the ON + CLEAR ever. Sorry. Like, complete abort.
I guess you could put in a password thing, most thieves probably won't know about those sorta-debug modes, as it's pretty much only known in the community. And I guess thieves are not in the community. (But you never know)

Regarding removing the program title: Make that a switchable, please! I never liked how DCS removed the program name, sometimes I was like "Uh, which program is this?" when I pulled the calc out of APD.
Writing that, I wonder if you could control the APD timer? Would be cool :D
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on March 01, 2014, 04:44:13 pm
Writing that, I wonder if you could control the APD timer? Would be cool :D
There's already a keyhook to force an APD: [ON]+[STAT]
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on March 01, 2014, 07:13:37 pm
Quote
Quote
Wait, this isn't possible. You can't beat the ON + CLEAR ever. Sorry. Like, complete abort.
I guess you could put in a password thing, most thieves probably won't know about those sorta-debug modes, as it's pretty much only known in the community. And I guess thieves are not in the community. (But you never know)
True, but I found out about on + clear from simply googling "how to fix my broken calc". I'm sure anybody with a stolen and protected calc would google how to reset it.

But I think I have a solution for the ON + CLEAR, and I would really appreciate it if you tried it. Could you add a simple loop before ON + CLEAR that repeats until the on key is released? That probably would take minimal OS patching and still solve the problem.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 01, 2014, 07:21:59 pm
Could you somehow hook into cursor movements and code insertions/deletions to keep track of the line the cursor is on? Either logical line or physical line (without/with wrapping)?

EDIT: And on the topic of interesting thoughts about lines and wrapping, to what degree can you control how/where tokens get displayed? It might be neat to have a code editor that doesn't wrap lines, and instead uses arrows or ellipses to indicate additional code to the left or right. I wouldn't be surprised if this is practically impossible, but I just thought I'd throw it out there. It would actually make indentation possible to understand!

It's definitely possible if I just do it by the no-wrap line number. It's counting characters that takes time, running a quick search for newlines doesn't take much time at all.

Could you somehow hook into cursor movements and code insertions/deletions to keep track of the line the cursor is on? Either logical line or physical line (without/with wrapping)?

EDIT: And on the topic of interesting thoughts about lines and wrapping, to what degree can you control how/where tokens get displayed? It might be neat to have a code editor that doesn't wrap lines, and instead uses arrows or ellipses to indicate additional code to the left or right. I wouldn't be surprised if this is practically impossible, but I just thought I'd throw it out there. It would actually make indentation possible to understand!

You don't have any control over this, especially when scrolling upwards. I don't think you could do indentation without writing a custom program editor.

Quote
Quote
Wait, this isn't possible. You can't beat the ON + CLEAR ever. Sorry. Like, complete abort.
I guess you could put in a password thing, most thieves probably won't know about those sorta-debug modes, as it's pretty much only known in the community. And I guess thieves are not in the community. (But you never know)
True, but I found out about on + clear from simply googling "how to fix my broken calc". I'm sure anybody with a stolen and protected calc would google how to reset it.

But I think I have a solution for the ON + CLEAR, and I would really appreciate it if you tried it. Could you add a simple loop before ON + CLEAR that repeats until the on key is released? That probably would take minimal OS patching and still solve the problem.

So basically you are saying just patch out the ON + CLEAR routine? (That's even easier.)
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on March 01, 2014, 07:29:06 pm
Quote
So basically you are saying just patch out the ON + CLEAR routine? (That's even easier.)
*ClrDraw facepalms
I didn't know that was possible.. But that would be a really nice feature if you would do it.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on March 02, 2014, 03:28:49 am
There is still ON+Del in the bootcode./me runs
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 02, 2014, 01:00:05 pm
Quote
So basically you are saying just patch out the ON + CLEAR routine? (That's even easier.)
*ClrDraw facepalms
I didn't know that was possible.. But that would be a really nice feature if you would do it.

You can patch your calculator to do just about anything. Although, I don't really feel like hunting down the ON + CLEAR routine. If you want to do it though, it shouldn't be too hard to patch once you find it ;D
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on March 02, 2014, 03:21:08 pm
I need to learn asm first..  :-\
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 03, 2014, 01:27:55 am
could somebody make a patch to toggle the program title?
that would be awesome :D
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 05, 2014, 10:36:38 am
bump

sorry for bumping but nobody replied and i kinda like to have an answer to my question...
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on March 05, 2014, 01:03:01 pm
Well it's feasible as he said. Maybe he will do it, maybe not, but that's not the best way to optimize screen space.
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 05, 2014, 01:20:02 pm
could the program editor also use the small font?
that would really optimize screen space :D

also i noticed a bug in the ON+VARS label menu, if you have a lot of labels, the menu will act wierd
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on March 05, 2014, 01:21:59 pm
Well, any screen space optimization require writing a whole new editor. All of the projects to do it stopped early.
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 10, 2014, 11:14:25 am
i just noticed that using prettyprint (the app) while a font is active that prettyprint doesn't print things so pretty anymore...
could this bug be fixed?
Title: Re: zStart - an app that runs on ram clears
Post by: Eeems on March 10, 2014, 05:18:42 pm
i just noticed that using prettyprint (the app) while a font is active that prettyprint doesn't print things so pretty anymore...
could this bug be fixed?
You'll probably have to give a little more information then "it doesn't print things so pretty anymore"
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 10, 2014, 11:51:40 pm
Oops, with the site upgrade, I forgot to check this topic :P


could somebody make a patch to toggle the program title?
that would be awesome :D


I'll add it someday, I just don't know when that day will be. (Next time I update it though).


could the program editor also use the small font?
that would really optimize screen space :D

also i noticed a bug in the ON+VARS label menu, if you have a lot of labels, the menu will act wierd


I actually did this. I have on my computer the code for a complete program editor using the small font. The only trouble is that it's too slow to be considered for everyday use. It's neat, and you can definitely see a lot with it, but whenever the screen scrolls, I think I remember a 0.5 sec delay (alpha scrolling is painful).


Quote
i just noticed that using prettyprint (the app) while a font is active that prettyprint doesn't print things so pretty anymore...
could this bug be fixed?


I'm going to guess no. PrettyPrint probably does some hacks that make it look weird. The problem is on PrettyPrint's end.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 11, 2014, 01:52:42 am
I have on my computer the code for a complete program editor using the small font. The only trouble is that it's too slow to be considered for everyday use. It's neat, and you can definitely see a lot with it, but whenever the screen scrolls, I think I remember a 0.5 sec delay (alpha scrolling is painful).
O.O
Release it ! I am sure that with a feature such as zStart's jump-to-label it won't be too much of a problem :D
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on March 11, 2014, 06:56:04 am
Small font editor O.O
Release it! Would be so epic! Maybe some keyhook to toggle.
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on March 11, 2014, 12:10:15 pm
I wonder if there could be a way to speed it up? Do you use TI fonts routines? That could explain the slowdown.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 11, 2014, 03:02:38 pm
I wonder if there could be a way to speed it up? Do you use TI fonts routines? That could explain the slowdown.


That's a good point, I never thought about that. I could try swapping in my own font routine to see if it makes a difference. If I remember correctly, the biggest issue was the determination of lines. (Where line breaks occur.)


I'll see if it still works, if it does, I can release it so people can have a try at it.


Edit:
   Before I go and screw this up by adding the small font routine or gettings distracted for weeks, here's what I had from before. This is a 2 page version of zStart and it only uses the small font editor. So, if you don't like it, well, that sucks haha.
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 11, 2014, 03:27:47 pm
   Before I go and screw this up by adding the small font routine or gettings distracted for weeks, here's what I had from before. This is a 2 page version of zStart and it only uses the small font editor. So, if you don't like it, well, that sucks haha.
umm the flash application has a bad signature...
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 11, 2014, 03:30:01 pm
Hmm... Well that's not good. I guess I've never tried sending it to my actual calculator. I'll see what's wrong.


Edit:
   I think I've narrowed down the slowest part of the editor to be the actual displaying of characters (which isn't really that surprising). I'll post a link to the code that needs to be optimized here (http://pastebin.com/wvLPFBmj). I'm out of time to work on this today, but if anyone can make some serious improvements (it probably needs to take about 1/2 as long) then the editor probably won't be as slow. I'll work on it later.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on March 12, 2014, 03:17:38 am
zStart has issues when there are enough labels that the menu goes off the screen. The rightmost column is full of the Btm listing, and the cursor is off the screen, and selecting a label doesn't take you to the right one.
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on March 12, 2014, 11:40:03 am
Yeah I found that earlier (page 42).
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 12, 2014, 03:21:23 pm
umm, thepenguin, when are you going to upload a version of zstart which hasn't a bad signature error?

one post 'till 200 :D
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 12, 2014, 04:11:58 pm
How about right now? ;D

I made it substantially faster by swapping out a bunch of bcalls for direct OS calls, so I think it might actually be fast enough to use now. Let me know what's wrong with it so that I can get an actual release out over spring break.

Things I know are wrong:
2nd + Rcl doesn't work (I don't even think I implemented it)

Also, I fixed the scrolling label menu thing.


Edit:
   This is a 2 page version of zStart that features an alpha small font program editor. (You can't disable it yet)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 12, 2014, 05:42:59 pm
Man, I didn't even know zStart could be made more awesome that it already was. I just put it on my calc and it's perfect. Speed is really far from being an issue and I can see my indented code without having wrapped lines.

However, Wabbitemu doesn't want to receive this update (says "file too big" even if I have a lot of free RAM (everything is archived) and a lot of free archive. And it doesn't want to uninstall the previous version either, it starts turning off instead of opening the program menu and not accepting any number key input in the homescreen. I had no problem to install it on my calc though (except that it seems like I had to sign the app).
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 12, 2014, 11:40:11 pm
Man, I didn't even know zStart could be made more awesome that it already was. I just put it on my calc and it's perfect. Speed is really far from being an issue and I can see my indented code without having wrapped lines.

However, Wabbitemu doesn't want to receive this update (says "file too big" even if I have a lot of free RAM (everything is archived) and a lot of free archive. And it doesn't want to uninstall the previous version either, it starts turning off instead of opening the program menu and not accepting any number key input in the homescreen. I had no problem to install it on my calc though (except that it seems like I had to sign the app).


I'm pretty sure it's a Wabbitemu glitch. I told buckeye about it the other day. Trying to install the run on ram clear also bricks wabbitemu.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 13, 2014, 03:08:48 am
Yeah, that's what I thought because my calc didn't complain at all. I'll try updating Wabbitemu and see it that fixes anything.
And once again, amazing work !
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 13, 2014, 03:54:28 am
it still has a bad flash signature D:
how can i fix this?


EDIT: 200th post  :w00t: :w00t: :w00t: :w00t: :w00t:
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 13, 2014, 03:57:14 am
You can sign it yourself, that's what I did. Just get RabbitSign somewhere and drag-and-drop zStart on the "drag and drop over me" file ;)
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 13, 2014, 04:01:17 am
could you pm me a zip file with rabbitsign? i can't find it anywhere on the web
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 13, 2014, 05:02:00 am
I didn't find where I could attach a zip in a PM -.-°

Also, thepenguin77, Adriweb on TI Planet asked if it would be possible to have the editor display comments in grey instead of black. I am sure you can pull it off but that would complicate the code a lot for not a lot of usefulness so what do you think about it ?
I also thought about something else: if you have space in your second page, why not include MirageOS libs ?
Title: Re: zStart - an app that runs on ram clears
Post by: Adriweb on March 13, 2014, 06:23:50 am
Well, obviously if it doesn't add a lot of code just for that :)
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 13, 2014, 07:21:23 am
I'm not sure about the whole gray comments thing. You'd need to be constantly updating the screen for the gray to look solid, which means allocating about 2/3 of CPU time just to grayscale updates. Not only would that result in a pretty noticeable slowdown of the editor, but it would probably have a large (negative) impact on battery life, as well.


And then there's the implementation difficulty, too. :P
Title: Re: zStart - an app that runs on ram clears
Post by: Adriweb on March 13, 2014, 09:32:05 am
All right then, don't worry about it :P
Title: Re: zStart - an app that runs on ram clears
Post by: Axenntio on March 13, 2014, 11:06:21 am
The editor is amazing ! Is very beautiful :3, is it possible to add a custom small font in the futur ? :o
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on March 13, 2014, 11:43:07 am
Quote
I also thought about something else: if you have space in your second page, why not include MirageOS libs ?


That would be really nice. That would let AlphaCS run more programs to.
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 13, 2014, 12:24:53 pm
could somebody pm me a signed version of the app please?
i can't find rabbitsign anywhere  :(
Title: Re: zStart - an app that runs on ram clears
Post by: Axenntio on March 13, 2014, 12:34:18 pm
If my memory is good, The rabbit sign is in the folder "Tools" when you download Axe.

Download here:
http://www.omnimaga.org/the-axe-parser-project/latest-updates-(***do-not-post-here!***)/?action=dlattach;attach=16242 (http://www.omnimaga.org/the-axe-parser-project/latest-updates-(***do-not-post-here!***)/?action=dlattach;attach=16242)

and go to "Tools/Application Signing/" and drag and drop the application on the batch file
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 13, 2014, 12:34:47 pm
thank you very much :D

EDIT: so, i've downloaded the app on my calc and this was my reaction:

OMFGTEHSMALLFONTEDITORISAWESOMEANDTEHLABELMENUISFINALLYFIXEDOMFGOMFGOMFG :D :D :D :D

thepenguin, you, my dear sir, are a genious :D
Title: Re: zStart - an app that runs on ram clears
Post by: Axenntio on March 13, 2014, 12:36:12 pm
You're welcome :)
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 13, 2014, 12:53:15 pm
since you've got free space in the app, could you implement the functions of symbolic and omnicalc into zstart, so i can use them without actually having omnicalc and symbolic on my calc?
Title: Re: zStart - an app that runs on ram clears
Post by: Sorunome on March 13, 2014, 01:27:55 pm
Seing that both are full apps, I doubt the space will be enough to put them into zStart.
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 13, 2014, 02:34:34 pm
maybe they don't take up the full space, and if thepenguin can make a 2-page app, he can make a 3- or 4-page app too right?
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 13, 2014, 03:09:10 pm
Seing that both are full apps, I doubt the space will be enough to put them into zStart.
They are not full apps, there is always some unused space. That's how Kerm managed to put a lot of apps (like Celtic III, MirageOS, etc) plus new features in 3 pages only (I only think that most features are useless, as opposed to zStart's features).

However, while MirageOS libs seems to me like a very good idea to add to zStart, I personnally don't use Symbolic so I would not see it in zStart. And the only things I use in Omnicalc are fast apps, parentheses assistant, hide finance, and entries menu, and I can live without those (except maybe hide finance) so I would not say that it should be included either, or at least not all of it.
Title: Re: zStart - an app that runs on ram clears
Post by: TIfanx1999 on March 13, 2014, 05:56:45 pm
Just FYI, rabbitsign should be available on Ticalc (http://www.ticalc.org) as well. :)
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 13, 2014, 08:42:21 pm
maybe they don't take up the full space

I believe they more or less do.

if thepenguin can make a 2-page app, he can make a 3- or 4-page app too right?

What's the point, then? It seems like all it would do is get rid of two physical applications and their menu entries without saving any archive space, which seems like a lot of work for not much benefit. And then things would start getting messy with multiple versions of zStart for people who do and don't want Omnicalc, people who do and don't want Symbolic, etc.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 13, 2014, 08:58:57 pm
You can sign it yourself, that's what I did. Just get RabbitSign somewhere and drag-and-drop zStart on the "drag and drop over me" file ;)
I'm not really sure how I messed this one up because I literally did this before I uploaded it. Oh well.


I'm not sure about the whole gray comments thing. You'd need to be constantly updating the screen for the gray to look solid, which means allocating about 2/3 of CPU time just to grayscale updates. Not only would that result in a pretty noticeable slowdown of the editor, but it would probably have a large (negative) impact on battery life, as well.


And then there's the implementation difficulty, too. :P
All of that and then the fact that it would take another 1.5KB of ram. I tried to make this program editor emulate the TI-OS one, so to have a program that's not supposed to actually use any ram at all use total probably would have some interference issues.


Interestingly though, I display the screen with fastCopy. So in principle, grayscale is possible.
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 14, 2014, 01:43:01 am
if thepenguin can make a 2-page app, he can make a 3- or 4-page app too right?

What's the point, then? It seems like all it would do is get rid of two physical applications and their menu entries without saving any archive space, which seems like a lot of work for not much benefit. And then things would start getting messy with multiple versions of zStart for people who do and don't want Omnicalc, people who do and don't want Symbolic, etc.
But everyone wants MirageOS libs, no ? It allows to run every single program (except maybe 20).
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 14, 2014, 07:15:52 am
if thepenguin can make a 2-page app, he can make a 3- or 4-page app too right?

What's the point, then? It seems like all it would do is get rid of two physical applications and their menu entries without saving any archive space, which seems like a lot of work for not much benefit. And then things would start getting messy with multiple versions of zStart for people who do and don't want Omnicalc, people who do and don't want Symbolic, etc.
But everyone wants MirageOS libs, no ? It allows to run every single program (except maybe 20).

If there's leftover space in a two-page version of zStart, I can definitely see the point of adding MirageOS libraries. I just wouldn't be in favor of adding a page primarily for it (in that case, just use the original app!). But I believe TheCoder1998 was asking about consuming Omnicalc and Symbolic, which would in all likelihood need most of two pages for themselves, which I'm not as keen on and is what that quote was supposed to address.
Title: Re: zStart - an app that runs on ram clears
Post by: TIfanx1999 on March 14, 2014, 08:27:54 am
^Pretty much agree. I could see adding the Mirage stuff, and have actually been pondering something similar myself. The others though, I don't see much sense to adding.
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 14, 2014, 10:53:11 am
um, i have noticed some significant bugs in the program editor
sometimes when editing a large program from archive, some code gets replaced and the whole screen gets garbled
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on March 14, 2014, 11:58:38 am
Could somebody put a screenshot of the small editor? I don't have a link cable (or wabbitemu) at the moment to try it out
Title: Re: zStart - an app that runs on ram clears
Post by: dinosteven on March 14, 2014, 03:17:02 pm
(http://i.imgur.com/nLQreKm.gif)
Just me running over some random code and scrolling. At the end, I kinda demonstrate how it breaks when Mathprint is enabled. Well, Mathprint sucks, too bad.
Title: Re: zStart - an app that runs on ram clears
Post by: Aspiring on March 14, 2014, 04:02:39 pm
Hmm... That error is too bad... but it won't affect me because it finally became important enough for me too downgrade from 2.55 to 2.43  ;)   I will miss a little bit about mathprint (mostly realistic square roots,  logBASE, and powers) but I am sick of having to avoid doing certian things just to keep my calc from crashing due to mathprint.

Thank you sooooo much thepenguin77!!!! I have been waiting for a small text editor for a long time! You definitely earned a +1 :thumbsup:   I love how zStart works so well with omnicalc.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 14, 2014, 07:29:15 pm
You guys know you can turn of MathPrint, right? That severely reduces the number of "bugs" caused by MathPrint. And I put "bugs" in quotes because with MathPrint off, I've never seen it causes any issues itself. I think the issues are caused by programs like Omnicalc expecting certain things to be a certain way, but they changed with the MathPrint OSes.
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on March 15, 2014, 12:02:03 pm
You guys know you can turn of MathPrint, right? That severely reduces the number of "bugs" caused by MathPrint. And I put "bugs" in quotes because with MathPrint off, I've never seen it causes any issues itself. I think the issues are caused by programs like Omnicalc expecting certain things to be a certain way, but they changed with the MathPrint OSes.
ROL2 and Reuben have display issues even in. Classic mode. The 7th small text pixel row fix also no longer works.
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on March 15, 2014, 08:02:38 pm
Is there any way to add some sort of "suspend" to the program editor? Press a button and you're at the homescreen, where you can math out that constant you need, and then press it again and you're back where you were.
Title: Re: zStart - an app that runs on ram clears
Post by: Runer112 on March 15, 2014, 08:09:16 pm
Is there any way to add some sort of "suspend" to the program editor? Press a button and you're at the homescreen, where you can math out that constant you need, and then press it again and you're back where you were.

Now that's an idea I could really get behind.
Title: Re: zStart - an app that runs on ram clears
Post by: ClrDraw on March 16, 2014, 01:15:05 am
I noticed that the editor only starts when you edit a program, not when you create one
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 16, 2014, 02:32:32 am
yeah i noticed that too, could that be fixed?

Is there any way to add some sort of "suspend" to the program editor? Press a button and you're at the homescreen, where you can math out that constant you need, and then press it again and you're back where you were.

That's an awesome idea :D
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 16, 2014, 07:36:08 am
Is there any way to add some sort of "suspend" to the program editor? Press a button and you're at the homescreen, where you can math out that constant you need, and then press it again and you're back where you were.
Well for now what you can do is put a random label where you are, quit the editor, make your calculation, come back quickly to your program (by the way, very quickly if you set a shortcut like ON+7 to edit your current project) and jump to that label before removing it.
Also, if you are talking about Axe, nevermind about the value, just put the constant into parentheses, it will be calculated during the compilation, not in the executable. You can also create yourself a custom constant at the beginning of your program.
Title: Re: zStart - an app that runs on ram clears
Post by: thepenguin77 on March 16, 2014, 04:47:17 pm

if thepenguin can make a 2-page app, he can make a 3- or 4-page app too right?


What's the point, then? It seems like all it would do is get rid of two physical applications and their menu entries without saving any archive space, which seems like a lot of work for not much benefit. And then things would start getting messy with multiple versions of zStart for people who do and don't want Omnicalc, people who do and don't want Symbolic, etc.
But everyone wants MirageOS libs, no ? It allows to run every single program (except maybe 20).
I'll probably add it eventually. But, I worry that it might be slightly more difficult than simply doing a copy/paste.



um, i have noticed some significant bugs in the program editor
sometimes when editing a large program from archive, some code gets replaced and the whole screen gets garbled
Does it happen with every large program? If not, could you post an example that will break?



Is there any way to add some sort of "suspend" to the program editor? Press a button and you're at the homescreen, where you can math out that constant you need, and then press it again and you're back where you were.
I've got a better idea. Make ON + MATH return to the last place you were editing.
Title: Re: zStart - an app that runs on ram clears
Post by: Streetwalrus on March 16, 2014, 06:43:56 pm
Wow, such a nice update there ThePenguin ! :D
By the way I always have two calcs (and my phone) with me so I don't have constant issues (pun intended). :P
Title: Re: zStart - an app that runs on ram clears
Post by: Freyaday on March 16, 2014, 09:02:43 pm
Is there any way to add some sort of "suspend" to the program editor? Press a button and you're at the homescreen, where you can math out that constant you need, and then press it again and you're back where you were.
I've got a better idea. Make ON + MATH return to the last place you were editing.
The problem is that the time it takes to rearchive a program is enough to lose the state in your head, and I've got such a gigantic program list that the calculator takes ages to get to anything. (Fast Program Menu would be awfully nice.)
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 17, 2014, 12:24:19 pm
Let me know what's wrong with it so that I can get an actual release out over spring break.

Things I know are wrong:
2nd + Rcl doesn't work (I don't even think I implemented it)
Some other thing that is wrong: when Axe detects an error and if we press a key other than Clear, zStart is meant to "jump to error" but it just opens the program at the beginning.
Title: Re: zStart - an app that runs on ram clears
Post by: DJ Omnimaga on March 17, 2014, 12:26:13 pm
Actually, the PRGM menu is much faster since OS 1.14 came out. Beforehand, with 200 programs it took about 4 seconds to scroll down one program in the list. Even 50 programs was still pretty slow (about .5 seconds per scrolling iteration). So in other words, we got our Fast Program Menu in 2002. :P (I agree that something faster would be better, though)
Title: Re: zStart - an app that runs on ram clears
Post by: TheCoder1998 on March 17, 2014, 12:27:35 pm
yeah i noticed that too
and half of my calculus program got corrupt because of the new editor :(
i'm sorry, but every time i try to reproduce it in wabbit it won't work, so i can't help you finding the bug :(
Actually, the PRGM menu is much faster since OS 1.14 came out. Beforehand, with 200 programs it took about 4 seconds to scroll down one program in the list. Even 50 programs was still pretty slow (about .5 seconds per scrolling iteration). So in other words, we got our Fast Program Menu in 2002. :P (I agree that something faster would be better, though)
i just use alpha to skip to the program i want to edit or open
Title: Re: zStart - an app that runs on ram clears
Post by: Hayleia on March 17, 2014, 01:25:26 pm