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

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

0 Members and 4 Guests are viewing this topic.

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #870 on: February 21, 2013, 10:03:09 am »
I found another bug with Axe compilation. Unlike Axe, zStart doesn't check whether a program is compilable or not, so you can accidentally compile another source file (e. g. a file with subroutines etc.) which is not meant to be compiled as the main program by Axe. It causes Axe to crash or compile another program (like the one directly above or below (?) in the program list). Of course you can avoid this by not doing the On + Sto-> in the wrong place but it happened multiple times when I didn't watch out.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #871 on: February 22, 2013, 08:07:42 am »
I noticed that too.

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 #872 on: February 22, 2013, 03:38:27 pm »
Ok, I'll fix that when I fix stuff.
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 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 #873 on: February 25, 2013, 11:34:25 am »
Feature idea:
For now, when we are in the program editor, we have shortcuts to quickly compile an Axe source execute it and come back to editing.
Could there be the possibility to have the same (without the compiling part) for Basic and Grammer programs ?
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 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 #874 on: February 26, 2013, 08:33:15 pm »
Suggestion: Checking the os of a 83+SE before isntalling run on ram clear instead of only making the calc ram clear (it did that with os 1.15)

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

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 #875 on: February 28, 2013, 05:59:11 pm »
Feature idea:
For now, when we are in the program editor, we have shortcuts to quickly compile an Axe source execute it and come back to editing.
Could there be the possibility to have the same (without the compiling part) for Basic and Grammer programs ?

I'm almost 100% positive it works with basic programs too. Grammer, maybe someday.

Suggestion: Checking the os of a 83+SE before isntalling run on ram clear instead of only making the calc ram clear (it did that with os 1.15)

Oops, that's a good idea.
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 Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #876 on: March 01, 2013, 01:36:15 am »
Yup, it works with basic.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #877 on: March 02, 2013, 09:16:32 am »
FYI: I think the zstart on Ticalc.org has two of the 83+ version. When I send either to my calc they're named zstart83.

I'm using the link from here now :P lesson learned, but you might want to fix that.
I just wanted to let you know that I can verify this. One of them is named as though it's the 84+ version, but they are actually both copies of the TI-83+ Version. I was trying to get a copy from Ticalc yesterday while Omnimaga was down.

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 #878 on: March 08, 2013, 03:45:26 pm »
I have absolutely no idea what is going on ???
I am making a program using zstaxe and it has many problems. I don't know at all if that comes from zstaxe, maybe it is Wabbitemu's fault, but the problems appeared when I added zstaxe, so I assumed it was its fault.

First problem:
When the first 3 lines of the code were those,
#Axiom(ZSTAXE)
#Axiom(TEXT)
#Axiom(AMEMKIT)

Axe freezed a few seconds after the first pass, then continued compiling and the outputted program "worked".
Then, I tried changing the first 3 lines in to this (basically, changing their order):
#Axiom(AMEMKIT)
#Axiom(TEXT)
#Axiom(ZSTAXE)

And the freezing time disappeared ???

Second problem:
I said "worked" because the background image had an offset, for some reason, even though I didn't change any command on the background drawing code.

Here is the full source code if you are interested, in spoiler. See the offset in Lbl DG, there is a "+156" that should normally not be necessary but the background is not at the right place if that "+156" is not there.
Spoiler For Spoiler:
.A1DROID

Fix 5
Axiom(AMEMKIT)
Axiom(TEXT)
Axiom(ZSTAXE)

L1+714->°TC

[03]
[]->°Credits
"Quigibo, Runer 112: Axe Parser"[00]
"Thepenguin77: zStart, zStAxe"[00]
"Jacobly: TEXT-AMEMKIT Axioms"[00]

[]->°Sprites
[00001E00210021FC20047FFE400240024002400240024002400240027FFE0000].Folder16^^2
[9999000000008001800100000000800180010000000080018001000000009999].Empty16^^2
[0180324C4E7240022BD4242469968A599A51699624242BD440024E72324C0180].Settings16^^2
[07E01818200440024602878187E187F987F987E18781460240022004181807E0].ExecProg
[FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF].Credits

3->°NbOpt
[]->°OptNames
"Settings"[00]
"ExecProg"[00]
"Credits"[00]

.put here the labels of the subroutines of the included options, then we'll call it with a Goto {...}^^r
Data(|LSettings^^r,|LExecProg^^r,|LCredits^^r)->°Labels

Lbl CODE

