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 ... 258 259 [260] 261 262 ... 317
3886
TI-BASIC / Re: Zeda's Hex Codes
« on: February 27, 2011, 10:43:19 am »
Okay, so if you read the edit to the previous download, I accidentally the run indicator off opcode, so here is a fixed version. I use EF0745 much much more frequently (for debugging) than EF7045 so.... oops? It doesn't harm anything, it just displays a number that I use in debugging to check register values. Luckily, somebody over on TIBD mentioned that the library they were working on kept displaying some random number instead so... Thanks BlakPilar!

3887
BatLib / Re: BatLib
« on: February 27, 2011, 10:34:22 am »
Yep :D That was a command I made a few months ago called SubList and it, too, works with archived lists >_>

If anybody does want the latest version with SubMatrix, here is a link: http://maxcoderz.org/forum/download/file.php?id=67

3888
BatLib / Re: BatLib
« on: February 26, 2011, 09:10:14 pm »
Okay, so I am not going to make a release just yet (I am going to wait until I add a few more commands), but here is the next command that could be fairly useful to BASIC programmers, especially for games that work based on a matrix (like Connect 4).
69-SubMatrix
dim(69,MatrixNumber,ColumnOffset,RowOffset,Width,Height
MatrixNumber-This is a value from 0 to 255 telling which matrix to read from
ColumnOffset-This is a value from 0 to 98 telling which column to start reading at
RowOffset-This is the row to start reading at
Width-This is how many columns to read
Height-This is how many rows to read

And a screeny:

3889
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 08:21:59 pm »
Oh, the code grabs a pair of numbers out of a floating point number and converts them from decimal to hex and stores it to HL (Ans in Axe). That was why I suggested you store the numbers that way :D

3890
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 08:05:13 pm »
The Asm( inserts pure hex assembly into the code. The hex happens to be what converts the data :D

3891
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 05:41:32 pm »
Okay, so apparently this should work (where A is the list element):
Code: [Select]
A*9+GetCalc(<<ListName>>)
Asm(2323E5
0      ;This tells which 2 digit pair to read. V=0, X=1, Y=2
Asm(D1194EAF060407CB013002C60A10F74F7EE60F8126006F

3892
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 05:10:11 pm »
Okay, I had to go do some real life stuff, but I am back... Does anybody know how to return the pointer of a floating point number in HL or some other register (in Axe)? I have a code that right now takes Ans and can convert the number (stored to HL for Axe).

3893
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 03:31:57 pm »
Okay, so the best idea I have is to store the number as V/100+X/10000+Y/1000000 and I can come up with a code for ya :D

And how do you want the output?

3894
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 03:18:21 pm »
I do not know how to do that in Axe... but for the number converter, how large are the numbers? I am working on a converter right now...

3895
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 03:06:48 pm »
Sorree... I may be able to work out a hex code... would that be useful?

3896
Pokémon Purple / Re: [PP] Progress '11
« on: February 26, 2011, 02:53:13 pm »
O.O Wow! I think the largest project I ever worked on was about 22k. Wow!

3897
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 02:48:00 pm »
Ah, okay. Well if you are working in Axe it is much easier to simply make a list that uses 2 separate elements. However, it is even better if you can find a way to store the coordinates as bytes. You will need an assembly program (like an Axe program) to store the data as bytes, but it is easier and faster for assembly programs to work with bytes instead of floating point numbers.

EDIT: Ninja'd (ish)

3898
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 02:34:15 pm »
Ah, okay! Is this a carry over technique from TI-BASIC?

3899
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 02:25:50 pm »
So what is the fractional part being used for?

3900
Axe / Re: What am I doing wrong here?
« on: February 26, 2011, 01:47:56 pm »
Is there a particular reason you need to use the fractional part? In BASIC that can be useful, but in assembly it usually isn't needed or can be worked around, I believe... Unless you are making a math program... :D

Pages: 1 ... 258 259 [260] 261 262 ... 317