[Featured][Beta] API - Why hasn't this been done yet?!

Here you can find side projects of the staff and great projects which we think should get extra support. (Note that featured projects are not projects by staff members of MaxCoderz)

Moderator: MaxCoderz Staff

necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

well, would a "routine wishlist" be a good idea...as in a place to request routines that we are advanced enough to make ourselves.
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Good idea :) I'll go add it asap. My wishlist currently contains:
Wishlist wrote:- Add word wrapping in the homescreen
- string.read(strnumber) / string.write(strnumber,data) for str0-str9
- More string manipulation routines (append,copy,etc)
- Better linking (get it working :)/faster/running in background/more than 2 calcs)
- file.read(filename) / file.write(filename,data) for programs
- menu.choice(str1,str2) to give a choice between two things (return in z and a)
- menu.alert(str) to give an alert that goes away after a keypress
- menu.question(str) to ask "str? Yes/No" (return in z and a)
- menu.options(menu) to give a proper menu (.db 1,"Option one" \ .db 2,"Option two" \ ... \ .db $FF) (return in a)
I just made the view area bigger, changed the font size and added syntax highlighting 8) So if anyone still has the guts to claim that they can't read it properly I'll personally come over to whatever miserable country you live, and shoot you ;):mrgreen:

Anyway, the highlighting isn't perfect yet (I haven't added all instructions, romcalls, etc. yet and it doesn't always detect everything) so don't bitch me about it :)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

necro wrote:a place to request routines that we are advanced enough to make ourselves.
Done :)
http://timendus.student.utwente.nl/~api/ideas.php
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

I'll try to contribute later this week. I have made a plethra of routines that some may find useful. How bout some simple ones like setup an interrupt, or timer and such.
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Jim e wrote:How bout some simple ones like setup an interrupt, or timer and such.
An interrupt routine from mister Interrupt himself? Of course that would be highly appreciated :)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

I added my shuffle routine, however something went wrong with the title... the -> isn't working as it should. I don't know whether it works now or not. How can we test? :roll:

Also, it would be nice if the sections would be sorted :P [/quote]
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

kv83 wrote:I added my shuffle routine, however something went wrong with the title... the -> isn't working as it should. I don't know whether it works now or not. How can we test? :roll:
The title isn't really important, as long as you fixed the macro by hand. If you properly use the arrow, the website will be able to auto generate the code that loads the variables in the macro, otherwise you'll have to do it by hand. You can test if it works by downloading the newest api.inc (Downloads > Download current api.inc), properly including that in a test program, and running your routine.

I just made ">" equivalent to → in the add routine thingy... that's a little less likely to go wrong :)
Also, it would be nice if the sections would be sorted :P
Fixed. They were sorted by id, I changed it to alphabetical.

By the way kv, when will you hold a new routine competition? Because that's a great way to expand (or optimize) the API :P
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

Timendus wrote:By the way kv, when will you hold a new routine competition? Because that's a great way to expand (or optimize) the API :P
Uhmm... like, now? :P
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

I just saw that :mrgreen:
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
KevinJB
Calc Wizard
Posts: 501
Joined: Sat 28 May, 2005 5:34 am
Location: Chesapeake, Virginia
Contact:

Post by KevinJB »

You really have to explain that because I don't understand a word of it :P

Did I mention I really like doing that to people :)

Aw, ok. You're no fun Timendous! http://www.unitedti.org/index.php?showtopic=3256

I hearby nominate this for featured projects. (We can do that, right?)
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
KevinJB | RevSoft
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Hmm, that's interesting... Absolutely not a competitor though, for two reasons:

First, that system is primarily targeted on making graphical games if I'm not mistaken. My API is much more versatile, and not restricted to anything as it is an open database that anyone can contribute to.

Second, even with another language around, there will always be people who stick to ASM, I'm sure of that :) I think the API could contribute to keeping ASM more popular in fact :P

Those memory allocation routines (http://sigma.unitedti.org/files/ti83pu/memory.tar.bz2) do look interesting. I very much don't understand the license.txt though, so if someone could please translate that for me and tell me if I may add it to the API or not, I'd be very much obliged :P
Rezek wrote:I hearby nominate this for featured projects. (We can do that, right?)
Do you mean my project or his? ;)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
KevinJB
Calc Wizard
Posts: 501
Joined: Sat 28 May, 2005 5:34 am
Location: Chesapeake, Virginia
Contact:

Post by KevinJB »

Of course yours, we haven't even heard from Onur since then, hopefully because he's working hard :P. Although I don't have a gunzip decompressor on the 'rents computer, nor can I install one, knowing Sigma the licsense is *probably* BSD (You can easily test this by seeing if it has something about Fame and Pestilence and All That to the GNU in there somewhere ; -), so go ahead and include it!
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
KevinJB | RevSoft
DarkerLine
Calc Wizard
Posts: 526
Joined: Tue 08 Mar, 2005 1:37 am
Location: who wants to know?
Contact:

Post by DarkerLine »

I think what it says is that you can use it, whether you modify it or not, as long as you include the copyright at the top, the list of conditions, and the disclaimer in all caps at the bottom. It's simpler to just copy and paste the whole thing, I think.
just try to be nice to people.
_________________
My TI Blog - http://mpl.unitedti.org/
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

well, request added. This API is very cool, but sadly, it still doesn't have many commands yet. The personal var stuff is realy neat to play with for some one who realy sucks at asm...like me.

WOOT! 900 posts!
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Okay, I added the memory management stuff, with license and discriptions. I haven't tested them though. And you're right necro, it needs a lot more routines before it's as sub-zero cool as it should be 8) I guess I need to promote it a bit more, to get more people testing, adding and debugging (including changing label names to API-style, adding sizes, making more elaborate desciptions/examples...). I think I'll submit it to Ticalc.org as a newsitem.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Post Reply