Fill(L5,128,0)
[07]->°List
"ExecProg"[0000]
"Settings"[0000]
"|vTEST"[0000000000]
[00000000000000000000]
"|vTEST2"[00000000]
"Credits"[000000]

"|vTEMPBUFF"->Str0
DelVar Str0
GetCalc(Str0,10000)->A
!If
 Disp "NOT ENOUGH MEM"
 Pause 3600
 Goto RET
End
ClrDraw^^r^^r


0->B->C->D
Lbl Menu
Fill(A,10000,0)

Copy(°List+1,L5,{°List}-1*10)
For(theta,0,11)
 theta*10+L5->Z
 .options included in the prog
 For(W,0,°NbOpt-1)
  !If Equ>String(Z,stdDev(°OptNames,W)->r1)
   r1->T
   W*32+°Sprites+64->S
  End
 End
 .other options
 !If {Z}
  "Empty"->T
  32+°Sprites->S
 Else!If -21
  .Folder in |var
  Z+1->T
  °Sprites->S
 End
 ~1->r1
 For(16)
  {r1++*2+S}^^r->{theta/3*24+r1+1*12+(theta^3*4)+1+A}^^r
 End
 TEXT(theta^3*32,17,T,theta/3*24*12+A)
End
TEXT(,,"Top Text Test",L6)
TEXT(0,57,"Bottom Text Test",L6)
Fill(L6+84,12,255)
Fill(L6+672,12,255)
GreyON()

Lbl MainL
While 1
 B->T
 getKey(1)?D?B+24->B,+1->D
 getKey(4)?D?-1->D,B?-24->B
 getKey(3)-getKey(2)+C+3^3->C
 B/24+D*3+C->Z
 .Z holds number of current choice
 If getKey(54)
  For(W,0,°NbOpt-1)
   !If Equ>String(Z*10+L5,stdDev(°OptNames,W))
    Goto ({W*2+°Labels}^^r)
   End
  End
 End
 For(30)
  Copy(T<B+T-(T>B)->T*12+A,L6+96,576)
  T!=B*5+1
  Pause
 End
EndIf getKey(15)

Lbl RET
DelVar Str0
LnReg
ClrHome
Return

Lbl Notif
->r1
Copy(L6,L1+84,84)
Fill(L1,84,255)
0->ZXmin+1->ZXmax->Z
ZXsclr1,L1)
For(2)
 Pause Z*200+1
 7->r1
 For(7)
  Copy(r1--*12+L1,L6,84)
  .DispGraph
  Pause 50
 End
 Exch(L1,+84,84)
End
Return

Lbl TEXT
r2->ZXmin
r1->ZXmax
ZXsclr3,r4)
Return

Lbl WKP
Pause 200
Lbl W4P
While 1
EndIf getKey(0)
Return

Lbl WLP
While 1
Pause 50
End!If getKey(0)
Return

Lbl GreyON
FnOff
fnInt(DG,0)
Return

Lbl DG
TC++
!If ^10
 Cursor()
 DispGraph(L6,°BG+156)^^r
 Cursor()
End
Return

Lbl Cursor
RectI(C*32,D*24+8,32,24)
Return

Lbl Settings
stdDev(°OptNames,0)
sub(Notif)
Goto Menu

Lbl ExecProg
FnOff
Prgm()
If
 DelVar Str0
 .DelVar TEMPBUFF to save mem
 Fill(L5,128,0)
 .Clears L5 to prevent strange tokens on homescreen
 Fpdf(T)
End
Goto Menu

Lbl Credits
stdDev(°OptNames,2)
sub(Notif)
Goto Menu

Lbl Prgm
.browse programs and returns pointer to selected program, or 0 if no programs found
.btw, how could there be no program if you launched this program ?
StorePic
ClrDraw(L1)
0->N
First(5)
If
 Print(A)
 While Next()
  Print(N++*10+A)
 End
 0->T->S
 WLP()
 While 1
  S+getKey(1)-getKey(4)->S
  !If S+1
   ->S
   T--+1??->T
  Else!If S-9
   S--
   N-8>T+T->T
  End
  S-(+T>N)->S
  ~1->Z
  ClrDraw
  For(8)
   If Z+++T<=N
    Text(5,Z*6,T+Z*10+A+1)
   End
  End
  Text(0,S*6,"-")
  DispGraph
 EndIf getKey(54) or getKey(48)
 5->{T+S*10+A->T}
Else
 0
End
RecallPic
Return

Lbl First
Xminr1)
Return

Lbl Last
Xmaxr1)
Return

Lbl Next
Xscl)
Return

Lbl Prev
Ymin)
Return

