1771
ASM / Re: MenuHook Findings
« on: April 26, 2012, 04:54:36 pm »
Hmm, I assume you copied the table to RAM? I was looking at avoiding that
Or is automatically copied to RAM? I haven't checked yet.

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. 1771
ASM / Re: MenuHook Findings« on: April 26, 2012, 04:54:36 pm »
Hmm, I assume you copied the table to RAM? I was looking at avoiding that
![]() 1772
Grammer / Grammer 3-Concepts, ideas, requests« on: April 26, 2012, 04:52:00 pm »
As I mentioned int he Grammer 2 topic, I should be starting Grammer 3 in about two weeks if I am on schedule (1 year after Grammer 1 was started). Because this is the time that I will be without internet, if you have any ideas, post them here, I will make a copy of it, and I will reference it while I am working on the program. In the plans for Grammer 3 since the start:
It will be a two page app It will have a legacy mode for older Grammer programs It will have a built in program editor It will allow for custom command sets (up to 16 packages that contain their own functions).
Source code will be "tokenised" like on the TI-89. This will help speed it up massively. There will be specific variable types like sprites, fonts, and strings I am thinking of adding in standard 32-bit math. 4-level grayscale and 3-level gray More tile map options Proper sprite clipping (I've already got the code planned) If you guys can think of any good ideas, please post. For the editor, what would make things easier? I will be writing a menu system, so I will probably include customisable menus, quick keys, and other things. Maybe I should make a search function? Search and replace? Since Grammer will have so much control, errors will be completely handled by Grammer, so if you press ON for example, Grammer will take it to the Grammer editor, not the program editor. 1773
[FR] Autre Sujets de Programmation TI, Casio et Aide / Re: Un Tuto Pour Grammer« on: April 26, 2012, 04:17:32 pm »
3 level means white, gray (50%), black :[ I don't have four level gray yet (which is white, 33% gray, 66% gray, black).
And thanks ![]() 1774
Grammer / Re: Grammer 2-The APP« on: April 26, 2012, 04:07:22 pm »bugs:The first bug should not occur ![]() http://ourl.ca/13558/298071 The second bug should not happen, either ![]() Is your program ending with the Stop token? Do you have other apps running (even then there should be no interference). About the third bug (displaying in base 1). You are right, I should fix that ![]() EDIT: Fixed. I just make it not display anything if the base is 1 or 0. 1775
[FR] Autre Sujets de Programmation TI, Casio et Aide / Re: Un Tuto Pour Grammer« on: April 26, 2012, 03:59:14 pm »1) What is the "Gray" method for displaying sprites ? ( Pt-On(7 ) Do you explain it in the topic about grayscale ? If yes, don't answer, I'll see.You form the sprite data like the MASK version, except it is gray byte, black byte, gray byte, black byte, et cetera. It lets you draw gray sprites without using two buffers (but you need to constantly draw the sprite and update the screen). 2) You told talk several times about buffers to display. I didn't know that we could create custom buffers at custom adresses. I heard about the buffer and the backbuffer in Axe, but that's all. It's not very limpid, can you re-explain me what is exactly a buffer and how it works ?A buffer can be any area of RAM that you work with for storing data. For example, the particle buffer and drawing buffers. What you are interested in are drawing buffers, I think. Drawing buffers are the size of the graph screen and you can draw on them, erase them, display them, or do anything else. The OS has three of these at: pi9872 (Grammer uses this for the default particle buffer. If you aren't using this for particles, feel free to use it for drawing) pi86EC (Grammer uses this for some functions like converting hex to sprites or executing AsmPrgm code) pi9340 (This is the normal graph buffer). Additionally, you can create your own by making a variable with 768 bytes (or if you want two buffers or more, use 1536, 2304, ...). In Grammer, to set a new buffer, you can do Disp <<pointer>>. Then, all drawing you do after that is drawn to that buffer and every time you use DispGraph, that buffer is shown. Most of the drawing commands let you draw to another buffer, too. For Grayscale, you have two buffers, the main buffer and the graybuffer. If a pixel is turned on in the gray buffer but not the black buffer, it will show as gray. If it is turned on in the black buffer or both buffers, it will show as black. Here is an example of the gray layer, black layer, and the result: ![]() You will need to be updating the screen regularly, too, to see it as gray. 1776
[FR] Autre Sujets de Programmation TI, Casio et Aide / Re: Un Tuto Pour Grammer« on: April 26, 2012, 03:39:04 pm »
Feel free to ask in french, english, or franglish
![]() (This post was made in between his two posts ^ omnom messed up, I think or my internet lagged) 1777
TI Z80 / Re: Dev Team for Zelda« on: April 26, 2012, 03:36:32 pm »
Ah, there was an earlier post that said 16
![]() 1778
Grammer / Re: Grammer 2-The APP« on: April 26, 2012, 03:34:25 pm »
I figured I should let you all know that in about 1 week, I will be on summer vacation which means I won't have much internet access. This has a few consequences (good, mostly):
1) I will be wrapping up Grammer 2 :'( 2) I will be starting in on Grammer 3 :woot: 3) I will need to start taking requests now, since I won't have internet. I will open up a topic for Grammer 3 after this. 4) I must now hope things go according to plan and I need to tease out all possible bugs. I will still be adding stuff to Grammer 2 while I work on Grammer 3 (like more Widths available for Pt-Off, more tilemap options, any optimisations, et cetera). 1779
[FR] Autre Sujets de Programmation TI, Casio et Aide / Re: Un Tuto Pour Grammer« on: April 26, 2012, 03:28:03 pm »
Hehe, feel free to ask them all
![]() ![]() 1780
[FR] Autre Sujets de Programmation TI, Casio et Aide / Re: Un Tuto Pour Grammer« on: April 26, 2012, 02:31:38 pm »
That is an excellent picture
![]() 1) Where do you find the "solve(" command in the menus ? The [math][0] gives me a "Misc(" command. Is that from Grammer, or from MirageOS (or from XtraTkn ?)Ah, yes, you have the Token Hook enabled (it changes the names of some tokens). It still does the same thing, though. 2) about solve(3.I mean that they are preserved, or restored. This way, if your error handler changes Ans or Ɵ', it won't effect the program. 3) Explain solve(4 ... ![]() ![]() 4) Explain how works the duration with the conj( command...If you use 64, it makes it take a long time. Try using 16 instead? (or smaller values). 1781
TI Z80 / Re: Dev Team for Zelda« on: April 26, 2012, 02:31:25 pm »
Cool, that would be helpful
![]() ![]() What I know I will need as arguments passed are: Size of the Enemy Coordinates of the enemy Size of the player coordinates of the player As for bullet code, I have no experience with that, really, but if it is only in 16 directions, I think I can handle that. What I would ideally like is: A buffer for bullets (no clue what size) A 768 byte scrap buffer 1782
TI Z80 / Re: Pic-Hexer« on: April 26, 2012, 02:17:53 pm »
Hmm, do you have the names of these programs, or does the user have to pass an argument telling what program to read/write from?
EDIT: Here is some example code for getting the location of a var you have the name of: Code: [Select] ld hl,Name
1783
Pokémon Purple / Re: Progress 2012 [PP]« on: April 26, 2012, 01:49:00 pm »
Woo, awesome! I'm glad you have had spare time to do stuff
![]() 1784
TI Z80 / Re: Dev Team for Zelda« on: April 26, 2012, 01:46:16 pm »
Hmm, is this going to be an app? If so, I can try to program the AI as long as I know what scrap RAM will be available and whatnot. Also, what is the time frame looking like for this? Finally, I will be gone by the first week of May (next week) without internet for a few months.
1785
ASM / Re: MenuHook Findings« on: April 26, 2012, 07:06:46 am »
Yeah, you can define your own table, but I was looking for a way to change only certain menu items without having to make a table. Of course, it probably would be easier to just use a table, but hey, it's good to have options
![]() You can also use this idea when the hook is exiting (I think A=4) and you can change which token gets pasted. |
|