These five math programs are going to be my entry to the z80 programming contest.

I currently have no screen shots but I will post a link shortly for a beta download

I currently have 3 programs alpha tested and rewritten. if you would like to help with the beta testing please post here.

Also things I am looking for as feedback.

1.Ways I could improve the read me.

2.How is the user interface. Is it user friendly?

3. Is there any logic errors I did not catch.

4. Any syntax errors I missed.

5.other misc notes you have for me.

Thanks For your help.
1. Where's the readme?
2. What's the interface like?
3. and 4. Will the code be posted here?
Yes Sorry I did not realize that it would take an hour or so to get the file uploaded to the archives. And it is still not in the archives. I will post a link as soon as it gets in the archives.
OK thanks Smile
Since I see no pending files, either some administrator already accepted or already rejected the files. Smile
Ok. I will resubmit them. Because they are not in the archives yet.

Besides I have them all finished alpha testing now. At least I think. As soon as they are in the archives I will post a link here to download the programs.

Edit:
Files sent to archives now.

Also would anyone want the actual code posted here?
Ok Here is the link to download the Beta

Also Download it here from TI Calc.org

Thanks to all who help!

Edit by Catherine: removed the obnoxious green
I think rather than posting the code, you should just invite people to download it and look themselves. Smile Even if they don't have a link cable, they can just SourceCoder it. Are you looking for code feedback, or mainly just speed and functionality feedback?
Some Code feedback. Mostly if there is something Really newbie that I missed. I am still going through it to optimize more like using answer for variables when I can. But mostly looking for functionality, speed, User interface, any major errors like an endless loop I missed somewhere. I think that is about it.
Aes_Sedia5 wrote:
Some Code feedback. Mostly if there is something Really newbie that I missed. I am still going through it to optimize more like using answer for variables when I can. But mostly looking for functionality, speed, User interface, any major errors like an endless loop I missed somewhere. I think that is about it.
Sounds good, thanks for the clarification. I'll try to get a chance to try it myself, but no guarantees, as I'm slammed with a paper deadline of next Thursday. Sad
Ok. No problems. Have fun with the paper. I hate writing papers.
Small update. My Menu system is a third of the way finished. Here is what I have now so you have an idea what the finished product will be.



If you click on the "FIVE PACK OF MATH" at the top you get a copyright message and my email to contact me.

the "MADE BY AES SEDIA5" Box will display credits

The "CEMETECH.NET" Button will display a special thank you to the cemetech.net elites.

All other boxes run the program of that name.

Here is the code so far for those that are curios

Code:

