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 ... 310 311 [312] 313
TI-BASIC / Re: Quadratic Formula
« on: November 01, 2010, 01:07:38 am »
(sorry, but I had to optimize a little  ;D)

Code: [Select]
:a+bi                             (Found in the [MODE] menu, allows imaginary numbers)
:Disp "AX²+BX+C=0
:Prompt A,B,C
:Pause -B/(2A)+{Ans,-Ans

This won't use L₁, either. If you do want to store it to L₁, then just do Ans→L₁ after running the program because Ans will contain the results.

Introduce Yourself! / Re: Hello-ha!
« on: November 01, 2010, 12:34:33 am »
@DJ Omnimaga: I am satisfied with my current name, but thanks for the offer!
@Michael_Lee: That you did! I have been playing with patterns since before I new they had names and this was the most intriguing one of my youth. It is such a lovely pattern... And now I am working on the Riemann Hypothesis... (Seriously. In my spare time. I am a freshman in college, but I have shown promise... My latest pattern apparently stumbled on the zero's in the Riemann Hypothesis and if I can prove said pattern true, well....)

ASM / Re: App Help
« on: November 01, 2010, 12:09:11 am »
Yes, actually, it does make mistakes every so often. And it does only sign hex files. I had a problem earlier today. I put my uncompressed version of SpriteLib on my computer, used TI-Coder to open it up, copied the hex into a  spreadsheet that I made using OpenOffice which converted the hex to .db format, then I used TASM32 and opened the OBJ file, I copied the code there and pasted it into a file that already has the code for the header. Then I used Wappsign and it it didn't sign properly. It normally does, though.

ASM / Re: App Help
« on: October 31, 2010, 11:58:50 pm »
!!! Oh, wow! I wish I had known about this two years ago! That is really cool! I wish I knew how to make computer programs to do things like that... THAT IS AWESOME! Since my first place to find ASM opcodes was TIBD, I think it would be cool to put a link on the "hexcodes" page.

ASM / Re: App Help
« on: October 31, 2010, 11:16:36 pm »
I had very limited access when I was learning assembly, so I have gotten to be very fast with programming in hex. The on-calc compilers are a little too cumbersome for me, but now that I actually have a computer, I can learn to make my programs on this. I do not plan to stop programming directly on the calculator because I get to have a more intimate knowledge of how my code is functioning, but I plan out the hex on my computer anyway, so it would be nice to be able to make a working source code for everybody else to use. Plus, when I was just a BASIC programmer I could never seem to find opcodes other than simple ones and I had no way of putting assembly programs on my calc, so now I am providing people with longer, more useful codes. If you check out my TICalc page you will find a bunch of my other programs and you will see that for the older ones I planned them out with mnemonics and notes and as I became more fluent, I started making fewer notes and no mnemonics because I translate the hex easily.

And I have tried Mimas and I can definitely say that it is pretty cool and I recommend it to anybody that hasn't been so damaged as I :D
I really envy not needing to count bytes...

ASM / Re: App Help
« on: October 31, 2010, 10:39:11 pm »
It is going to be SpriteLib turned into an app and instead of using Ans for the input it is going to use int(. This way, it is much faster to use commands and it won't take up all that RAM.

ASM / Re: App Help
« on: October 31, 2010, 10:17:08 pm »
But I would think that that was built into the system routine that handles the hooks, right? It isn't crashing or anything anymore, it just isn't letting me use the int( command so I am inclined to believe that my problem now is with how I mishandled the hooks or the data.

ASM / Re: App Help
« on: October 31, 2010, 10:10:46 pm »
Oh, thanks. When I was first experimenting with the parser hook I tried using that. Now I know what went wrong.

Now, do I need to use that B_Call to exit the hook if it is part of the app? I don't think I need to, but I figured I should ask. I am still trying to figure out what is going wrong. My last version doesn't crash anymore like it used to, but it does throw an "Err:Argument" when I try to use the "int(" command which is the command I am modifying. Do you know what could be causing that?

ASM / Re: App Help
« on: October 31, 2010, 09:52:14 pm »
well either way, that was really cool. I often manually go through my codes and disassemble them for people, but when I have codes as big as that one, I am pretty reluctant. Thanks a million for that. Anyway, I am still unsure about whether or not I can use B_Calls in my hook.

ASM / Re: App Help
« on: October 31, 2010, 09:36:14 pm »
Hmmm, I didn't catch that. I don't know how I made that kind of a mistake. Anywho, my internet is very slow, so I have been trying to reply for over a half an hour. How did you disassemble that?!?! That is pretty cool and it could make my life easier! I liked the DJNZ idea when I thought of it because I was used to using it to make a loop and jumping backwards. I realised that there had to be use for making it jump forward et voila! Before I had 3D20xx or
dec a
jr nc,xxh

and that would jump over that chunk of code.

@graphmastur: the DJNZ's are at the start of the code for each "command" (it is from my SpriteLib program) and "B" contains the command number to execute. If it B is 3, it will decrease to 2 at the first command and since it isn't 0, it jumps to the next command.

*Sorry, didn't know there was a second page
Um, I would prefer not to use Mimas because I am at the point where I no longer need to look things up when I am programming (unless it is something obscure). However, I do have regular access to a computer now, so I am looking into using that to do assembly.

ASM / Re: App Help
« on: October 31, 2010, 08:40:28 pm »
by special exit code I mean _JForceCmdNoChar as opposed to ret

@graphmastur: I learned all the hex and I have many addresses memorized, so it is easier for me to work in hex. I am not great with computers so it is nice to be able to program directly on the calc. With that being said, if anybody can walk me through what I need to start programming on the computer, that would be great. For small programs, I like to program directly on the calc, but larger programs use a lot of jumping and calling so it takes a while to count bytes.

I have a 64-bit processor and Windows 7. It isn't really that I am bad with computers, I just haven't been all too exposed.

ASM / Re: Tokens Test
« on: October 31, 2010, 08:15:15 pm »
DevPak8x isn't working on my 64-bit computer.

ASM / Re: Tokens Test
« on: October 31, 2010, 08:11:26 pm »
How does it work? Do I put the hex into a .txt file and drag onto it?

ASM / Re: Tokens Test
« on: October 31, 2010, 08:07:49 pm »
Wait, is there a program that will compile hex on the computer into .8xp?

ASM / Re: App Help
« on: October 31, 2010, 04:26:18 pm »
Okay, if I use a hook that is in some application, do I need to use the special exit code? I am pretty sure I do not, but I am not sure. Also, do I need to come up with all of the coding to replace B_Calls? I have made hooks that work fine as long as they are in RAM (like AppBackUpScreen) so I will see if they work in a simple application.

Pages: 1 ... 310 311 [312] 313