Just alternate one of the lines. Or you could "handshake" first by raising/lowering both lines or something like that. Since both calcs "know" nothing has been sent yet, it should be fine.AndySoft wrote:Then how do you send a bit to begin with?
[Featured][Dev] PindurTI (Best Thread 2005)
Moderator: MaxCoderz Staff
Stuff always get sent one bit at a time...Liazon wrote:You mean stuff gets sent only bits at a time? Then how long does it take to send a byte?
EDIT: Let me elaborate.
You can only ever send one bit at a time on the calcs, regarless of the protocol, since the lines can be either "high" (1) or "low" (0).
My idea allows you to:
a) let the receiver acklowledge receipt of the bit which was sent; AND
b) send a bit of it's own riding on top of the acklowledge signal.
The basic idea is, we have two lines, allowing a possible 4 different states we can be in. So why waste any of those states?
You mean like:
toggle tip status = 0 and ack
toggle ring status = 1 and ack
toggle both lines = ack and send nothing
That looks a lot like a less secure version of Ti's protocol. And besides, you can't use low level acknowledgements if you want to link with more than two calculators.
toggle tip status = 0 and ack
toggle ring status = 1 and ack
toggle both lines = ack and send nothing
That looks a lot like a less secure version of Ti's protocol. And besides, you can't use low level acknowledgements if you want to link with more than two calculators.
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
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
I'll take your word for it - this is not my area of expertise!Timendus wrote:You mean like:
toggle tip status = 0 and ack
toggle ring status = 1 and ack
toggle both lines = ack and send nothing
That looks a lot like a less secure version of Ti's protocol. And besides, you can't use low level acknowledgements if you want to link with more than two calculators.
Actually, I meant to ask something but I forgot all about it! Sorry about that.CoBB wrote:Guys, could you move this discussion elsewhere? I always come here expecting some PTI related post.
I was wondering if you have any plans to make some kind of profiler for the calcs? That's one thing I would *love* to see but is sadly not present in any emulator I have seen.
-
- MCF Legend
- Posts: 1601
- Joined: Mon 20 Dec, 2004 8:45 am
- Location: Budapest, Absurdistan
- Contact:
Okay, it seems that the long standing bug with sending archived files has never really existed. Simply sending those two magic bytes after the name seems to work perfectly by itself. The problem is elsewhere, most probably connected to force loading apps and hence messing up the flash. When a ROM image has this error, even on-calc archiving fails to work, giving an 'ERR: BAD ADDRESS".
Does the same happen with TilEm?
Does the same happen with TilEm?
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
I have a request. I've noticed that for some reason PTI does not show the calc's serial number/ID on the "about" screen, even if I've specifically dumped the ROM from my calculator. Does this mean it doesn't have the serial number embedded in the rom, or that PTI just doesn't show it? I need the calculator to know its serial number for a program I'm working on.
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
CoBB: But suppose I have the information from my calculator derived from the [2nd][+][1] screen? I looked around on DetachedSolutions and they found that the ID number is stored encrypted in MD5 on one of the privileged flash pages. I also know for a fact that ROM images contain that page, since I had to dump the page from my calc in order to create my ROM from an OS upgrade with Rom8x. Anyway, even if there's a way that the user can type in the number and have it be used, that would be awesome. If not, I could always improvise by interrupting my program and manually setting the RAM where it stores the ID retrieved using _GetSerial. Oh, and are there any plans for editing the RAM via the hex display?
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact: