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

0 Members and 6 Guests are viewing this topic.

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 #330 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).

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 #331 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.


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 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 #332 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. ;)
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 #333 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. :)

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 #334 on: July 29, 2011, 09:43:48 pm »
coolio! i love that you just keep adding things to this XD

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 #335 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

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 #336 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.


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 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 #337 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.
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 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 #338 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.


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 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 #339 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.
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 ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: zStart - an app that runs on ram clears
« Reply #340 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?
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #341 on: August 06, 2011, 07:57:40 pm »
Hmm that might be useful..

:w00t: 300th post!
This used to contain a signature.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #342 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.
« Last Edit: August 07, 2011, 01:28:35 pm by the_mad_joob »

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 #343 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
« Last Edit: August 07, 2011, 03:02:01 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 #344 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.
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