[Featured][Alpha] CLAP - TI Link - http://clap.timendus.com

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

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

Post by Timendus »

To reply to kalan, how does this look to you:

Image

It's not really a scematic, just a fancy way of saying "connect all the wires", but hey whatever ;)
Last edited by Timendus on Tue 16 May, 2006 3:55 pm, edited 1 time in total.
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 »

kalan_vod wrote:Cool, you should make a "Hub" for this :P. Make some money!
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 »

Heheh... I doubt people would pay for parts, assemblage and shipping of a device that they could make themselves in 5 minutes with a soldering iron and some very easy to come by parts :)

So, how are we going to get CLAP on Ticalc.org's front page? :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
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

kalan_vod wrote:Um, you can link all calcs now right? And you have that "scematic", which is by far better than anything on there I know of. I think it would be cooler to have a Hub for this then some wires :P, you get what I am saying right? Could it work, where you have 4 females in a box wired together and then you plug your male cord from your calc into the hub...That would be cool, "LAN" parties for calcs at schools >.> or at least zDOOM ;)
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 »

kalan_vod wrote:Um, you can link all calcs now right?
What exactely do you mean by "all" calcs? :) I have routines for Ti-83 and Ti-83+ compatible (should be Ti-73, Ti-83+, Ti-83+SE, Ti-84+ and Ti-84+SE, but I can't test that). I still need to adapt it for Ti-82, Ti-85 and Ti-86, but I don't really have the development tools for that at the moment (Both Latenite and PTI don't support then). I'll probably be able to do Ti-82 relatively soon.
kalan_vod wrote:I think it would be cooler to have a Hub for this then some wires :P, you get what I am saying right? Could it work, where you have 4 females in a box wired together and then you plug your male cord from your calc into the hub...
That's exactely my idea :) Only problem is that I don't have a nice box to put that in, I'm too lazy to go buy four female plugs, and I only have one male to male cable for my three calculators... So I'll stick to my crappy setup for the moment :)
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 »

kalan_vod wrote:So this will link all z80 calculators then, which is a real big accomplishment I think. I have a 82,83+,83+SE I can test it on, but I need to make/find a serial cable for the pc->82. Well it sounds really cool, and it would be awesome if this was a big hit (people at school playing a fps linked up :P). Yeah, I have 2 male<->male cables, and a soldering iron.
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 »

The problem with Blueskies account has been fixed, so the other two thread are working again too. I asked KV to merge them all three in the correct order, so if you want to reply, please do it in this thread :)

So if I understand correctly, Kalan and Blueskies, you can both help me to test this on Ti-82, and Kalan on Ti-83+SE. Good, very good :) It should already work out-of-the-box on the entire Ti-83 and Ti-84 series, so that will not cost me any more time. I should also already have all the necessary information to adapt it for Ti-82, but I'm unsure what shell to compile for. I don't want to rewrite everything from my Ion targeted code, so I think I'll wait a bit untill Ben adds Ti-82 compile scripts to Latenite, then throw in 7 lines of Ti-82 specific code and that should do the trick.

I love modular software design ;)
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 »

kalan_vod wrote:Well I do not have a serial link cable, so if I make one I will be able to :P. Also Digitan has a 82 and he programs for it, he might be willing to test/help out :P.
CoBB wrote:For the 82 you should use SNG, because it's the only shell that allows you to use the free RAM in a sensible way, which is obviously important for portability.
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 »

As you can see I "merged" the three topics. Turns out phpbb can't do that. Annoying thing.

Anyway, discussion will continue here, so please remove the other two topics, mods.
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
blueskies
Calc Wizard
Posts: 553
Joined: Tue 25 Apr, 2006 2:24 pm

Post by blueskies »

*posts timidly*

sorry for breaking topics. guess it's a good thing I don't post that much, or else the whole forum could've been unreadable. *evil grin*
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

blueskies wrote:*posts timidly*

sorry for breaking topics. guess it's a good thing I don't post that much, or else the whole forum could've been unreadable. *evil grin*
Not true, it wasn't anyones fault. I hope you stay around and post more!
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Heheh... Your input is apreciated, blueskies, np :)

I think I just pretty much finished my networking demo. So now the waiting is for a PTI upgrade :) And I guess I could put a few more funny things in it, tweak it a bit, you know.

Anyway, let's talk usefulness. It's cool and all that calculators can network, but it's not very useful in it's current state. The entire CLAP library has a downside. The read routines are all blocking. I don't know about you people, but I don't like that. I like my program to be in control.

That's why I think that the entire read system (which also keeps the network up) should be an interrupt routine that calls a predefined routine in your own program when something is received. You know, a notification "thread", like it should be in the PC world ;)

Unfortunately, I'm not the best when it comes to interrupts, but I think I'll be able to come up with something with the help of great minds like Jim e :)
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
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Post by KermMartian »

Timendus wrote:Why would you do that?
So that I'll have something to put in DCS6...unless of course you feel like sharing the routines or the basic idea. If you'd like to make your routines the community standard, I'd be happy to use them for DCS6 though, and make gCn work with your routines.

Re: interrupts: I might as well share the modes I came up with for CALCnet2.1:

> read mode: passively interrupts and checks for address byte transmission; quits if none. If it finds one, checks if it's this calc's, otherwise returns exec to the current program. If it is, it gets the data and stores it in a buffer somewhere.

> send mode: waits for the clock line (call this tip or ring, it doesn't matter) to stay high for 50ms. Pulls it low, sends the receiving address, then releases it and waits. If nothing pulls low and responds by echoing the address, it tries again, up to a certain number of times, then times out. If success, proceeds to send the data length (1 byte) and then the data. Data packets limited to 255 bytes to prevent networking clogging by a single large transmission.

====>>Gnd: duh
====>>Tip/Ring: Clock - tells when data is being sent/received. Only allow writing to data lines if this is not being pulled low by another calc.
====>>Ring/Tip: Data - just the data being sent. Time signals travel along the clock line to time the sending of each bit.

I also need to warn you (I'm sure you're aware) that the current sent by the link port is insufficient for more than three or four calcs. You'll need signal boosting hw for more than that.

Just my $0.02.
Last edited by KermMartian on Tue 25 Apr, 2006 8:32 pm, edited 1 time in total.
Image Image Image
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

kerm_martian wrote:
Timendus wrote:Why would you do that?
So that I'll have something to put in DCS6...unless of course you feel like sharing the routines or the basic idea. If you'd like to make your routines the community standard, I'd be happy to use them for DCS6 though, and make gCn work with your routines.
Aren't you planning on entering DCS in the google summer of code?.....
User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Post by KermMartian »

Yes, Kalan, I am indeed. That's why this needs to get done aqap.

Edit: actually, I guess I should make my own routines then. :)
Image Image Image
Post Reply