Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Eniripsa96

Pages: 1 [2]
16
TI Z80 / Re: Image Cropping/Moving program
« on: February 05, 2010, 06:41:39 pm »
Hmm, maybe doing that vertically would work since 63 is divisible by 3, making a few loops and such, that is a possibility. I'm going to fool around a little more and see if i can discover anything else. If not, I'll try that.

However, i do not know if my method can extract anything besides a 1 or 0 because its based on rounding, which 2 rounded is the same as 1 rounded, so i would have to change it for that.

Hmm....if i check for each spot along a small line, then make each one multiply a preset value of 1 in a list spot by a prime lie the first pixel multiplies it by 2, second does it by 3, third by 5, etc, then use a factor checking section to tell what pixels to shade...that could possibly work as well.

17
TI Z80 / Re: Image Cropping/Moving program
« on: February 04, 2010, 11:01:25 pm »
Formula was proven faulty

18
TI Z80 / Re: Image Cropping/Moving program
« on: February 04, 2010, 10:27:04 pm »
oh, i changed it a little, typed it in, and it did extract the single number :D

instead, its iPart(L2(Y)/10^(x))-iPart(L2(Y)/10^(x-1))/10

maybe this will work after all :)
quite the annoying formula though >_<

EDIT: Fixed Formula ._.

EDIT: dang...found a glitch....back to editing it

19
TI Z80 / Re: Image Cropping/Moving program
« on: February 04, 2010, 10:11:54 pm »
haha! i think i came up with a way that takes very little memory to store the picture. I'm going to store a row as a large number, in 1s and 0s like binary, 1s being the pixel is shaded, 0 being it not. Extracting could be like setting A to the X value you want to get, then doing iPart(L2(y)^(x-1 to get it to the x digit and beyond, then iPart(L2(y)^x)/10 to get the spot right above it, then subtracting the second one from the first one to get it, this is a possibility and hopefully it works.
Memory-wise, it stores an entire row for a mesley 9 bytes, so the list in whole would be 579 bytes, and thats less than a picture's normal storage value o.O

I hope this works :)

Note: the y is the column # and the L2 is the list

20
TI Z80 / Re: Image Cropping/Moving program
« on: February 04, 2010, 07:12:00 pm »
I tried doing that but fitting an entire picture doesnt work, ive resorted to making a list of each spot that is shaded in, giving a value for each pixel, like the top right pixel (0,62) would be 1 and such, however i think ill have to make some formulas for making the movements of the picture much more complicated though >_>

At least it will give me something to do during math class lol

21
TI Z80 / Re: Pythagorean Program
« on: February 04, 2010, 07:07:06 pm »
Im doing Trigonometry right now, but i developed the way (formula) to do it last year in Geometry
Also, thanks for the advice and thanks!

22
TI Z80 / Image Cropping/Moving program
« on: February 04, 2010, 04:42:14 pm »
Well, the formula method cannot work, because i found one that actually worked to an extent, created an image that resembles it but it wasnt perfect, or close to perfect so I will just have to start from scratch again and hope to find a new method

23
TI Z80 / Re: Pythagorean Program
« on: February 04, 2010, 04:38:24 pm »
So, yeah, the download is up for anyone who wants it, just be sure to delete the L i accidently left in the code, it will point right to it if you hit GoTo after an error shows up. I apologize again for leaving that in there, I just didn't notice it when trying to optimize the code.

24
TI Z80 / Re: RUUUUNNNNNN!!!!
« on: February 03, 2010, 09:26:01 pm »
it looks pretty interesting

25
TI Z80 / Re: Pythagorean Program
« on: February 03, 2010, 05:55:15 pm »
I think i have an idea where my cord is, so ill upload it soon.
Also, i worked on optimizing the code and reduced its size by about 15%. (I must be bad at making optimized codes without editing >_>)

EDIT: got another 2.5% less bytes taken up >_< went from nearly 1k to a little over 800

26
TI Z80 / Pythagorean Program
« on: February 02, 2010, 04:50:43 pm »
I have been working on a program, well it works but im making it better, that requests you to input the length of a leg of a triangle and it will give you all of the right triangles it can be in with all sides integers while it is still a leg. I don't have my cord right now but here's an example of what it would show/do.
Note: the etc at the end isnt in the end of the program, i just didnt want to type out all the outputs it gives
         the * means its an action
         the input 120 is just an example number you would type in, the following numbers all actual results it gives for 120 (go ahead, check them)

-Input ? 120-

*clears screen*

Possible Triplets (with the leg you entered being "A")

B=3599
C=3601
Area=215940

B=1798
C=1802
Area=107880

*pauses screen*
*clears screen*

B=1197
C=1203
Area=71820

B=896
C=904
Area=53760

*pauses screen*
*clears screen*

B=715
C=725
Area=42900

B=594
C=606
Area=35640

*pauses screen
*clears screen*
[etc]

EDIT: Alright, the program is uploaded, feedback is welcome and appreciated :P

EDIT: OOPS! I just noticed an extra character in the program that will make it error. If it tells you there's an error, delete the list symbol infront of the List1. (There will be 2 small Ls, delete the first one). Sorry about that, it was just a mistake from my optimizations.

27
TI Z80 / Re: Simon Game
« on: December 24, 2009, 12:03:49 am »
well, yeah, im quite new at programming (just started a couple weeks ago) but thanks for the feedback and support.

EDIT: Oh, yeah, and Eeems, I guess i forgot the list in the file, to fix it just do this at the regular calculator screen (out of all apps/programs/whatever, dont know what to call it >_>)

{0,9,0}-LOPTN

where L=the list key

but thanks for the tip

28
TI Z80 / Simon Game
« on: December 22, 2009, 09:59:00 pm »
I've been working on a simon game for a bit now, I've added the following features:
   ~ Customizable Range of numbers that show up
   ~ Automated High Score list
   ~ Backward Mode (You have to enter in the number sequence backwards)
   ~ Entry modes of the numbers all together or seperately
I plan on adding more but for now, enjoy what I have so far. :P

Download it here: http://www.sendspace.com/file/m1ohog

Pages: 1 [2]