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 - Xeda112358

Pages: 1 ... 105 106 [107] 108 109 ... 317
1591
Aww, I posted the same exact code as thepenguin77 over on TIBD D: But Runer, nice code o.o As long as L1 is 2 elements, that is a great optimisation :D

1592
TI-BASIC / Re: Getting a program to unarchive another and then run it?
« on: October 28, 2012, 07:04:36 pm »
Yeah, if you go with the TPROG idea, you could do something like this:
Code: [Select]
"FAKE:XTEMP000
Asm(prgmTPROG
prgmXTEMP000
Then you wouldn't even need to worry about archiving/unarchiving :D

@dinosteven: I believe DoorsCS7 checks if there are any changes from the original program. If there are no changes, it does nothing. (At least I hope Kerm did it that way)

1593
I believe the program that converts the ROM tells the user how big it will be on calc.

1594
Grammer / Re: MSet (Grammer)
« on: October 25, 2012, 09:24:10 pm »
Thanks :D The math is a bit weird the way I did it. Also, the colon that I was missing was at ":>4096" and I was under some impression that I didn't need it >.>

1595
Grammer / MSet (Grammer)
« on: October 25, 2012, 07:28:25 pm »
I've been trying to make the Mandelbrot Set program in Grammer code for a little while (I made my first attempt in August), but something kept bugging out. It turns out, that all I had to do was add in a colon :P Anyways, this version I threw together yesterday after carefully writing out the code in a notebook :)

All it does at the moment is show a scaled down view of the MSet. You just run it and it computes the set appropriately. I plan to make it better for exploring the MSet zoomed in (where you can scroll the viewing area dynamically). It isn't nearly as fast as it would be in Axe or Assembly, but it is quite a bit faster than TI-BASIC which is what I was using before :P

Here is the code:
Code: [Select]
Repeat !!I: and I<999
ClrDraw
Text(0,0,"ITERATIONS:
expr(Input→I
End
Full
ClrDraw
For(A,0,111
A-64→C
For(B,0,95
B-48→D→H
C→G
For(E,0,I
G-H:*G+H:/ 32:+C→F   ;The space after the / is for using signed division
G*H
+Ans:/ 32:+D→H
If F→G2:+H2:>4096    ;This is G^2 and H^2, respectively, using the squared token
999→E
End
If E<999
Pxl-On(8+B/2,20+A/2
Is>(B
End
Is>(A
DispGraph
End
Stop

1596
Casio Calculators / Re: Slope and Yint
« on: October 24, 2012, 09:05:21 pm »
I'm not sure about the built in functionality, but applying math knowledge, you can do:
2x-y=1
y=2x-1
y'=2=slope

And y-intercept is when x=0, so 2*0-y=1, y=-1.

1597
ASM / Re: Calculating angles?
« on: October 23, 2012, 10:09:58 am »
Hmm, have you ever created a line drawing routine? Basically, take a point (x1,y1) and (x2,y2), and pretend you are drawing a line between them, but instead of drawing the pixels, use it as a path to draw your bullets. I am sure that finding the velocities would be a lot easier, though. Hopefully somebody comes along that knows more than I do!

1598
Humour and Jokes / Re: Multicolor domination
« on: October 23, 2012, 10:03:06 am »
Wow, that is fascinating!

1599
Humour and Jokes / Re: Juju is God
« on: October 23, 2012, 06:48:45 am »
Ohaithar.
Zeda E., destroyer of gods here.
Yup, 'tis all.

1600
TI-BASIC / Re: Store a value to an arbitrary variable?
« on: October 15, 2012, 08:36:06 pm »
I know I made an asm program a while ago that stores a list of values to real vars. The real vars are named via a string. Other than that, it is not directly possible in TI-BASIC.

1601
TI Z80 / Re: ORG: online Z80 IDE and assembler
« on: October 13, 2012, 09:11:01 am »
It might have been a bug in Chrome.

1602
Grammer / Re: Grammer 2-The APP
« on: October 11, 2012, 05:37:32 pm »
No, that should work. I will test it at some point, but it has worked for me.

1603
Grammer / Re: Grammer 2-The APP
« on: October 11, 2012, 12:23:31 pm »
Huh, that is actually weird. I've never had the problem :[ Maybe you added something to your code that caused it?

1604
Grammer / Re: Grammer 2-The APP
« on: October 10, 2012, 06:54:36 am »
:P Also, getKey( has been around since the program version :D

1605
Grammer / Re: Grammer 2-The APP
« on: October 09, 2012, 09:30:45 am »
Yes, it can be used as an extra variable >.> You can store to it, use it for math, and all that good stuff :P

Also, when I was trying to pass unrecognised tokens to the error handler, I found out that I had broken it. As well, there was another piece of code that has probably been broken for a while that I finally teased out. Anyways, I added these features in all:

  • ] can be used to parse an argument where the pointer follows.
  • ? is a token that is automatically updated with the program counter whenever there is an error or when you use prgm( as opposed to prgm
  • For the error handler only, End) is recognised as a command. This will exit the Error handler without restoring Ans and θ' (this lets you parse unsupported tokens yourself and return values that way).


I am going to see if I can find any more bugs before I release it, though.

EDIT: @Yeong: I saw your review on TICalc, by the way and I've forgotten to mention this:
Quote
I just wish that it could support multiple keypresses, though.
You can test directly for keys. For example, getKey(3 lets you test for right and getKey(2 lets you test for left. If you are pressing both keys, a 1 will be returned in both cases.
Quote
With the "Full" mode (just like Axe), Grammer programs can be run at amazing 15MHz speed(Of course, the 15MHz limited to 84+SE
Full works on the TI-83+SE, TI-84+, TI-84+SE. Basically, the only calc in the series it won't work on is the TI-83+.

Pages: 1 ... 105 106 [107] 108 109 ... 317