Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Grasshopper ! (Registered 2022-08-10) You are not logged in - nap
CSDb User Forums


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

Registered: Apr 2002
Posts: 279
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?
 
... 26 posts hidden. Click here to view all posts....
 
2019-04-27 18:11
morphfrog

Registered: Mar 2002
Posts: 26
Hi
A little bit curious about this project
Very intresting!
2020-12-16 18:46
Six

Registered: Apr 2002
Posts: 279
Thread 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?
2020-12-16 18:55
Groepaz

Registered: Dec 2001
Posts: 10408
I'd also test Handyterm and Novaterm. Also the various incarnations of the C*Base builtin Terminal.
2020-12-16 19:14
morphfrog

Registered: Mar 2002
Posts: 26
Quoting Six
Thread 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.
2022-03-15 09:43
mist

Registered: Oct 2005
Posts: 5
Here is my own take at documenting the protocol:
https://www.pagetable.com/?p=1663
2022-03-15 11:28
Count Zero

Registered: Jan 2003
Posts: 1660
@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 .)
2022-03-15 15:04
Groepaz

Registered: Dec 2001
Posts: 10408
cool indeed. now someone close the circle and knock up a proper freestanding (and complete) open source implementation :)
2022-03-15 16:00
mist

Registered: Oct 2005
Posts: 5
Does wrapping the original implementation in a minimal 6502 environment and bridging it to stdin/stdout count? ;-)
2022-03-15 16:05
Groepaz

Registered: Dec 2001
Posts: 10408
urks =D
Previous - 1 | 2 | 3 | 4 - 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
Fred/Channel 4
KAL_123
acrouzet/G★P
Voltage
Guests online: 31
Top Demos
1 E2IRA  (9.6)
2 Edge of Disgrace  (9.6)
3 Coma Light 13  (9.6)
4 Uncensored  (9.6)
5 Bromance  (9.6)
6 Memento Mori  (9.5)
7 Comaland 100%  (9.5)
8 Incoherent Nightmare  (9.5)
9 Lunatico  (9.5)
10 Unboxed  (9.5)
Top onefile Demos
1 Copper Booze  (9.6)
2 Barry Boomer - Trapp..  (9.5)
3 Dawnfall V1.1  (9.5)
4 Daah, Those Acid Pil..  (9.5)
5 2022: A ZOO Odyssey  (9.5)
6 Elite Code Mechanics  (9.5)
7 Je t'aime mon Monstre  (9.5)
8 Lovecats  (9.5)
9 Rewind  (9.4)
10 Onef1ler 2  (9.4)
Top Groups
1 Booze Design  (9.4)
2 Eagle Soft Incorpora..  (9.3)
3 Maniacs of Noise  (9.3)
4 Oxyron  (9.3)
5 Crest  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Sailor  (9.7)
3 Mr Zero Page  (9.6)
4 Snacky  (9.6)
5 Janitor  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2022
Page generated in: 0.067 sec.