Awesome, glad to hear it. Anything you would like me to tweak on it? If not, you're welcome to use it as is, or of course tweak it yourself. And you know that SourceCoder can turn that into a .8xi for you, right?
I did not know source coder could convert it. Mayb just make the Aes Sedia part a little smoother and then it would be good.
Aes_Sedia5 wrote:
I did not know source coder could convert it. Mayb just make the Aes Sedia part a little smoother and then it would be good.
I'll see what I can do, but I probably won't have time for a few days, so you're probably better off trying to tweak it yourself. And yes, SourceCoder can convert image to .8xi and .8xi to images. It can also convert images to hex and binary for use in ASM and Axe and Hybrid BASIC programs.
OK thanks Kerm. And whenever you get to it is fine. For now it is just a project. And I stink at art so me tweaking it would not work well.
Aes_Sedia5 wrote:
OK thanks Kerm. And whenever you get to it is fine. For now it is just a project. And I stink at art so me tweaking it would not work well.
No problem, although I'd have more faith in your own abilities and at least try. I'll probably forget by the time I come back from my conference in a week and a half, so I encourage you to bump this thread if I haven't remembered by the end of October.
ok. I will bump it. And I will try.
GOt A new piece of code
Code:
Well I suppose its the usual. Optimze. Tell me where I went wrong. This is the first time I have used a list like this so there is bound to be some quirks. Also if there is a way to check if LMPACK is Created inside the program instead of using an install program to create it.
And I know I can use det( for archiving. I choose not too because my TI Nspire in 84 mode does not run DCS well.
GOt A new piece of code
Code:
//For my programs there will be an install which will create list MPACK. Unless there is a better way without over writing MPACK.
//The install
1->dim(LMPACK)
//the code
If dim(LMPACK)=1
Then
Lbl 1
Text(1,1,"WOULD YOU LIKE TO KEEP
Text(7,1,"ALL PROGRAMS ARCHIVED?
Text(25,1,"1.YES
Text(31,1,"2.NO
Repeat Ans
getKey
End
If Ans=92
2->dim(LMPACK
If Ans=92
3->dim(LMPACK
End
:While 1
:¦ GridOff:CoordOff:AxesOff:LabelOff:ExprOff
:¦ ClrDraw
:¦ Text(1,17,"FIVE PACK OF MATH
:¦ Text(7,1,"1.ALGEBRA
:¦ Text(13,1,"2.CALCULUS
:¦ Text(19,1,"3.TRIGONOMETRY
:¦ Text(25,1,"4.VOLUMES
:¦ Text(31,1,"5.TEMPERATURE CONVERSIONS
:¦ Text(37,1,"6.RESET ARCHIVE STATE
:¦ Text(43,1,"7.EXIT
:¦ Text(49,1,"MADE BY AES SEDIA5
:¦ Text(55,1,"CEMETECH.NET
:¦ Repeat θ
:¦ ¦ getKey→θ
:¦ End
:If dim(LMPACK)=3
Then
:¦ If θ=92
:¦ ¦ prgmZZALGEBR
:¦ If θ=93
:¦ ¦ prgmZZZCALC
:¦ If θ=94
:¦ ¦ prgmZZZTRIG
:¦ If θ=82
:¦ ¦ prgmZZZVOLUM
:¦ If θ=83
:¦ ¦ prgmZZZTEMP
End
:¦ If θ=84
Goto 1
:¦ If θ=72 or 45
:¦ Then
:¦ ¦ ClrDraw
:¦ ¦ Text(1,1,"THANK YOU FOR USING
:¦ ¦ Text(7,1,"FIVE PACK OF MATH
:¦ ¦ Text(49,1,"MADE BY AES SEDIA5
:¦ ¦ Text(55,1,"CEMETECH.NET
:¦ ¦ rand(200)
:¦ ¦ ClrDraw
:¦ ¦ Disp
:¦ ¦ Return
:¦ End
If dim(LMPACK)=2
Then
:¦ If θ=92
:¦ Then
:¦ ¦ Asm(prgmZZARCHIV
:¦ ¦ UnarchiveprgmZZALGEBR
:¦ ¦ prgmZZALGEBR
:¦ ¦ ArchiveprgmZZALGEBR
:¦ ¦ Asm(prgmZZARCHIV
:¦ End
:¦ If θ=93
:¦ Then
:¦ ¦ Asm(prgmZZARCHIV
:¦ ¦ UnarchiveprgmZZZCALC
:¦ ¦ prgmZZZCALC
:¦ ¦ ArchiveprgmZZZCALC
:¦ ¦ Asm(prgmZZARCHIV
:¦ End
:¦ If θ=94
:¦ Then
:¦ ¦ Asm(prgmZZARCHIV
:¦ ¦ UnarchiveprgmZZZTRIG
:¦ ¦ prgmZZZTRIG
:¦ ¦ ArchiveprgmZZZTRIG
:¦ ¦ Asm(prgmZZARCHIV
:¦ End
:¦ If θ=82
:¦ Then
:¦ ¦ Asm(prgmZZARCHIV
:¦ ¦ UnarchiveprgmZZZVOLUM
:¦ ¦ prgmZZZVOLUM
:¦ ¦ ArchiveprgmZZZVOLUM
:¦ ¦ Asm(prgmZZARCHIV
:¦ End
:¦ If θ=83
:¦ Then
:¦ ¦ Asm(prgmZZARCHIV
:¦ ¦ UnarchiveprgmZZZTEMP
:¦ ¦ prgmZZZTEMP
:¦ ¦ ArchiveprgmZZZTEMP
:¦ ¦ Asm(prgmZZARCHIV
End
End
Well I suppose its the usual. Optimze. Tell me where I went wrong. This is the first time I have used a list like this so there is bound to be some quirks. Also if there is a way to check if LMPACK is Created inside the program instead of using an install program to create it.
And I know I can use det( for archiving. I choose not too because my TI Nspire in 84 mode does not run DCS well.
IS there a way to make a program that will draw a picture for you in ti basic? that way. That way I could just right that code into an install program. And I dont know every line deminsion and pixel point to draw it out that way. Thanks
Aes_Sedia5 wrote:
IS there a way to make a program that will draw a picture for you in ti basic? that way. That way I could just right that code into an install program. And I dont know every line deminsion and pixel point to draw it out that way. Thanks
I used to have a program that did just that, but I don't have it anymore. It's not really a good idea to store pictures as a series of drawing commands anyway, since it takes up a lot more space than just using a picture variable.
Quote:
And I know I can use det( for archiving. I choose not too because my TI Nspire in 84 mode does not run DCS well.
You should report your issue in the Doors CS Bug Reports thread.
I am transferring from another thread to here. It was filling a space with random pixels. This was my old code which failed.
Code:
My new code has 2 main problems that I am not sure how to solve. Other than that it works.
Code:
Edit2:
Code:
Code:
While 1.
//Or to make a little less code Mayb. Repeat sum(dim(L1+L2+etc for all lists. = 5895. Would that work better ?
Repeat sum(dim(L1)J+dim(L2)=998//Think thats the number of pixels in thea 6th of a ti window. SO I am using 6 loops.
randInt(1,31)->A
randInt(1,31)->B
dim(L1)+1->dim(L1
dim(L2)+1->dim(L2
A->L1
B->L2
Sort(L1,L2)
Pxl-on(A,B)
End
Repeat dim(L1)+dim(L2) etc for lists through 11=5985
Repeat sum(dim(L1)J+dim(L2)=998
randInt(1,31)->A
randInt(1,31)->B
dim(L1)+1->dim(L2
dim(L2)+1->dim(L1
L1+{A}->L1
L2+{B}->L2
//At this point the deminsions dont math. Not sure how I could get those to go together. Also If I just add Number A and B to their lists it overwrites the First variable of the list without creating a long list of values.
SortA(L1,L2)
//And here I am not sure how to limit The Pxl-On command to only work if the point is not already in L1 and L2. as an X,Y coordinate.
Pxl-on(A,B)
End
Repeat sum(dim(L1)J+dim(L2)=998
randInt(1,31)->A
randInt(1,62)->B
dim(L5)+1->dim(L5
dim(L6)+1->dim(L6
A->L5
B->L6
Sort(L5,L6)
Pxl-on(A,B)
End
Repeat sum(dim(L1)J+dim(L2)=998
randInt(1,42)->A
randInt(1,62)->B
dim(L5)+1->dim(L7
dim(L6)+1->dim(L8
A->L7
B->L8
Sort(L7,L8)
Pxl-on(A,B)
End
Repeat sum(dim(L1)J+dim(L2)=998
randInt(1,62)->A
randInt(1,62)->B
dim(L5)+1->dim(L7
dim(L6)+1->dim(L8
A->L7
B->L8
Sort(L7,L8)
Pxl-on(A,B)
End
Repeat sum(dim(L1)J+dim(L2)=998
randInt(1,31)->A
randInt(1,93)->B
dim(L5)+1->dim(L9
dim(L6)+1->dim(L10
A->L9
B->L10
Sort(L9,L10)
Pxl-on(A,B)
End
Repeat sum(dim(L1)J+dim(L2)=998
randInt(1,62)->A
randInt(1,93)->B
dim(L5)+1->dim(L11
dim(L6)+1->dim(L12
A->L11
B->L12
Sort(L11,L12)
Pxl-on(A,B)
End
My new code has 2 main problems that I am not sure how to solve. Other than that it works.
Code:
Repeat dim(L1)J+dim(L2)=998
randInt(1,31)->A
//Considering shrinking The window and making 12 different screens to repeat instead of only 6. ALso realized I need to change the code above from 1,31 to 31,62 and so on,
randInt(1,31)->B
//Ok I thought this would work and it still is not working right.
L1
dim(L1)+1->dim(L1
Ans+{A}->L1 //But this only adds L1 and A. Ex. If L1 has 6. and A is5. It stores 11 to L1. I need it to add {5,6} as the list.....
L2
dim(L2)+1->dim(L2
Ans+{B}->L2
L2+{B}->L2
Sort(L1,L2)
//ALso not sure How to make a the program limit what gets drawn. So it only draws what is already not in the lists. Also I need to find a way for all of these 12 loops to loop continously instead of one then the other then the next....
Pxl-on(A,B)
End
Edit2:
Code:
Repeat dim(L1)J+dim(L2)=998
randInt(1,31)->A
//Considering shrinking The window and making 12 different screens to repeat instead of only 6. ALso realized I need to change the code above from 1,31 to 31,62 and so on,
randInt(1,31)->B
dim(L1)+1->dim(L1
dim(L2)+1->dim(L2
L2+{A}->L1
L2+{B}->L2
Sort(L1,L2)
//ALso not sure How to make a the program limit what gets drawn. So it only draws what is already not in the lists. Also I need to find a way for all of these 12 loops to loop continously instead of one then the other then the next....
Pxl-on(A,B)
End
Aes_Sedia5 wrote:
Ok. I just figured it was the crappy emulator on the TI Nspire
Assuming that you're using Doors CS 7.1 Beta 2 or so, Doors CS is actually carefully crafted to work around a lot of the failures of the Nspire and function properly. Are you still having issues?
I will redownload DCS. I am probably using an old version that I got from a friend. I have never actually downloaded it from this site.
Aes_Sedia5 wrote:
I will redownload DCS. I am probably using an old version that I got from a friend. I have never actually downloaded it from this site.
I'm glad that you got Doors CS through alternate channels, though; that means it's spreading out there in the wild. If you go to the DCS Menu -> About, you should see the version number.
ok thanks.
As soon As I get my code figured out for the next piece I will post it here. for now the random pixel thing is out. Right now I am thinking of changing my menu system from just text with a number to.
Code:
Not sure how I am going to do this yet, but it would be very nice as a menu.
As soon As I get my code figured out for the next piece I will post it here. for now the random pixel thing is out. Right now I am thinking of changing my menu system from just text with a number to.
Code:
_______
|Algebra| Trigonometry Calculus etc.
|----------
THe box will change for every program. you select. So you push right key. The trig "button" would have the box and the rest would not.
Not sure how I am going to do this yet, but it would be very nice as a menu.
That would be very easy to write, and I think it would look very nice! I hope that you do that; let us know if you need help figuring out how, but I think you should at least try it on your own first. Any luck getting that DCS version number? If you have a version number and bugs, a post in the DCS bug reports thread would be appreciated.
Ya I plan on doing it on my own for as much as I can. I hope to get it all finished by december so it can go in the contest. But we will see. I am also thinking about adding a grow effect to the blocks so the words inside of them grow a little. But I think to do that I would need to manually draw the characters instead of using the Text( function. So that will probably be later.
Also I will look now for the DCS version. I will download the new one tomorrow after I take the ACT test. I dont want to take the chance of screwing My calculator up just before a huge test.
Edit:
Also Would it be better to automatically archive and unarchive the programs in my mathpack or would it be best to give people the option To keep them in ram or archive.
Also I will add the colon line at the beginning of the program. I am not sure yet If I am going to make a sprite Icon for it. If I do I will probably use tokens IDE to make it for me.
Edit2:
Also my DCS is 7.1.1. So I will download beta 2 and see if that fixes it. Sunday of course. No offence but I cant take any chances.
Also I will look now for the DCS version. I will download the new one tomorrow after I take the ACT test. I dont want to take the chance of screwing My calculator up just before a huge test.
Edit:
Also Would it be better to automatically archive and unarchive the programs in my mathpack or would it be best to give people the option To keep them in ram or archive.
Also I will add the colon line at the beginning of the program. I am not sure yet If I am going to make a sprite Icon for it. If I do I will probably use tokens IDE to make it for me.
Edit2:
Also my DCS is 7.1.1. So I will download beta 2 and see if that fixes it. Sunday of course. No offence but I cant take any chances.
Here is my code at the moment. Still implementing the boxes functions and movements.
Code:
Currently working on the button system and drawing the lines....
Code:
ClrDraw
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(49,20,"MADE BY AES SEDIA5
Text(56,20,'CEMETECH.NET
//I will start with a box around 'THE FIVE PACK OF MATH' at the top. if they click there It will display a simple info page.
//Then if the user presses the down key the program will draw a box around algebra. If they press up from the starting position the box will be on cemetech.net. The info page for that will be the cemetech website.
//The MADE BY AES SEDIA5 button will display how what programming email and IM.
//The ARCHIVE STATE button changes whether or not the programs are archived after use.
//The other buttons will start the program of that name..
Currently working on the button system and drawing the lines....
Instead of drawing buttons manually, why not use the Doors CS BASIC libraries and the GUI features? It would mean a lot less work for you, and you can even have an actual mouse (if you want to).
That would mean writing in basic extended. The program in written in pure basic. for the z80 contest. Plus It would be good to write it in pure basic. It would be a good learning expierence.
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
» Go to Registration page
» Goto page Previous 1, 2, 3 ... 9, 10, 11, 12 Next
» View previous topic :: View next topic
» View previous topic :: View next topic
Page 10 of 12
» 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
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