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 ... 308 309 [310] 311 312 ... 317
4636
ASM / Re: Coding ASM by hand
« on: November 17, 2010, 02:35:29 pm »
Well, I was thinking about making a program that worked like AsmComp(, but it would let you use labels and notes, but I am working on a few other programs at the moment...
But maybe soon...
It won't be too difficult, but it would only be useful to a few people...

And I would obviously provide the opcode :D

*Also, now that I have a computer, I can plan out my codes in a text document

4637
ASM / Re: Coding ASM by hand
« on: November 17, 2010, 02:32:45 pm »
Well, you can not split bytes... You have to keep an even number of hex digits on each line, but otherwise, it is fine.

4638
ASM / Re: Coding ASM by hand
« on: November 17, 2010, 02:31:14 pm »
You can use newlines, it makes it much easier to organise code.

4639
ASM / Re: Coding ASM by hand
« on: November 17, 2010, 02:23:15 pm »
Yeah, that has been a problem for me in the past. I usually put one call to a line or one section to a line... So pressing clear sucks if I never copied down the code elsewhere...

4640
ASM / Re: Coding ASM by hand
« on: November 17, 2010, 02:16:09 pm »
Yes! And it is quite amazing once you get the hang of it. It will be very easy to do once you have done it long enough. It took me a few months before I could program anything major without the aid of a chart or the SDK or other references, though. I still need to check up on B_Calls and RAM addresses occasionally, though. Plus, counting bytes becomes pretty easy when you realize there are 8 bytes to a line...

And you get a pretty intimate knowledge of assembly when you learn all the hex...

4641
TI Z80 / Re: [Project] BASIC ReCode
« on: November 17, 2010, 01:26:24 pm »
Just got out of classes and a Math Club meeting...
Let's see...
The commands should be seen as functions. They either take an input and output a result or they just output a result. The result they output is always (at the moment, anyway) the last converted value. When I add things like getKey, the result will obviously be based on that. So for example, Line(T,A,B,X,Y will output Y as a result. Disp Y,X,<<String>> will output X as the result, since X is the last calculated result. So, when you use Disp Y,X in place of T for the Line( command, you are actually only using the X from the Disp command.

So to lookitsan00b, yes, you are right, if you think of it that way. It took me a bit to understand how you were saying it, but yes.

@Qwerty.55: I have not added any ability to work with number bases other than ten, but I do have 16-bit addition, subtraction, and multiplication ready. I just finished a 16 bit divide routine during Calc III, so now I have to add that in...

4642
TI Z80 / Re: [Project] BASIC ReCode
« on: November 17, 2010, 09:34:32 am »
Well, theoretically you could keep going, but yeah it gets very confusing. On another note, at the moment at least, commas are not needed and unless you use a Disp command, you don't need to jump down to the next line. However, you do need an unused variable to separate numbers. So, for example, you can separate everything using a space if you wanted to. Of course, that just gets confusing, so I wouldn't try it...

*Actually, you can only go until the stack is filled, so don't go more than a hundred (just to stay on the safe side-- some commands use the stack, too).

4643
ASM / Re: Evaluating Ti-Basic expressions using the Parser
« on: November 17, 2010, 02:00:10 am »
well then all you need to do is use pop real, I believe.
Or something to do with the FPS

4644
ASM / Re: Evaluating Ti-Basic expressions using the Parser
« on: November 17, 2010, 01:58:39 am »
Are you using the parser hook? (I forget)

4645
TI Z80 / Re: [Project] BASIC ReCode
« on: November 16, 2010, 11:04:35 pm »
It's been an hour, right? Okay, I was having a problem with adding the addition routinem but then I realised that I had forgotten a 7E (ld a,(hl)). Now To move on to Subtraction, then multiplication and division...

4646
TI Z80 / Re: [Project] BASIC ReCode
« on: November 16, 2010, 09:53:01 pm »
I actually have them planned out (I was working in classes on them :D), but I am sure I could use some help on more advanced functions... I have a 16-bit routine for each of the four main functions...

4647
TI Z80 / Re: [Project] BASIC ReCode
« on: November 16, 2010, 09:48:15 pm »
Yes, exactly! I just decided to mention it just to document it. It saves on memory a little, so it will probably just be a trick used by people who are really into it. Otherwise, yes, it is kind of tough to grasp. Now that I am back from work, I can start working on some math functions... Yay?

@Nemo: Thanks, I have trouble looking for the right words, so that really helped.
...
"Parameter"

4648
TI Z80 / Re: [Project] BASIC ReCode
« on: November 16, 2010, 05:09:26 pm »
Okay, so this version has no new commands, but it does have a new feature that will soon allow for math functions and vars to be implemented. At the moment, you can now optimize some codes by using commands as functions. This means that something like this:

Line(5,17,8,Pause 33,23

is the same as:
Pause 33
Line(5,17,8,33,23

Commands will run a few millionths of a second slower, but It will be quite worth it :D

4649
No, it does not fix it, to my knowledge. And it cleared all my groups when I was playing with it, by the way.

4650
ASM / Re: Something is wrong...
« on: November 14, 2010, 03:48:09 pm »
Okay, thanks! I think that I will post any other problems I run into, here.

Why don't you post them in Recode Thread, just asking :s

Good point... Sounds a little more intelligent :D

Pages: 1 ... 308 309 [310] 311 312 ... 317