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

Pages: 1 ... 124 125 [126] 127 128 ... 239
1876
Axe / Re: Path prediction
« on: November 09, 2012, 01:35:44 pm »
Correct me if I am wrong.
So basically, if I do Realloc(L5), then °A=L5, °B=L5+2,... etc and If then I do Realloc(), °A comes back to L1+741, etc ?
That's absolutely correct.
Erm, nope, I just reread my post and I made a typo, it is L1+714 not L1+741 -.-°
But yeah, I was asking about the idea, not the figures, thanks for answering :)

1877
TI Z80 / Re: AXECHESS - The First Chess made in Axe
« on: November 09, 2012, 12:21:06 pm »
Hey, I need to change a sprite from one hex to another during promotion. I DelVar the sprite, then create a new one with the same name, and assign a new hex to said sprite... but when compiling, I get an invalid token error... any ideas?
Wait, did you try to do for example this ?
   [<Hex>]→Str1
   .code
   Delvar Str1
   .code
   [<Hex>]→Str1

O.O
That is not possible in Axe. I quote shmibs here because he explains very well:
the difference here is that, in basic, STR1 is the name of an external object that is created in ram when the program is running, and can be modified however you choose. in axe, however, STR1 is a pre-processor directive. there is no actual object named STR1 that is created, and it is not used at all by your running program. STR1 is a label used by the compiler to point to a specific spot in your compiled program itself, so you can't tell it to point to two different places at once, which is what saying "store X" -> STR1 and then "store Y" -> STR1 is doing. the first time the compiler sees that, it appends the data "store X" to your program and then labels that point as STR1 for everything else to use. the second line would, then, be trying to append data at a different spot in the program and tell the compiler that that place is also called "STR1", which is causing an issue.

now, all that being said, it's easy enough to modify data stored at an STR#, GDB#, or PIC# label later on, provided that you are compiling a program, that will run in standard RAM space, rather than an application. you have to use the label as a part of a pointer, though, and store all the number values manually. it's much easier to work with free ram areas outside of your own program, like hayleia showed above.
And since shmibs' post tells about one of my post, I quote it too:
It says Duplicate Symbol because you are using twice the pointer Str1.
Note that Str1 is a pointer, not a string, and Axe is not Basic ;)
What you can do is that:
  "STRING1"→GDB1
  "1GNIRTS"→GDB2

Then, when you need the first string, do that:
  Fill(L1,8,0)
  Copy(GDB1,L1,7)

Now, at the pointer L1, you have a null-terminated string with "STRING1"[00] in it :)
And to get the second string in L1, do that:
  Fill(L1,8,0)
  Copy(GDB2,L1,7)


1878
Axe / Re: Path prediction
« on: November 09, 2012, 12:16:05 pm »
Correct me if I am wrong.
So basically, if I do Realloc(L5), then °A=L5, °B=L5+2,... etc and If then I do Realloc(), °A comes back to L1+741, etc ?

1879
Other Calculators / Re: More Precision on the 84+ (10^127 - 10^-127)
« on: November 09, 2012, 02:31:48 am »
I just tried it on my 84+SE, it is great :D
Is there a way to make it work on the 83+ too ?
He mentioned the patch works on OS 1.19, so I assume that means TI-83+ is supported.
That is what I thought too but I didn't want to be the one that crashed a calc for more precision :P
And the title only mentions the 84+ so I really had doubts.

1880
Other Calculators / Re: More Precision on the 84+ (10^127 - 10^-127)
« on: November 09, 2012, 02:28:38 am »
I just tried it on my 84+SE, it is great :D
Is there a way to make it work on the 83+ too ?

1881
News / Re: A new z80 calc... in color?
« on: November 08, 2012, 11:22:16 am »
The xkcd no longer applies :P

But if there was compatibility with current calcs, maybe Axe will exist in color *.*
That would be AWESOME :D

