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

0 Members and 1 Guest are viewing this topic.

Offline BalancedFury

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 722
  • Rating: +29/-2
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #435 on: October 08, 2011, 11:34:52 am »
W8, you can actually restore things with this program?
Antonio Nam = DualBLDR = Tony Arthur... U choose!





JOIN THE PETITION TO ADD THIS EMOTICON!!
[|:{P ------->


Yo dawg I herd u lost the game game so I coded the game game in your calc so you can lose the game game while you code your code about losing the game game.

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 #436 on: October 08, 2011, 11:53:05 am »
no,but maybe later. You really should dload it!!
I'm not a nerd but I pretend:

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 #437 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?
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 #438 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...
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 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 #439 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
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 mrmprog

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

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 #441 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.
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 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 #442 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?

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 #443 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?
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 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 #444 on: October 09, 2011, 01:57:37 pm »
I don't think it was removed.

Source: 5 sec ago :P
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 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 #445 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.
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 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 #446 on: October 09, 2011, 03:01:30 pm »
uh, why would you need to kill on+mode?
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 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 #447 on: October 09, 2011, 04:10:43 pm »
seems i do not have the newest version :P
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 mrmprog

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

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