aboutsummaryrefslogtreecommitdiffstats
path: root/sercp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sercp.c')
-rw-r--r--sercp.c16
1 files changed, 6 insertions, 10 deletions
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 <pavel@vym.cz>\n");
- printf ("Based on utility tapheader: http://zeroteam.sk/tapheader.html (c)2012 Michal Jurica <mike@zeroteam.sk>\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 <pavel@vym.cz>\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] <filename>\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) {