:While 1
:ClrDraw
:0→Xmin
:94→Xmax
:0→Ymin
:62→Ymax
:Text(3,17,"FIVE PACK OF MATH
:Text(14,3,"ALGEBRA
:Text(14,45,"CALCULUS
:Text(24,3,"TRIGONOMETRY
:Text(24,60,"VOLUMES
:Text(34,3,"CHEMISTRY
:Text(34,45,"ARCHIVE STATE
:Text(45,20,"MADE BY AES SEDIA5
:Text(55,20,"CEMETECH.NET
:Repeat getKey=105
:Lbl 1
:"FIVE PACK OF MATH"
:Line(15,61,76,61
:Line(15,61,15,52
:Line(15,52,76,52
:Line(76,52,76,61
:Repeat K
:getKey→K
:End
:If K=34
:Then
:"FIVE PACK OF MATH"
:Line(15,61,76,61,0
:Line(15,61,15,52,0
:Line(15,52,76,52,0
:Line(76,52,76,61,0
:"ALGEBRA"
:Line(1,49,1,41
:Line(1,49,31,49
:Line(1,41,31,41
:Line(31,49,31,41
:Repeat J
:getKey→J
:End
:If J=105
:Then
:Asm(prgmZZARCHIV
:ArchiveprgmZZALGEBR
:prgmZZALGEBR
:UnarchiveprgmZZALGEBR
:Asm(prgmZZARCHIV
:Else
:If J=26
:Then
:If K=34
:Then
:"ALGEBRA"
:Line(1,49,1,41,0
:Line(1,49,31,49,0
:Line(1,41,31,41,0
:Line(31,49,31,41,0
:"CALCULUS"
:Line(43,41,43,49
:Line(43,41,78,41
:Line(43,49,78,49
:Line(78,41,78,49
:Repeat L
:getKey→L
:End
:
:
:
:
:Else
:If J=34
:Then
:If K=34
:Then
:"ALGEBRA"
:Line(1,49,1,41,0
:Line(1,49,31,49,0
:Line(1,41,31,41,0
:Line(31,49,31,41,0
:"TRIG 24,3"
:Line(1,31,1,38)
:Line(1,31,50,31
:Line(51,31,51,39
:Line(51,39,1,39
:Repeat T
:getKey→T
:End
:
:
:Else
:If K=105
:Then
:Text(1,1,"FIVE IVE PACK OF MATH
:Text(7,1,"MADE BY AES SEDIA5
:Text(13,1,"ALL RIGHTS RESERVED
:Text(19,1,"PLEASE DO NOT COPY 
:Text(25,1,"ANY CODE WITHOUT MY PERMISSION
:Text(31,1,"KINGRJ554 AT YAHOO.COM
:Text(49,1,"WITH HELP FROM THE TI ELITE
:Text(55,1,"AT WWW.CEMETECH.NET
:End
:
:Asm(prgmZZARCHIV
:UnarchiveprgmZZALGEBR
:prgmZZALGEBR
:ArchiveprgmZZALGEBR
:Asm(prgmZZARCHIV
:Else
:If K=25
:
:
:ClrDraw
:Text(1,1,"THE FIVE PACK OF MATH
:"CALCULUS"
:Line(43,41,43,49
:Line(43,41,78,41
:Line(43,49,78,49
:Line(78,41,78,49
:
:
:
:
:"TRIG 24,3"
:Line(1,31,1,38)
:Line(1,31,50,31
:Line(51,31,51,39
:Line(51,39,1,39
:
:
:
:
:
:"VOLUMES 24,60"
:Line(58,31,58,39
:Line(58,39,89,39
:Line(58,31,89,31
:Line(89,31,89,39
:
:
:
:
:"CHEM 43,3"
:Line(1,21,1,29
:Line(1,21,39,21
:Line(1,29,39,29
:Line(39,29,39,21
:
:
:
:"ARCHIVE 34,45
:Line(43,21,43,29
:Line(43,21,94,21
:Line(43,29,94,29
:Line(94,29,94,21
:
:
:"AES SEDIA5"
:Line(18,18,18,10
:Line(18,18,83,18
:Line(18,10,83,10
:Line(83,10,83,18
:
:
:
:
:
:"CEMETECH.NET
:Line(18,8,18,0
:Line(18,8,66,8
:Line(18,0,66,0
:Line(66,8,66,0
:End
You can use AxesOff (2nd-ZOOM) to turn the axes off.
Right. I forgot that. I have it in the original. I was planning on just inserting this code into my old code. but I realized that wont work so I just rewrote. it. I must remember that. Thanks souvik.
It looks pretty good, a very different design from what I was expecting before I saw the screenshot. My only concern is that it is going to be a pain to edit or add in the other programs with the system you have now. You should probably use lists and another program that draws boxes. ie, you could have one variable that remembers what item you are on and that would be the index of the list that contains the top left, right, bottom left, and right corners of the rectangle. That way you wouldn't have so many Line( statements, and you could make the menu easier to use in later programs.
Hmmmmm. I am not sure how that would work.

Edit:
Also what were you thinking it would look like before you saw the screen shot?? Just curios.
I was expecting a vertical menu, where you scrolled up and down with the arrow keys, but I like the way you chose to do it Smile I can try to hash out some code tomorrow, but the basics are:
Code:
:{0,0,40,8,5,10,45,18,10,20,50,28->L1
:1->I
:While 1
::Repeat Ans
:::getKey
::End
::0
::prgmRECT
::I+(Ans=34)-(Ans=24)
::Ans+3(Ans=0)-3(Ans=4)->I
::1
::prgmRECT
:End


Code:
prgmRECT
:Ans->A
:Seq(L1(X),X,4I-3,4I
:Line(Ans(1),Ans(2),Ans(1),Ans(4),A
:Line(Ans(1),Ans(2),Ans(3),Ans(2),A
:Line(Ans(1),Ans(4),Ans(3),Ans(4),A
:Line(Ans(3),Ans(2),Ans(3),Ans(4),A
Which would give you a small box that you can move around. Or so I think, I didn't test it. In L1, every four elements represents: x1, y1, x2, y2. I is the index of the list, and that Seq( statement gets the four elements starting at I, and saves it to Ans, so that the Line( statements can be shorter. When calling prgmRECT, Ans is 1 to draw the line, and 0 to erase it. (Hopefully that makes sense)
Ok. but would that box fit around all the different sizes of the program names?

I will try it tommorrow. tonight I am tired of coding. Thanks for the help.
Aes_Sedia5 wrote:
Ok. but would that box fit around all the different sizes of the program names?

I will try it tommorrow. tonight I am tired of coding. Thanks for the help.
It should, I think. Consider that uppercase program names are at most 4 pixels per char * 8 chars per name = 32 pixels.
Ok. I will try that in a few minutes. Actually might be later today. Thanks KermM. Also what do you think of the design.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 3
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement