From: Marko Mäkelä (Marko.Makela_at_HUT.FI)
Date: 2002-09-23 09:31:00
On Sun, 22 Sep 2002, Ethan Dicks wrote: > Is there a program I can run on your C2N232 when attached to a PET > that could sniff the format on a save? Not yet, although it would be rather trivial to add such an option to "c2n". I used C-Kermit. I set the line parameters to 38400,8N1, set carrier-watch off, log session, connect. Then I issued the *S command on the VIC-20, got PRESS RECORD&PLAY ON TAPE, and typed ctrl-A on the terminal program. I got the raw data in a file "session.log". I computed the pulse width histogram with something like "perl -e 'while(<>){s/(.)/$1\n/g;print}' < session.log | sort | uniq -c > histogram.txt". That file had to be viewed in Emacs, as the two narrowest short pulses were non-printable characters, 0x1e and 0x1f (30 and 31 times 8 microseconds, respectively). Using the histogram, I determined what kind of pulse widths there are. Then I translated the data in session.log to printable characters B, C, D to be able to analyze the data. If you can produce a raw dump (what I call "session.log" above), I can analyze the format from it. Marko Message was sent through the cbm-hackers mailing list
Archive generated by hypermail 2.1.4.