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

0 Members and 1 Guest are viewing this topic.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #165 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.
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 ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #166 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.
« Last Edit: May 05, 2011, 09:44:03 pm by ztrumpet »

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 #167 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). 
ld a, 0
ld a, a

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #168 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:
  • 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)



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.
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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: zStart - an app that runs on ram clears
« Reply #169 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




Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: zStart - an app that runs on ram clears
« Reply #170 on: May 08, 2011, 04:36:14 am »
aw, no more long tokens? :p
this looks brilliant. thanks, penguin!

Offline Munchor

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

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #172 on: May 08, 2011, 12:35:22 pm »
awesome
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

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 #173 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!!!!!
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 Broseph Radson

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 295
  • Rating: +20/-1
  • Its 0x1A4 somewhere
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #174 on: May 08, 2011, 02:31:59 pm »
woot!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: zStart - an app that runs on ram clears
« Reply #175 on: May 08, 2011, 02:52:22 pm »
Since I was bored, and since I love the Lord of the Rings, I converted this font to zStart format.
Enjoy! I know I can't wait to confuse my friends tomorrow.  :P


Spoiler For Projects:

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

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

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

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

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

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #176 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.
« Last Edit: May 08, 2011, 03:19:58 pm by Happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Munchor

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

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #178 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:
  • 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.


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 Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #179 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?