Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Coding > Punter File Transfer Protocol
2015-02-24 23:04
Six

Registered: Apr 2002
Posts: 227
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?
 
... 17 posts hidden. Click here to view all posts....
 
2015-03-04 20:34
Count Zero

Registered: Jan 2003
Posts: 843
also xmodem padded blocks with a crap byte at the end - argl :) - thats not even an alternative to anything!
2015-03-04 22:38
Groepaz

Registered: Dec 2001
Posts: 8920
Quote:
faster than xmodem!

indeed =)

what i find kindof funny is that in the original punter "docs" it says that the protocol was made especially for bad connections. ugh =)
2015-03-05 00:12
Six

Registered: Apr 2002
Posts: 227
Well, it does do two different types of checksumming, and theoretically has a shifting block size one could use to deal with regular interference. (no-one implements this, at least as far as I have seen)

Multi-punter's the real train wreck. There's not even any facility that I can see to deal with missing the filename/retrying.
2015-06-17 14:36
Didi

Registered: Nov 2011
Posts: 291
Found this today. Said to be sourcecode of Punter Protocol.
http://www.lemon64.com/forum/viewtopic.php?t=56823
2015-06-17 21:50
Six

Registered: Apr 2002
Posts: 227
Aye, it's one of them. Unfortunately doesn't appear to include multi-punter, though I've got that working now as well.
2015-06-18 07:17
JackAsser

Registered: Jun 2002
Posts: 1472
Quote: Aye, it's one of them. Unfortunately doesn't appear to include multi-punter, though I've got that working now as well.

Could you please write a spec that supports both single and multi on CodeBase for future generations? :)
2015-08-13 20:11
morphfrog

Registered: Mar 2002
Posts: 10
As I find this very interesting project , I must ask did you had some time to continue or are it halted right now?
2015-08-14 13:21
Six

Registered: Apr 2002
Posts: 227
It's an ongoing project, but this month my focus is on getting material together for the ECCC get-together on 2015-08-29.

Multi-punter does now work in CBMTerm, but whether or not it would work with a variety of other terminals besides the version of CCGMS it was tested against remains to be seen.

The only reasonable next step is to set up a variety of BBS and terminal software and individually test them until the most common variants of multi-punter are ferretted out and can be handled by my protocol layer. Probably going to be into September on that one.
2018-07-27 20:13
Larry

Registered: Feb 2007
Posts: 8
Did this ever got finished ?
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Yogibear/Protovision
CA$H/TRiAD
Dymo/G★P
Cruzer/CML^Oxy^Λrse..
Guests online: 26
Top Demos
1 Uncensored  (9.7)
2 Comaland 100%  (9.7)
3 Unboxed  (9.7)
4 Edge of Disgrace  (9.7)
5 Coma Light 13  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.6)
9 Old Men in Used Cars  (9.5)
10 C=Bit 18  (9.5)
Top onefile Demos
1 Arok 20 Invitation  (9.6)
2 Daah, Those Acid Pil..  (9.5)
3 FMX Music Demo  (9.5)
4 Crystal Gazer  (9.5)
5 Pandemoniac Part 2 o..  (9.5)
6 Rewind  (9.5)
7 Dawnfall V1.1  (9.5)
8 Party Horse  (9.4)
9 Dawnfall  (9.4)
10 In Memoriam BHF  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.3)
5 The Transfer Team  (9.3)
Top Cover Designers
1 Duce  (9.8)
2 Electric  (9.8)
3 Junkie  (9.6)
4 The Elegance  (9.4)
5 Cuc  (9.2)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.057 sec.