From 0339c3b1d7a444e87125ebf8bcafad669125e935 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sun, 17 May 2020 20:32:47 +0000 Subject: [PATCH] Backy: update by JohnXenox git-svn-id: svn://kolibrios.org@7942 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/backy/Backy | Bin 4552 -> 3511 bytes programs/develop/backy/Backy-lib.h | 94 ++++++++++++++++++--------- programs/develop/backy/Backy.c | 25 ++++--- programs/develop/backy/Backy.png | Bin 6548 -> 6523 bytes programs/develop/backy/History.txt | 16 +++++ programs/develop/backy/Readme-en.txt | 22 +++++++ programs/develop/backy/Readme-ru.txt | 21 ++++++ 7 files changed, 140 insertions(+), 38 deletions(-) create mode 100644 programs/develop/backy/History.txt create mode 100644 programs/develop/backy/Readme-en.txt create mode 100644 programs/develop/backy/Readme-ru.txt diff --git a/programs/develop/backy/Backy b/programs/develop/backy/Backy index ac95db75baf221778cbab9d7f898a184dce99dc9..8df17a41851645f10effe7335003d2930717aea5 100644 GIT binary patch literal 3511 zcmV;o4M_4!P(w=)JOBVe00001Mv*2LLXK;4&x2a?GQxvRtRQtQu6EkNmGS3Jj^7WK?(61gQ{i0lk>dFDYD*%^N zu1qzT#D%iqhlc>Ya*621tOWAO#iyEJJ)xwxW=(=`op$=S=nu zs!AzMdzmr<#z-?ASk7P?v(WVdp~xi`<8hHrRw!O()Ce5X3eayf0d4d0u|CidYo7(v zyAxern!IfeJVhKdFM)D8tiK5vBnz;kEfEQ#Da!luc!d(Gv?wPQe)D2i<0zRkdM$v& zzirJI1ZV_&&cWr}^6Hy|>pn0o;{I3+kO$TPtCe z+2_4`-DIav$yScI9D{SoU6)EyRpwjj?KGTTah z*>iHw&~WIr{Hjfaaj-!tniG06-F+VcwU&Yr4n%x?EK5pd$ffeehwMdAQq_~};=JxM zq0HvhuF`%UaEgZPDd?cSB{qauLy2MoK=R4+I>%%wxI95LTtL^KCc@bj5758u>x=ou3#%_oY#(;2hb)4~t)L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uvJcf+}6!mZ^gWy0343|Um2l^J^=lE;-{ z+nr=wdY0jeP^``EM(a|($Vg)Bio|D}ztHJ47vIk0TS$!IP)a?CWR>CK=49oSv`J0I zYdOssBgNQd`DS_~e*9U=6hYh@yKS+e6=Vq3a>W?OH~+V4vpvl&Vz`Hv8`abDMw+w#ZeW{Vy}e)B;_Mh2%#kcNIqRmXAL zODV(7<{xf;B?-gy(aJ>nMs^#(&Z0GV&2=uHJDZ^F-)BVwgYC>aHhteO?{1N)v--&o8eutZ{5x5dr^@5@ zJm>Z-W`#nXUxHwM7omZ!mS`|S-vTv4V|ze|M8jL7{*I1-{=KjT#=*|5f*cY2LR&Bt zaKpwYOYPxkjj%f0-r0n2jBfBYbosZ!C+Y7Lyb-_DUipIHT^JS!t$G1T2|8LSEYzVO zg|i+B+Y-<%7B>Je?5kxNFkgyZ;6~b+~ObeM% z-|g>+gaTbP@Mxqa1-c}6%R?kZtB^V(o{GwfNl`_6E74g4%E|CBg+IlTv5IZsP;g5$ z81AY7q|xGT4Tads+S(eywKmwfa-%yO-70_q1%=PgT|8g_R40CGIM>C#$=1 z-G&9iB6qd>IjV&89+> zX+@E#iC|sP3Ie{OTD-kbq1x8{Gm}|Di>BAbXSeM)`|OT=7N6az6s)ql%ujQLb|u&~sxkRPh3$U;)ob>t diff --git a/programs/develop/backy/Backy-lib.h b/programs/develop/backy/Backy-lib.h index 23b030251a..537d063f27 100644 --- a/programs/develop/backy/Backy-lib.h +++ b/programs/develop/backy/Backy-lib.h @@ -1,38 +1,46 @@ +/* + * Backy_lib.h + * Author: JohnXenox aka Aleksandr Igorevich. + */ + #ifndef __jxl_Date_get_h__ #define __jxl_Date_get_h__ +#ifdef ___TINY_C___ + +typedef unsigned int uint32_t; +typedef unsigned char uint8_t; +typedef unsigned short int uint16_t; +typedef unsigned long long uint64_t; +typedef char int8_t; +typedef short int int16_t; +typedef int int32_t; +typedef long long int64_t; + +static inline int32_t saveFile(uint32_t nbytes, uint8_t *data, uint32_t enc, uint8_t *path) +{ + int32_t val; + + uint8_t dt[28]; // basic information structure. + + (uint32_t) dt[0] = 2; // subfunction number. + (uint32_t) dt[4] = 0; // reserved. + (uint32_t) dt[8] = 0; // reserved. + (uint32_t) dt[12] = nbytes; // number of bytes to write. + (uint8_t *) dt[16] = data; // pointer to data. + (uint32_t) dt[20] = enc; // string encoding (0 = default, 1 = cp866, 2 = UTF-16LE, 3 = UTF-8). + (uint8_t *) dt[24] = path; // pointer to path. + + __asm__ __volatile__("int $0x40":"=a"(val):"a"(80), "b"(&dt)); + + return val; +} + +#else + #include -static inline uint32_t getDate(void) -{ - uint32_t date; - __asm__ __volatile__("int $0x40":"=a"(date):"a"(29)); - return date; -} - - - -static inline uint32_t getTime(void) -{ - uint32_t time; - __asm__ __volatile__("int $0x40":"=a"(time):"a"(3)); - return time; -} - - - -static inline void *openFile(uint32_t *length, const uint8_t *path) -{ - uint8_t *fd; - - __asm__ __volatile__ ("int $0x40":"=a"(fd), "=d"(*length):"a" (68), "b"(27),"c"(path)); - - return fd; -} - - - static inline int32_t saveFile(uint32_t nbytes, uint8_t *data, uint32_t enc, uint8_t *path) { int32_t val; @@ -64,5 +72,33 @@ static inline int32_t saveFile(uint32_t nbytes, uint8_t *data, uint32_t enc, uin return val; } +#endif + +static inline uint32_t getDate(void) +{ + uint32_t date; + __asm__ __volatile__("int $0x40":"=a"(date):"a"(29)); + return date; +} + + + +static inline uint32_t getTime(void) +{ + uint32_t time; + __asm__ __volatile__("int $0x40":"=a"(time):"a"(3)); + return time; +} + + + +static inline void *openFile(uint32_t *length, const uint8_t *path) +{ + uint8_t *fd; + + __asm__ __volatile__ ("int $0x40":"=a"(fd), "=d"(*length):"a" (68), "b"(27),"c"(path)); + + return fd; +} #endif diff --git a/programs/develop/backy/Backy.c b/programs/develop/backy/Backy.c index 08ff93acff..0a02ae5e55 100644 --- a/programs/develop/backy/Backy.c +++ b/programs/develop/backy/Backy.c @@ -1,14 +1,17 @@ /* - Author: JohnXenox. - Description: The program for backing up a file. + * Author: JohnXenox aka Aleksandr Igorevich. + * + * Programme name: Backy + * Description: The programme for backing up a file. + * + * Works from command line, only! + */ - Works from command line, only! -*/ +#define CREATION_DATE "2020.05.17" -#define CREATION_DATE "2020.05.07" - -#include +#include +//#include #include #include @@ -144,10 +147,14 @@ int main(int argc, char** argv) else { //con_init_console_dll_param(-1, 23, -1, 23, "Backy"); + if (con_init_console_dll()) return 1; // init fail + + printf("Useful info!"); printf("\n Name: Backy"); printf("\n Date: %s", CREATION_DATE); printf("\n Description: The programme for backing up a file.\n"); + printf("\n Author: JohnXenox\n"); printf("\n Usage: backy <-o path2>\n"); @@ -212,7 +219,7 @@ int main(int argc, char** argv) } - itoa(*dta, num, 16); + itoab(*dta, num, 16); if (num[1] == 0) { @@ -254,7 +261,7 @@ int main(int argc, char** argv) if (i == 2) dta = &seconds; - itoa(*dta, num, 16); + itoab(*dta, num, 16); if (num[1] == 0) { diff --git a/programs/develop/backy/Backy.png b/programs/develop/backy/Backy.png index 635353c1b68e28553eab81f855c0e6193a7203b3..f9015d3400122b40413ccf00865877dbb4b28caf 100644 GIT binary patch delta 5522 zcmYjV2~-nj*B(TR6@*r6kz&YisY{E3NUI`*pjZ+4APTYwLR?8zFd_^AvJBK#s&L%|IVK?=j5C_@B7}lcby0Iarp?b~xCen1HmE8mUoX*dC`bZb6GZZrAI=NtRF$gjGt z{B~^L^5W%(Z|z;PBJI0tepkPb^!|DCf%~_9KP36y^X$D9_o6~F@xR0E7j|SuAiaI-B&|3g&XB&(yj^s&9 zu(VfA>dO#=HykS*<$wk&VB26mMS51DNBAmf#kun&+7{39n2B#*t_`jBVr9tmqrl+)oYqD$`&TFVT2 zEoVO8E%yR_t}9Ls!M-Y8ubA>c2a394hMxY~P*bd*QMrLb71@erq7(U3|11t|CGaqu zESL!lRafWhF3%=7yn{sgc|{nk%|{-v=^yN{49$=sTp(q1`6?}yHA+iZq#rKLP?b~p zdGHc;pDu)8%|(wMz#7U$x)a?rKj>8V3@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*Xnoi%Uxxe_SQGC)pvKr}wly##}w z&7yRZsF+}vFh?;wa3?CnJRV3nB4s)a@Qqra-gO$AQ|rvS7=nQ|{WI2J)G9k6U2T^X z_jFsZ(s3Fvk3ftZh1y>nt>k1?^>Fd(L;^nlyqiV$3LcC>cj5=`aA~+fF|%_5IqKzi z^8VY$(`6r5gcHc_Y|@iQxut0Ju-qb%kdTXWx~DWt=60?X@a>&NnIj^u <-o path2> + path1 - path to a file to be backuped. + -o path2 - path to the output directory without the name of a file. + +Examples: + backy test.c + backy test.c -o /tmp0/1/ + backy /hd0/1/test.c + backy /hd0/1/test.c -o /tmp0/1/ + +//--------------------------------------// + The programme: + - Compiled with KTCC compiler. + - Written in KolibriOS NB svn7768. + - Designed and written by JohnXenox + aka Aleksandr Igorevich. +//--------------------------------------// + diff --git a/programs/develop/backy/Readme-ru.txt b/programs/develop/backy/Readme-ru.txt new file mode 100644 index 0000000000..f40ab9433c --- /dev/null +++ b/programs/develop/backy/Readme-ru.txt @@ -0,0 +1,21 @@ +Backy (дата выпуска 2020.05.17) + +Backy - это программа для создания резервной копии файла. + +Использование: backy <-o path2> + path1 - путь к файлу, который надо скопировать. + -o path2 - путь к директории, в которую будет скопирована резервная копия файла. + +Примеры: + backy test.c + backy test.c -o /tmp0/1/ + backy /hd0/1/test.c + backy /hd0/1/test.c -o /tmp0/1/ + +//--------------------------------------// + The programme: + - Compiled with KTCC compiler. + - Written in KolibriOS NB svn7768. + - Designed and written by JohnXenox + aka Aleksandr Igorevich. +//--------------------------------------//