| |
Six
Registered: Apr 2002 Posts: 289 |
Punter File Transfer Protocol
Reading the doc here: http://cbmfiles.com/genie/geniefiles/TelcomTools/C1-PROTOCOL-DE..
it outlines what seems like a very simple protocol. Seems easy to implement from scratch. To that end, I set up two tcpser instances, two instance of VICE with CCGMS 11, and began a transfer, observing the logging output of TCPSER.
What Steve Punter describes should go like this:
SENDER
[dummy packet 1]---ACK---[filetype packet]---ACK---[First file packet]---ACK---[Second file packet]....
RECEIVER
----------------GOO---S/B-----------------GOO---S/B------------------GOO---S/B-- ------------------GOO...
Where dummy packet 1 would be just the two checksums, 8 for the "next block size", and a block number of 0000, filetype packet is much the same, but with the filetype as the payload and a larger "next block size"
But what I'm observing looks more like this:
SENDER
--------------------------------------------------0x91---ACK---[odd data block]---ACK---SYN---S/B---ACK---[data block 1]
RECEIVER
GOO(over and over again until the transfer starts)----GOO---S/B---------------GOO---S/B---SYN---GOO---S/B----
Where the odd data block has a next block size of 4, and a block number of 0xffff and appears to have the file type in it.
My next step is going to be to try multi-punter on the same setup, then try a few different terms and see if the peculiarities are specific to this implementation of punter on CCGMS 11.
Has anyone else dug into this, or have any insight into the how/why? Is there a comprehensive documentation of this protocol anywhere? |
|
... 30 posts hidden. Click here to view all posts.... |
| |
morphfrog
Registered: Mar 2002 Posts: 33 |
Quoting SixThread necromancy. Circled back to this because I need them to work cleanly for the Linux-based BBS. As of right now I can upload/download from/to all of the versions of CCGMS I've tested to the BBS. Does anyone know of any strange variations on Punter I could test/implement?
Please make it compatible with multi punter aswell that exists in CCGMS ( dosen't know if it do that in other termimal programs), very nice feature.Please also test the latest versions of CCGMS that alwyz had modified. |
| |
mist
Registered: Oct 2005 Posts: 5 |
Here is my own take at documenting the protocol:
https://www.pagetable.com/?p=1663 |
| |
Count Zero
Registered: Jan 2003 Posts: 1922 |
@mist: very nice! Also https://www.pagetable.com/?p=1641 (comes as a surprise) and https://www.pagetable.com/?p=1656 (nice article) are not way out of scope here and should be mentioned .) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11352 |
cool indeed. now someone close the circle and knock up a proper freestanding (and complete) open source implementation :) |
| |
mist
Registered: Oct 2005 Posts: 5 |
Does wrapping the original implementation in a minimal 6502 environment and bridging it to stdin/stdout count? ;-) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11352 |
urks =D |
Previous - 1 | 2 | 3 | 4 - Next |