Show Posts
|
|
Pages: 1 ... 3 4 [5] 6 7 ... 18
|
|
61
|
Calculator Community / The Axe Parser Project / Re: Features Wishlist
|
on: 24 January, 2012, 00:29:02
|
|
the Pt-On() with the inline data works because whenever you use a data command (such as "", [], or Data() ), the command returns a pointer. The Pt-On() command's third argument accepts a pointer, so that is why it works. However, when you say A+[XXXX]->A, all youre doing is adding the pointer to the data to A. You could do this: {[06A9]+1}->A, which would store $A9 to A.
|
|
|
|
|
70
|
Calculator Community / Axe Language / Re: Help with tilemap collision?
|
on: 13 January, 2012, 01:13:41
|
In my programs where I want to edit my maps, I first copy the maps to L1 or some other free ram area during level loading. I usually have three map functions: 1 2 3 4
| DrawMap(mapPtr, tilePics) GetTile(mapPtr, x, y) .x and y are actual screen coords. Function just divides each by 8 to get the tile that contains the point specified. SetTile(mapPtr, row, col, value)
|
Then you can access and modify your map very easily.
|
|
|
|
|
72
|
Calculator Community / ASM Language / Re: about hooks..
|
on: 12 January, 2012, 22:47:29
|
Up ! I found this and now I use it, so thank you thepenguin77   TiAddict : to use hooks with Mimas, you must use the length and the hex codes of the ascii catacteres instead of the length and the string. 1 2 3 4 5
| cscText: .db 4,$63,$73,$63,$28 ; instead of .db 4,"csc("
|
And I've a question : with your code thepenguin77, how do you define several hooks in one file ? Couldnt you do this? IIRC, mimas converts characters in single quotes to their ascii values, so this would work: ld a,'q'
|
|
|
|
|
74
|
Calculator Community / The Axe Parser Project / Re: Bug Reports
|
on: 12 January, 2012, 21:21:34
|
when using files, the Y# has to be at the beginning of the statement.
opps your right... i use copy.
Copy(Y1+(B*3), L1 , 10) would fail, where Copy(B*3+Y1, L1 , 10) would work.
You did the opposite of what you said...
|
|
|
|
|
|