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 ... 39 40 [41] 42 43 ... 239
601
The Axe Parser Project / Re: Storing a static array in memory?
« on: March 30, 2014, 04:06:33 pm »
You can't do whatever→L1. But you can do {whatever}→L1
You mean whatever->{L1} of course.
That sounds clear enough but you made a mistake in the first section. It's not {whatever}->L1 as that would try to override the compiler constant L1 with the value at address whatever. :P Not gonna happen. So the correct code is whatever->{L1}. ;)
Whoops :ninja:
Fail. Thanks :)

602
The Axe Parser Project / Re: Storing a static array in memory?
« on: March 30, 2014, 02:46:47 pm »
What do you mean by not using L1? I thought that L1 is a specific pointer to some free memory?
Indeed, that's why you can't use it this way. L1 is already defined. You can't do whatever→L1. But you can do {whatever}→L1 whatever→{L1}, or Copy([101010101010],L1,6).

Also, what is "°MyMap"?
Seen from the program editor "°MyMap" is the "°" character followed with the "M" character... etc.
Seen from your program once compiled, it's a number. You just gave that number the name "°MyMap" because it's much more convenient to use.
Seen from the Axe Parser, it is a preprocessor name that means a number, it'll have to be replaced with that number at the end.
Seen from you, it's the pointer to what's before the "→".

Also, what is "°MyMap"? I mean I'm aware I can name variable, but how would I define, for example, a portion of memory 16 bytes in size?
It depends on what you call define. You can "create" 5 bytes of memory but just writing [0000000000] or Data(0,0,0,0,0) or Buff(5). Then you need a pointer to that so you can use those bytes, so you'll write → followed with a pointer. Note that doing this always works if you are only reading bytes, but if you compile as an app, you won't be able to write back to those bytes.
Alternatively, you can just use existing memory, like the area pointed by L1 or L2, or any free RAM area (or a non-free RAM area but maybe you won't be able to use your calculator afterwards).

From what I can see on the axe parser command list, Data () adds bytes to the program memory? What does that mean? What is program memory in this case?
Your program is just a bunch of bytes. Some of them are commands, some others are data, but it's just a pack of bytes. Data just adds some bytes in your program that you'll use as data. But if you mess up severely, you might be able to read or write data in the middle of your code and execute your data as if it was code :P

603
General Calculator Help / Re: Hide finance app?
« on: March 30, 2014, 02:07:28 pm »
If your calculator is not a regular 83+, you should have no problem fitting Omnicalc on it :)

604
The Axe Parser Project / Re: Storing a static array in memory?
« on: March 30, 2014, 06:52:02 am »
It's nearly as simple as that. Just don't put →L1 since this pointer is already used, but something else like →°MyMap. Then you can do {A+°MyMap} the same way you would do {A+L1} :)

It is as simple as that. Square brackets take hex. If you want decimal values you can use data(). ;)
You can also have binary values using Data() by putting a π (pi) in front of your values ;)

605
Axe / Re: Axe Q&A
« on: March 29, 2014, 04:35:46 pm »
I found that this code you mentionned here is mentionned here and can run "the program you want" if you put a pointer to the name of the program in hl.

606
TI Z80 / Re: [Axe] Worms - name subject to changes
« on: March 29, 2014, 06:18:32 am »
Wat ? Did you mean "matref" ?

607
TI Z80 / Re: [Axe] Worms - name subject to changes
« on: March 28, 2014, 12:22:07 pm »
In Pokemon, when you are visiting the RAM, you can actually walk on teleporters (like carpets or doors) that lead you in another random place :P

Anyway, nice work :D

608
The Axe Parser Project / Re: Drawing Pictures for Axe
« on: March 26, 2014, 02:45:55 pm »
There is also Token that can generate pics, right? That said, it's for windows so unless you got a laptop it isn't as portable as the real calc.
Well I use a laptop in the train. And wow, thank you for telling me that because I actually found out now that TokenIDE can import images and convert them into hex O.O

609
The Axe Parser Project / Re: Drawing Pictures for Axe
« on: March 26, 2014, 12:53:54 pm »
Except when you have at least 10 projects using at least one picture. Another possibility is to "convert" the Pic into an appvar using a simple program, but that is not as convenient as it would be to drag and drop an image file onto a program that would return hex code to just copy paste.

610
The Axe Parser Project / Re: Drawing Pictures for Axe
« on: March 26, 2014, 11:31:17 am »
The problem with SourceCoder is that it is online. I can't use it when I am in a train.

611
Axe / Re: Axe Source Code Compiler For Windows
« on: March 25, 2014, 02:38:59 pm »
Hayleia I was suggesting you use one. ;)
Oh ok, I thought you were saying "LOL, (you) use a tiling manager..." in a compressed way by getting rid of the "you" :P
I suppose I could do that... if I only had my computer to work on, but I also have to work on school computers, and there I have window "problems".
Moreover, it doesn't solve the X problem. Vim cal even run on a "non-graphical session" (if you see what I mean, I don't know how to say it in English).

612
The Axe Parser Project / Re: Drawing Pictures for Axe
« on: March 25, 2014, 12:04:14 pm »
And your post absolutely doesn't answer the question because you say "put [HEXCODE] then use Bitmap", but the question was "how to get the hex code other than converting byte per byte ?"

613
Axe / Re: Axe Source Code Compiler For Windows
« on: March 25, 2014, 01:48:38 am »
LOL use a tiling window manager and don't care about tons of windows. :P
I don't use any tiling manager ???

Just a question: is it fast ? I mean, faster than drag and dropping then compiling in Wabbitemu at speed 400% ?
It is currently a wee bit slower as I have not modified the code to support the faster speed modes so sadly its the same speed as normal minus the user having todo more then just type the command out
OK. Well for now it is still faster for small codes (when drag and dropping takes more time than the compilation in itself) ;)
And when you support fast modes, it will become even more convenient.

614
Axe / Re: Axe Source Code Compiler For Windows
« on: March 24, 2014, 04:00:53 pm »
*Vim
 :P
More seriously, the only reasons I use Vim is that I don't like to have several windows opened (so I like to save one window by having both the terminal and vim at the same place) and Vim can run through ssh without -X. Other than that, Emacs is surely fine and surely has as many features as Vim.

Anyway, great idea of a project :D
And I like the fact it is not a standalone compiler in fact. This way, even if you stop updating it, it keeps working with newer Axe versions as long as they are on Wabbitemu :)

Just a question: is it fast ? I mean, faster than drag and dropping then compiling in Wabbitemu at speed 400% ?

615
TI Z80 / Re: Flappy Bird by Josiah W
« on: March 24, 2014, 02:12:29 pm »
Get 1, hit a pipe, quit, come back and you see "you just lost the game".

I actually cheated to see the "you just lost the game" part and JWinslow23 helped a lot to find out how to trigger it :)

Pages: 1 ... 39 40 [41] 42 43 ... 239