From 6943723b68d75c9b30fa08dea6cd4474b0af6316 Mon Sep 17 00:00:00 2001 From: Pavel Vymetálek Date: Sat, 16 Feb 2019 12:17:02 +0100 Subject: Změna uvítacího textu pro sercp, doplněno TODO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TODO | 9 +++++++++ sercp.c | 16 ++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 TODO diff --git a/TODO b/TODO new file mode 100644 index 0000000..a6e6fd5 --- /dev/null +++ b/TODO @@ -0,0 +1,9 @@ +2019-01-22 + - udělat do progressbaru značky po 16kB pro lepší orientaci v blocích :-) + +2019-01-09 + + Asi udělat fork jen pro sercp tak jako se bude program jmenovat v Esxdosu + - Udělat kontrolu jmena souboru, aby vyhovoval formátu 8.3 pro Esxdos + + x NE udělat přepínač pro dva stopbity při vysílání do ZX + + udělat HW řízení toku při zápisu? Aby se nemuselo čekat déle, než je třeba? diff --git a/sercp.c b/sercp.c index 05d2a14..4a34951 100644 --- a/sercp.c +++ b/sercp.c @@ -66,20 +66,16 @@ FILEINFO fileinfo; void usage(void) { - printf ("Tap file over serial port uploader/downloader. (c)2012-2015 Pavel Vymetálek \n"); - printf ("Based on utility tapheader: http://zeroteam.sk/tapheader.html (c)2012 Michal Jurica \n"); - printf ("Usage:\ntaptoser [-v] [-h] [-o filename.tap] [-b|--baud baud_rate] -d /dev/serial tap_file\n"); + printf ("sercp v0.2 (c)2018-2019 Pavel Vymetálek \n"); + printf ("serial copy for transfering file to/from ZX Spectrum 128 AY's RS232\n"); + printf ("Uses 1109bytes of fileinfo - blocks sums, filename, etc.\n"); + printf ("Usage:\nsercp -d /dev/serial [-v] [-h] [-b baud_rate] [-w time] [-r] \n"); printf ("\t-v, --version\tShow version info\n"); printf ("\t-h, --help\tShow this text\n"); printf ("\t-d, --device\tCommunication device\n"); - printf ("\t-w, --wait\tWaiting in microseconds between transmitted bytes. Default is -w 200us\n"); - printf ("\t-b, --baud\tSet the communication speed. 4800Bd, 9600Bd, 19200Bd and 57600Bd (default) are supported\n"); - printf ("\t-B, --binary\tBinary output - received tap from ZX Spectrum will save without all tap's specific mishmash\n"); - printf ("\t-o, --outfile\tOutput file. Usualy *.tap or *.bin with in --binary mode\n"); - printf ("SCP mode -----\n"); - printf ("\t-s, --scp\tSCP mode - sent files with fileinfo 1109bytes\n"); - printf ("\t-r, --read\tread file\n"); + printf ("\t-b, --baud\tSet the communication speed. Default 38400Bd\n"); printf ("\t-w, --wait\tWaiting in milliseconds between transmitted blocks. Default is -w 800 milliseconds\n"); + printf ("\t-r, --read\tRead file from other computer (ZX Spectrum)\n"); } void Set_DTR(unsigned short level) { -- cgit