1882
Introduce Yourself! / Re: HI :)
« on: November 07, 2012, 06:49:30 am »
hayleia you go help me for learn english ;)
(noes, why me ? :P)

I second Haileya on this- speaking/typing english on a regular basis is one of the fastest ways to learn it ;)
Jacobly and I are wondering who that Haileya person can be :P

what is the bag of peanuts ? :p
It is a tradition on Omnimaga. Every newcomer is welcomed with peanuts :)

If someone see error in my post he can correct me :)
Spoiler For Spoiler:
what is the bag of peanuts ? :p

this bag exist realy ? ^^
Does this bag really exist ? ^^

I hope that I'll learn english faster :) If someone sees an error in my post he can correct me :)
I can try to correct you but remember that I am French too :P

1883
Introduce Yourself! / Re: HI :)
« on: November 07, 2012, 06:34:20 am »
Ah, finally you introduce yourself ;D

Hello nikitouzz, welcome to Omnimaga :)
Have some peanuts :P
!peanuts


(I still don't see Second Life in that :P)

I prefer not use Google translate, because I want learn english :)
That is a very good idea :)

1884
Axe / Re: Optimization and adding AI
« on: November 06, 2012, 12:50:13 pm »
I have a screenshot on the ticalc page...
Then it is really easy to add a screenshot on this topic, simply do this:
[img]<link to the screenshot on ticalc>[/img] ;)

1885
The Axe Parser Project / Re: Features Wishlist
« on: November 05, 2012, 03:03:37 am »
I just wanted to point out that if we are working with character data like Axe strings, uppercase and lowercase both take a single byte.
*.*
Well then, I think I'll start putting my text data outside of my programs :D
(yeah, I was being stupid, the thing that takes 2 bytes is the lowercase token, not the lowercase character)

1886
The Axe Parser Project / Re: Features Wishlist
« on: November 04, 2012, 02:14:27 pm »
That sucks. I wish text data was as easy to deal with in Axe/ASM as it was in TI-BASIC x.x (where you simply needed to get the string lenght with one command)
Well there is a command for that... as long as the text data is in RAM -.-°
But if you try to put your data outside (for example in an archived appvar), you have to deal with those difficulties :(
It is not hard, it is just too much brain work :P

1887
Axe / Re: How to change a string's content
« on: November 04, 2012, 02:11:47 pm »
now, all that being said, it's easy enough to modify data stored at an STR#, GDB#, or PIC# label later on, provided that you are compiling a program, that will run in standard RAM space, rather than an application. you have to use the label as a part of a pointer, though, and store all the number values manually. it's much easier to work with free ram areas outside of your own program, like hayleia showed above.
Yeah, I could have used Str1 (like the original program) but I used L1 to avoid triggering writeback for something that doesn't need it ;)

1888
The Axe Parser Project / Re: Features Wishlist
« on: November 04, 2012, 02:04:48 pm »
in the meantime you can simply keep all your data external and try to work around a 16 KB limit for code
This is very hard to do with text data. You must calculate how much bytes you have in your text (knowing that uppercases take 1 byte and lowercases take 2 bytes) and you can't easily access the nth string without copying all the data to RAM :(
But for every other kind of data, it is very possible :)

1889
TI Z80 / Re: [Axe] Axometry, an Axe version of Geometry Wars
« on: November 04, 2012, 01:58:13 pm »
in France the 83+.Fr was quite popular it seems and over where I live many stores (Future Shop, Best Buy, Zellers, The Source) only carry the 83+.
That would be great if true, but it is worse. Most French people buy 82 Stats.fr D:
However, it is true that there are a lot more 83+ than 84+ here :)

1890
Axe / Re: Path prediction
« on: November 04, 2012, 01:56:01 pm »
What about for every variable?
The variable A is located at L1+714, and the 26 other letters (including theta) are after, until L1+768 :)

edit ninja'd :P
Also, I didn't think about °A -.-

Pages: 1 ... 124 125 [126] 127 128 ... 239