• zStart - an app that runs on ram clears 5 1
Currently:  

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

0 Members and 1 Guest are viewing this topic.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1587
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
zStart - an app that runs on ram clears
« 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
« Last Edit: August 29, 2012, 01:40:18 am by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: zStart - an app that runs on ram clears
« Reply #1 on: April 04, 2011, 10:35:37 pm »
Sounds awesome.
In-progress: Graviter (...)

Ashbad

  • Guest
Re: zStart - an app that runs on ram clears
« Reply #2 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 ^-^

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #3 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!
« Last Edit: April 04, 2011, 10:40:06 pm by ralphdspam »
ld a, 0
ld a, a

Offline Darl181

  • Vy'o'us pleorsdti thl'e gjaemue
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: zStart - an app that runs on ram clears
« Reply #4 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
« Last Edit: April 05, 2011, 02:49:05 am by Darl181 »

Offline xlibman

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55807
  • Rating: +3148/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • CodeWalrus
Re: zStart - an app that runs on ram clears
« Reply #5 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?
« Last Edit: April 05, 2011, 12:11:24 am by DJ_O »
In case you are wondering where I went, I am still active in the TI community, but I left Omni back in 2015 for various  reasons. I might come back one day, depending of certain circumstances, but my new online home (despite me being Omnimaga founder in 2001) is now CodeWalrus ( https://codewalr.us ). Sorry for the inconveniences.

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5731
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: zStart - an app that runs on ram clears
« Reply #6 on: April 05, 2011, 12:11:45 am »
Sounds really awesome, does it work for OS 1.19?

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline shmibs

  • android & human bean
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • ohithur
    • View Profile
    • shmibbles.me
Re: zStart - an app that runs on ram clears
« Reply #7 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...

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #8 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
ld a, 0
ld a, a

Offline Xeda112358

  • Xombie. I am it.
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4374
  • Rating: +692/-6
  • meow :3
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #9 on: April 05, 2011, 12:39:02 am »
Hehe, downloaded! This is really nice awesome!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #10 on: April 05, 2011, 02:41:55 am »
I will download ASAP. This looks awesome!
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6200
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #11 on: April 05, 2011, 02:59:53 am »
This sounds pretty cool! Great! No quadratic solver? :P

Quote
-the source (~8500 lines)
w00000t

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #12 on: April 05, 2011, 03:43:15 am »
I just noticed a typo:
"refrest"
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Xeda112358

  • Xombie. I am it.
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4374
  • Rating: +692/-6
  • meow :3
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #13 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...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6200
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #14 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.
* Scout goes install.