[Featured][Dev] PindurTI (Best Thread 2005)

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
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 »

Its not quite the same is it? I mean two ports in a dasiy chain usually means one port is in and one is out, in this case they would have to be defined in and out per calc. And then what happens if you need 3 calcs

Calc 1:
Link In
Usb Out
Calc 2:
Link Out
Usb In
Calc 3:
Link In
Usb Out

Doesn't TI have some kind of class room Hub?


Also whats new with pindur?
Image
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

AndySoft wrote:Short answer is not yet.


Long answer is usb8x doesn't have unit-to-unit yet.
Well, with TI-BASIC the Send( and Get( commands have an optional parameter of whether or not to use the linkport or the Mini-USB port. So in BASIC, one can do the daisy chain.
Image
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

I thought those only worked with CBLs and the like?
ImageImage
Image
CoBB
MCF Legend
Posts: 1601
Joined: Mon 20 Dec, 2004 8:45 am
Location: Budapest, Absurdistan
Contact:

Post by CoBB »

Jim e wrote:Also whats new with pindur?
The author has just come back from a three-day festival loaded with metal and rock music, sprinkled with a bit of blues and no computers within reach. :P
Kalimero
Regular Member
Posts: 130
Joined: Fri 17 Dec, 2004 1:47 pm

Post by Kalimero »

CoBB wrote:...loaded with metal and rock music, sprinkled with a bit of blues and no computers within reach. :P
Ugh, that must be what hell looks like :P
CoBB
MCF Legend
Posts: 1601
Joined: Mon 20 Dec, 2004 8:45 am
Location: Budapest, Absurdistan
Contact:

Post by CoBB »

Maybe, but then it's a quite nice hell. :lol:
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

AndySoft wrote:I thought those only worked with CBLs and the like?
Ah, good point. I spose one could intercept the code with some kind of mem viewer and reverse engineer it, but that would be useless.
Image
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 »

CoBB wrote:Maybe, but then it's a quite nice hell. :lol:
OMG you poor bastard, all those trees and people and not a computer in sight. I sympathize with your plight, I hope others on the forum do as well.
Image
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

He's crazy I tell you
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

LOL :P (That is, if my throat would be any less sore...)

Anyway, you could do a daisy chain with just the link port, using one line for in and one line for out, as DigiTan suggested. But my way is much easier to wire and to code :)
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
qarnos
Maxcoderz Staff
Posts: 227
Joined: Thu 01 Dec, 2005 9:04 am
Location: Melbourne, Australia

Post by qarnos »

Timendus wrote:LOL :P (That is, if my throat would be any less sore...)

Anyway, you could do a daisy chain with just the link port, using one line for in and one line for out, as DigiTan suggested. But my way is much easier to wire and to code :)
I haven't been following this thread so I'm not sure what it is you are trying to do, but if you are talking about what I think you are, using one line for in and one for out wouldn't work. For instance, how would you differentiate between two consecutive 1's or 0's with only one line?

On a related note, I had an idea a few months ago to speed up link transfers. As has been noted, the are 4 possible states for the two lines. In order to send data you need to change states to signal a new bit, so that leave us with 3 states we could go to from any given state.

Therefore, if you could convert could data to base-3 before sending, you get an increase in efficiancy. Here is how you could do it:

If line 1 changes state (high to low or vice-versa) the "bit" is 0
If line 2 changes state, the bit is a 1
If both lines change state, the bit is 2

In theory, it would work, but the hard part would be the base-2 to base-3 conversion (and back again on the receiving end).

EDIT: How about using the "bit 2" state to alternate between send and receive states? Not sure if that would work, I haven't given it much thought.
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

qarnos wrote:if you are talking about what I think you are, using one line for in and one for out wouldn't work. For instance, how would you differentiate between two consecutive 1's or 0's with only one line?
With timing. I used this principle with an IR port I once built with a friend:

- Short pulse is 0
- Long pulse is 1
- To send: Send average of long and short first, then 8 bits
- To receive: Clock first pulse, check for next 8 pulses if they take longer or shorter than the first

You could do the same with on line of the link port.
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
qarnos
Maxcoderz Staff
Posts: 227
Joined: Thu 01 Dec, 2005 9:04 am
Location: Melbourne, Australia

Post by qarnos »

Timendus wrote:
qarnos wrote:if you are talking about what I think you are, using one line for in and one for out wouldn't work. For instance, how would you differentiate between two consecutive 1's or 0's with only one line?
With timing. I used this principle with an IR port I once built with a friend:

- Short pulse is 0
- Long pulse is 1
- To send: Send average of long and short first, then 8 bits
- To receive: Clock first pulse, check for next 8 pulses if they take longer or shorter than the first

You could do the same with on line of the link port.
Mmm... I don't like the idea of using timing on a calc. But if it works, it works!
User avatar
qarnos
Maxcoderz Staff
Posts: 227
Joined: Thu 01 Dec, 2005 9:04 am
Location: Melbourne, Australia

Post by qarnos »

qarnos wrote:Mmm... I don't like the idea of using timing on a calc. But if it works, it works!
Just another thought... How about this. To send a bit, you alternate the status of one of the two lines. The receiving system acknowledge by either:

alternate both lines: plain ack.
alternate one line: ack plus send bit.

That way the receiver can acknowledge and send a bit at the same time. Then the original sender can ackowledge and send, so forth. If one calc has no data to send, it just responds with a plain ack.

Food for thought.
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

Then how do you send a bit to begin with?
ImageImage
Image
Post Reply