diff options
author | Pavel Vymetálek <pavel@vym.cz> | 2019-02-16 12:17:02 +0100 |
---|---|---|
committer | Pavel Vymetálek <pavel@vym.cz> | 2019-02-16 12:17:02 +0100 |
commit | 6943723b68d75c9b30fa08dea6cd4474b0af6316 (patch) | |
tree | 2629fc942dd80588c1f5a721776a36841b2047a4 /sercp.c | |
parent | aee21c54320a5e85153314e8f4efdb7bea67e762 (diff) | |
download | sercp-pc-6943723b68d75c9b30fa08dea6cd4474b0af6316.tar.gz |
Změna uvítacího textu pro sercp, doplněno TODO
Diffstat (limited to 'sercp.c')
-rw-r--r-- | sercp.c | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -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) { |