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

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

0 Members and 3 Guests are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: zStart - an app that runs on ram clears
« Reply #465 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.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

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 #466 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?
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 Mighty Moose

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 141
  • Rating: +4/-0
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #467 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).
Cheers!
I beta test, so...yeah.  PM me if you want me to test anything :D.

Almost only counts in horseshoes and handgrenades.

Cogito ergo sum.

Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM  (I'm spoiled :P)
TI-81, OS 1.6K (only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad, OS 1.6.10110 (!?) now OS 3.1.0.392

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 #468 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
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 Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: zStart - an app that runs on ram clears
« Reply #469 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.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: zStart - an app that runs on ram clears
« Reply #470 on: October 15, 2011, 04:10:04 am »
Thats what he said.
btw, its wether, not weather ( weather = wetter auf Deutsch)
I'm not a nerd but I pretend:

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 #471 on: October 15, 2011, 09:14:12 am »
Thats what he said.
btw, its whether, not weather ( weather = wetter auf Deutsch)
Hint, hint.
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 Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #472 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
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

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 #473 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.
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 Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: zStart - an app that runs on ram clears
« Reply #474 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.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #475 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!

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: zStart - an app that runs on ram clears
« Reply #476 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)
« Last Edit: October 24, 2011, 06:27:21 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline thepenguin77

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

  • Check Clear
  • Jump to app
  • Check Vars and Clear
  • Close edit buffer
  • Load appVar

=================== From here down runs when you quit zStart also ========================
  • Check installed flag
  • Do degress/radians
  • Do Diagnostic mode
  • Do mathprint, mathprint popup, and stat wizards
  • Install catalog help hook
  • Install axe hook
  • Clear port (2E) delay (making ONSCRPT if necessary)
  • Set font hook (making the first VAT entry if necessary)
  • Handle picture (making OFFSCRPT if necessary)
  • Set contrast
  • Set ALCDFIX delay
  • Make Omnicalc appvar and set hooks (first VAT entry)
  • Unlock $C000 (ONSCRPT)
  • Set programs parser hook (first VAT entry)
  • Set shortcut rawKeyHook
  • Disable the headphone hack if it is running
  • Run "Run on zStart" program

=================== From here down only happens on ramclears ==================
  • Run "Run on RamClear" program
  • Reopen edit buffer
  • Jump to specific ram cleared message



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)
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 Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: zStart - an app that runs on ram clears
« Reply #478 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)
Vy'o'us pleorsdti thl'e gjaemue

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #479 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
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s