Page 2 of 10

Posted: Fri 21 Apr, 2006 3:04 am
by tr1p1ea
Release!

Awesome stuff ... pity i dont have a heap of calcs i can test this on. Oh well, at least i can in PindurTI! :).

Perhaps this might make link-play possible in Smash Bros. ... who knows?! :).

Posted: Fri 21 Apr, 2006 8:41 am
by Timendus
Yes, a pity indeed... I really need some people te test these things on hardware... Who here has got at least two calculators* and a link cable at their disposal?

*) Ti-83, Ti-83+, Ti-83+SE, Ti-84+, Ti-84+SE and TI-73 are welcome

Edit: The link test utility in the zip file probably has the wrong delay settings. I just tried sending an image from one calc to another on hardware (borrowed a flatmate's calc :)) and was really surprised when it took 20 seconds instead of 2. It does the same in PTI though, so it's probably the delay and not the hardware. I don't have the time now, but I'll fix that some time after the weekend. In any case the transfer was succesful, so it's time to find myself a third calc and more wires :mrgreen:

Posted: Sat 22 Apr, 2006 2:27 am
by KermMartian
Thanks Timendius. :) So you don't mind if I mess around with it?

Posted: Sat 22 Apr, 2006 3:26 pm
by Timendus
I don't, under the condition that you spell my name right for a change in the credits ;)

It's TIMENDUS, not Timendous, Timendius, Timenduis, Temidous... Why do so many people have trouble spelling Timendus?

Posted: Sat 22 Apr, 2006 8:47 pm
by KermMartian
Wait...it's not Timendius?! O.o

Heh, are you planning on releasing the buggy net routines so people (namely me) can have a go at debugging?

Posted: Sun 23 Apr, 2006 11:57 am
by Timendus
Nope. I do plan to ask for help in the help section soon. The code seems alright, I must be overlooking something. I'll try to speed the transfer monitor up first (hidden feature under key 5 in the link tool) so I can finally properly see what's going on in the network... Then perhaps I'll be able to fix it myself, otherwise I'll be asking for help. It would be a shame to drop the project again. I've been working on this even longer than you have been Kerm :)

Edit: I thought I'd quickly write a little program that lets Basic programmers send over a byte using variables V and W to communicate with the program. It links properly, but it turns out that the variable write routine that's in the API doesn't write correct for all values... :? And I have not a clue why. It almost looks like the romcall StoOther is broken...

Anyway, I just love this code, so I'm already sharing it with you :mrgreen:

Code: Select all

; V = 0
;   Wait for byte from sender, store in W
; V > 0
;   Send value in W

main:
	var.read('V')
	or a
	jr z,receive
	var.read('W')
	jp sendByte

receive:
	call readByte
	var.write('W',a)
	ret
Edit 2: I updated the first post again to announce that CLAP now has a website.

Posted: Sun 23 Apr, 2006 9:32 pm
by Timendus
The program for sending and receiving bytes from a Basic program is finished and put online on the CLAP website, with a bit of example code. You can find it under Software > CLAP Library > BASIC Interface. Basic programmers, please let me know what else you'd like to see.

So... Who's got a Ti-82, Ti-73, Ti-85 or Ti-86? I plan to make versions of the library for all z80 calculators, but it would be nice to know that someone will be using them :)

Posted: Sun 23 Apr, 2006 10:08 pm
by L4E_WakaMol-King
Wow, you really put a lot of work into this... It's amazing.

Posted: Sun 23 Apr, 2006 10:35 pm
by CoBB
You know, Timendus is like that. :)

Posted: Sun 23 Apr, 2006 11:17 pm
by Timendus
Thanks you both! :)

CoBB, please get me a version of PTI that I can take animated screenshots with of all four screens at the same time... because I'll be needing it real soon :mrgreen: My networking routines are working! Woot :P Now I just have to finish my demo and take screenshots to amaze you all ;)

Posted: Mon 24 Apr, 2006 1:17 am
by blueskies
woohoo. how cool.
I have 82/83/83+ and a couple of cables, but probably can't test anything for a few days.

Posted: Tue 25 Apr, 2006 6:39 pm
by KermMartian
Well, I'll do my best to develop an independent one then. ;)

Posted: Tue 25 Apr, 2006 6:49 pm
by Timendus
Why would you do that?

Posted: Tue 25 Apr, 2006 6:50 pm
by Timendus
I borrowed a calculator from my brother and one from a flatmate, so I have three calculators laying around here now. I spent this afternoon soldering old bits of cable together to create a three way link, and guess what? No really, guess?!

It works!! Wooot :mrgreen: My HUB theory is correct, the HUB in PTI is a proper emulation of what will happen if you connect multiple calculators, and I managed to send a picture from one calculator to two others simultaniously over my very (VERY) crappy three way link cable! :)

So the final piece of the puzzle is put in place, and calculator networking is now officially a fact. The hardware behaves just like PTI, I have software that uniquely identifies an arbitrary number of linked calculators that works in PTI, ergo Ti calcs can network, and the mystery that has kept me awake for entire nights since the year 2000 has finally been unravelled!

Damn, this is cool :mrgreen:

Anyway, to "prove" this to you, here are some photo's of my setup. I requested a version of PTI that can capture all screens simultanously from CoBB, but for the moment this'll have to do:

Image

Look carefully, you can see the same image on all three screens:
Image

The "HUB" :mrgreen:
Image

Posted: Tue 25 Apr, 2006 6:50 pm
by Timendus
CoBB wrote:I'm so proud to be the part of this! 8) Well done!

And this is probably the first time in history where emulation predated the hardware and even got it right. :lol:
kalan_vod wrote:Sweet! I can't to try this :P, I still hope you make some schmatics (spelling :P). Great work! This should earn a feature at ticalc ;)
blueskies wrote:do those 83s plug in the side?? odd

I think my post somehow broke the old topic (oops). if you didn't read it, I just said that I have an 82/83/83+ and could test for you. seems like you already solved this though. :) Good job Tim, this is an awesome accomplishment. I'm glad it all worked out as planned.