Lbl Print
Ymaxr1)
Ymaxr1)^^r
Return

Lbl BG
[00000000000000000000000000000000000000000000000000000000000000000000000000000000003F8000000000000000000003FFF00000000000000000000FFFFE0000000000000000003FFFFF800000000000000000FFFFFFE00000000000000000FFFFFFF00000000000000007FFFFFFF80000000000000007FFFFFFFC000000000000000FFFFFFFFE000000000000000E000071FE000000000000003E000071FF000000000000003E000071FF800000000000007FFE3FF1FFC00000000000007FFE3FF1FFC0000000000000FFFE3FF1FFC0000000000000FFFE3FF1FFE0000000000000FFFE3FF1FFE0000000000000FFFE3FF1FFF0000000000001FFFE3FF1FFF0000000000003FFFE3FF1FFF0000000000007FFFE3FF1FFF0000000000007FFFE3FF1FFF0000000000005FFFE3FF1FFF000000000000DFFFE3FF1FFF000000000000DFFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000018FFFE3FF1FFE0000000000018FFFE3FF1FFE0000000000030FFFFFFFFFFE0000000000030FFFFFFFFFFE00000000000307FFDFFFF7FC00000000000307F8D8E733FC00000000000307FB56DAD7F800000000000303FB5CDA17F800000000000301FB52DAF7F000000000000301F8D15A11E000000000000180FBFFFFFFF8000000000001807BFFFFFFFE000000000001803FFFFFFFFF000000000001800FFFFFFFFF800000000001C007FFFFFFFFC00000000000C001FFFFFFFFC00000000000E0007FFFF8CCC0000000000060000FFC3ABB400000000000700000003ABB4000000000003800000028B8C000000000001C0000003FFBC000000000000E0000003FFCC0000000000007800001FFFF80000000000003C00007FFFF80000000000001FC003FEFFF000000000000007FFFFF87FE000000000000000FFFF800F00000000000000001FFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000]->°BG
« Last Edit: March 09, 2013, 01:13:38 am by Hayleia »
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 #879 on: March 09, 2013, 12:04:10 am »
You'll have to ask runer. I may have screwed up the axiom, but it might also be an axe problem.

Does zStaxe have to be last for it to work?
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 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 #880 on: March 09, 2013, 01:15:14 am »
Does zStaxe have to be last for it to work?
I don't know if it "has to be last", but the alphabetical order works while the anti-alphabetical order doesn't. I'll try other orders when I get back on the right PC (now on my sister's computer).
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 chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #881 on: March 10, 2013, 03:39:52 am »
Yeah, the ticalc version definitely contains two zStart83's.

Also, i'm getting a RAM clear whenever i try to enable >C000 execution on zStart83. It only happens when i exit that menu, but i can't seem to enable >C000 execution. I'm using an 83+ OS 1.19, i tried zStart v.1.3.010 and 1.3.009.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: zStart - an app that runs on ram clears
« Reply #882 on: March 10, 2013, 07:31:28 am »
^ same for me.

Offline Madskillz

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 488
  • Rating: +32/-2
    • View Profile
Re: zStart - an app that runs on ram clears
« Reply #883 on: March 11, 2013, 01:40:25 am »
Yep same here

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 #884 on: April 29, 2013, 09:06:19 pm »
Kind of update:
  • fixed the issue with it freezing on inputs
  • fixed crashing when trying to install on the wrong OS
  • fixed (probably) the C000 issue a few people had on 83+BE's
  • fixed an issue involving interrupts and port (07)




Stuff I intend on fixing later:
I came across this "bug" multiple times now:
When you turn off the calculator while you're editing an archived program (the copy of one), and zStart wants to store the edited version and GarbageCollect appears, the LCD turns off and and it doesn't react on any key presses (calc behaves like turned off, but it isn't) before you can do a GarbageCollect. You need to remove the batteries and lose the current progress which is kinda annoying :/
Is there someway you can prevent the calc (or its peripherals) from turning off when the program isn't saved yet?
Can we have find|replace?
I found another bug with Axe compilation. Unlike Axe, zStart doesn't check whether a program is compilable or not, so you can accidentally compile another source file (e. g. a file with subroutines etc.) which is not meant to be compiled as the main program by Axe. It causes Axe to crash or compile another program (like the one directly above or below (?) in the program list). Of course you can avoid this by not doing the On + Sto-> in the wrong place but it happened multiple times when I didn't watch out.


If after a few days, there are no glaring mistakes in this, I'll upload it to ticalc.org finally.
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