391
Other Calculators / SPASM macro capabilities
« on: August 06, 2007, 05:45:00 pm »
Alright I have been doing a lot of work on Massacre scripting and things and I have been working a lot with SPASM macros which provide immense possiblites.
I would like other people to contribute macros that they think are cool or useful. I will give a few examples of my own.
You will need:
http://group.revsoft.org/fcreate.inc
Also you won't need these includes, but they are awesome so try them out. I will explain them.
http://group.revsoft.org/app.inc
http://group.revsoft.org/arrays.inc
Alright first off I will explain what "app.inc" does. Basically it does what you would think it does. Helps you make Applications. Now I have to say making applications has never been easier than now. Of course you will have to know how to swap pages which isn't that hard, but this header eliminates everything else.
For example to make a one page application you would do this.
c1-->
I would like other people to contribute macros that they think are cool or useful. I will give a few examples of my own.
You will need:
http://group.revsoft.org/fcreate.inc
Also you won't need these includes, but they are awesome so try them out. I will explain them.
http://group.revsoft.org/app.inc
http://group.revsoft.org/arrays.inc
Alright first off I will explain what "app.inc" does. Basically it does what you would think it does. Helps you make Applications. Now I have to say making applications has never been easier than now. Of course you will have to know how to swap pages which isn't that hard, but this header eliminates everything else.
For example to make a one page application you would do this.
c1-->
CODE | ||
ec1 #include "ti83plus.inc" #include "app.inc" defpage(0,"MyApp") start: 392
TI Z80 / The Massacre« on: August 02, 2007, 03:39:00 pm »
Super_Speler: Not really. I mean I have been messing with The Massacre a lot and found out a lot of cool macro abilities for SPASM. It's so awesome how SPASM handles macros. For example:
you can have a macro like this macro(x1,x2,x3,x4) but have it called like this macro(4, 5) and your macro can check what arguments were passed and what ones weren't. Anyways in other news I have scrapped Jim_e's tilemapper. I am currently working on a homemade plane-shifting LUT tilemapper. 393
Computer Projects and Ideas / Several Anouncements« on: August 02, 2007, 12:15:00 am »
Oh sweeeet. Phew! You almost had me there necro. Good to know it is still back on track, and those blood stains look awesome!
394
TI Z80 / Space Trader« on: August 02, 2007, 12:11:00 am »
Wow those graphics do look good and it does look like this is well planned. I am loving this game! Keep up the good work Delnar!
395
News / Insanity demoted from Coders of Tomorrow« on: August 02, 2007, 12:10:00 am »
Yes I think it was fair as well. Warnings were issued and were not heeded which resulted in swift action to take out the bad seed. He was at least not banned from the site which should mean that there is some chance, if not small, that he will be welcomed back. All in all there is no loss here I believe because all he needs to do is prove himself more mature.
396
Computer Projects and Ideas / Several Anouncements« on: August 01, 2007, 04:52:00 pm »
Nooooooooooooooooooooooooooooooooooooo!!!!!!!!!! Ahhh this sucks.
397
Goplat: Believe I have been working on this for some time now and I have already thought about everything you just said right there.
Let me address some things. 1. z8-GCC has still been in effect and is still being worked on, but it is not z8-GCC anymore because we are not using GCC. 2. C will most obviously not be as efficient as hand-written assembly, but it will provide smaller size than BASIC and much faster speed than BASIC 3. Let me answer you questions up there Well first off I should address this by saying my development team and I are making a C compiler from the ground up which will support 68K and z80 as the first targets. It will be target-expandable meaning that the compiler will produce programs for any processor that you want to target it to through writing a backend. Now let me talk about the problems that you have posed above. 1st problem: Calling conventions: There are numerous ways to pass arguments on the z80. Registers, stack, memory. These can be user defined or they can be chosen by the compiler. Secondly I don't think you know this but the z80 in effect actually has 14 8bit registers or 8 16bit registers. 8bit: a,b,c,d,e,h,l,a',b',c',d',e',h',l' 16bit: bc,de,hl,bc',de',hl',ix,iy Now also another thing which you may or may not know is that ix, and iy can be used in almost every place that hl can be used which gives you 4 general purpose 16bit registers. So that is more than enough to pass parameters to functions as long as you do it smartly. 2nd problem: Register allocation: Basically what you just said is that is going to be more work for me. Well I don't care because I have been turning this over in my head and have came up with some very good algorithms. 3rd problem: Types: int defaults to short. Can you have a long int? Of course. Can you have a long long int? Of course. No need to worry there. It may take more time, but I see assembly programmers using them all the time. Remember it doesn't take that much more time. Maybe 2-4 cycles which isn't that much. You have 6 million cycles in a second on the z80 and 15 million possible on a z80 in the silver edition. 4th problem: Types: I still see no problem. What you are saying is all possible so I really don't see the point in that statement? Now let me just say. Of course it will be more work to write a z80 target for our C compiler, but it will NOT make over-bloated or even close to unneeded bloating code. It will be aware that register to register loads are faster than constant or memory loads and that will make an effect. SSA trees will be used for other various optimizations internally in our compiler. Final pass peephole optimizations will also be made like the call-ret optimization. Also remember that programmers will be allow to write there own assembly functions for their programs too. Trust me Goplat. Anything you can throw at me has already been thought of. I would not continue with this project if it was not possible. Oh and about that using more memory than it should?? That will not be a problem as programmers will have the option to use bcall()'s over the hand-written z80 assembly C functions provided in the Standard libraries if they truly need it. One thing I can guarantee you is that the C games will not be as big as their BASIC counterparts and will most be much faster. 398
News / Insanity demoted from Coders of Tomorrow« on: August 01, 2007, 04:04:00 pm »
Good move. No problem with it.
399
TI Z80 / Invalid Tangram DE« on: July 24, 2007, 07:17:00 am »
TheStorm that is clearly not true as TiLP only gets so many articles because it is a universal calculator program, and that is the same with TIGCC. That is straight from Michael's mouth.
Logs(proof):
As you can see Michael offered a very good second choice instead of a feature, so he has tried to please Kerm. He isn't all bad, but I guess you guys really don't hang out in #tcpa/see him say all this stuff. Secondly you don't need to have a connection with Michael_V to get a feature, so there is no reason to even communicate with him. Also in the matter of xLIB I do not think it would have anything to do with the author since he featured tr1p1ea's Desolate(http://www.ticalc.org/archives/news/articles/11/115/115911.html). Anyways on the other side. Why are we seeking features?? Shouldn't we be seeking community recognition and personal gain. Kerm I think you already have community recognition with this program. Features aren't the only things that make the world go around are they? There are other sites to get features to right? Calcgames.org does features so why not submit ITDE to calcgames.org to see if it gets featured there. 400
News / Staff updates« on: July 22, 2007, 08:16:00 pm »
DJ_Omnimaga please don't leave. Everyone loves you here!
401
TI Z80 / Invalid Tangram DE« on: July 22, 2007, 07:39:00 pm »
I would just like to say this to the community.
Michael_V doesn't have to do crap, but he has been taking away from his free time to help the community and keep the community updated for sometime now, so why are we going to get on him for one thing? If I recall he is a volunteer and I would rather not runaway someone who is helping the community in an amazing way. I mean this is like bugging the developers of Blender, GIMP, GCC, or any other free software developers. Do we seriously forget all the food that someone has brought to our plate over a subject as pitiful as a little feature. I certainly wouldn't complain/bug/diss the GCC developers when I am building all my programs everyday with their compiler. It is simple respect! This is not directed at anyone personally. 402
Miscellaneous / pardon me« on: July 22, 2007, 11:26:00 am »
Wow yeah I am sorry Netham. I only knew about your cousin getting hit by a car. I hope you get through this period of time alright.
403
TI Z80 / Invalid Tangram DE« on: July 22, 2007, 11:22:00 am »
Yeah I remember when I first saw this without any of the graphical dressings it was still sweet. Looks like a lot of in-game action.
404
Miscellaneous / And thus I return« on: July 18, 2007, 06:58:00 pm »
That is awesome. I thought we had another great programmer with Ragol666 haha. That was an awesome comeback.
405
TI Z80 / Reign of Legends 4 (xLIB)« on: July 09, 2007, 04:20:00 am »
It was in the works but...
|
||
|