home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsc / combine / !Combine / !Run < prev    next >
Unknown  |  1995-07-17  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% xdgMime image/x-tga default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 20 f4 20 43 6f | 6d 62 69 6e 65 20 74 77 |... . Co|mbine tw|
|00000010| 6f 20 66 69 6c 65 73 20 | 74 6f 67 65 74 68 65 72 |o files |together|
|00000020| 0d 00 14 37 f4 20 57 72 | 69 74 74 65 6e 20 62 79 |...7. Wr|itten by|
|00000030| 20 54 69 6d 20 57 69 73 | 65 72 2e 20 20 54 68 69 | Tim Wis|er. Thi|
|00000040| 73 20 73 6f 66 74 77 61 | 72 65 20 69 73 20 46 52 |s softwa|re is FR|
|00000050| 45 45 57 41 52 45 2e 0d | 00 1e 05 f4 0d 00 28 53 |EEWARE..|......(S|
|00000060| f4 20 49 74 20 63 61 6e | 20 63 6f 6d 62 69 6e 65 |. It can| combine|
|00000070| 20 66 69 6c 65 73 20 6f | 66 3a 20 20 54 65 78 74 | files o|f: Text|
|00000080| 2c 20 41 72 6d 61 64 65 | 75 73 2c 20 43 20 73 6f |, Armade|us, C so|
|00000090| 75 72 63 65 20 28 69 65 | 3a 20 74 65 78 74 29 2c |urce (ie|: text),|
|000000a0| 20 4f 62 65 79 2c 20 43 | 6f 6d 6d 61 6e 64 20 0d | Obey, C|ommand .|
|000000b0| 00 32 09 3a 20 20 20 20 | 0d 00 3c 0e de 20 63 61 |.2.: |..<.. ca|
|000000c0| 6e 24 28 31 30 29 0d 00 | 46 0c 6b 6e 6f 77 6e 25 |n$(10)..|F.known%|
|000000d0| 3d 38 0d 00 50 12 e3 20 | 63 3d 31 20 b8 20 6b 6e |=8..P.. |c=1 . kn|
|000000e0| 6f 77 6e 25 0d 00 5a 0e | 20 f3 20 63 61 6e 24 28 |own%..Z.| . can$(|
|000000f0| 63 29 0d 00 64 07 ed 20 | 63 0d 00 6e 19 ee 20 85 |c)..d.. |c..n.. .|
|00000100| 20 f6 3a f1 22 20 40 20 | 6c 69 6e 65 20 22 3b 9e | .:." @ |line ";.|
|00000110| 3a e0 0d 00 78 05 db 0d | 00 82 07 eb 20 33 0d 00 |:...x...|.... 3..|
|00000120| 8c 12 ef 20 31 39 2c 30 | 2c 34 2c 30 2c 30 2c 30 |... 19,0|,4,0,0,0|
|00000130| 0d 00 96 62 f1 20 27 22 | 20 46 69 6c 65 20 63 6f |...b. '"| File co|
|00000140| 6d 62 69 6e 65 72 2e 20 | 20 57 72 69 74 74 65 6e |mbiner. | Written|
|00000150| 20 62 79 20 54 69 6d 20 | 57 69 73 65 72 2e 22 27 | by Tim |Wiser."'|
|00000160| 22 20 43 6f 6d 62 69 6e | 65 73 20 74 77 6f 20 66 |" Combin|es two f|
|00000170| 69 6c 65 73 20 6f 66 20 | 74 68 65 20 53 41 4d 45 |iles of |the SAME|
|00000180| 20 66 6f 72 6d 61 74 20 | 74 6f 67 65 74 68 65 72 | format |together|
|00000190| 2e 22 0d 00 a0 09 f1 27 | 27 22 22 0d 00 aa 26 e8 |.".....'|'""...&.|
|000001a0| 20 22 20 20 20 20 20 46 | 69 6c 65 6e 61 6d 65 20 | " F|ilename |
|000001b0| 6f 66 20 66 69 6c 65 20 | 31 20 2d 20 22 66 6e 31 |of file |1 - "fn1|
|000001c0| 24 0d 00 b4 26 e8 20 22 | 20 20 20 20 20 46 69 6c |$...&. "| Fil|
|000001d0| 65 6e 61 6d 65 20 6f 66 | 20 66 69 6c 65 20 32 20 |ename of| file 2 |
|000001e0| 2d 20 22 66 6e 32 24 0d | 00 be 29 e8 20 22 20 20 |- "fn2$.|..). " |
|000001f0| 20 43 6f 6d 62 69 6e 65 | 20 74 6f 20 6d 61 6b 65 | Combine| to make|
|00000200| 20 66 69 6c 65 20 2d 20 | 22 6f 75 74 70 75 74 24 | file - |"output$|
|00000210| 0d 00 c8 24 e8 20 22 20 | 49 6e 63 6c 75 64 65 20 |...$. " |Include |
|00000220| 6c 69 6e 65 66 65 65 64 | 20 28 79 2f 6e 29 20 2d |linefeed| (y/n) -|
|00000230| 20 22 6c 24 0d 00 d2 0b | c8 8e 20 6c 24 20 ca 0d | "l$....|.. l$ ..|
|00000240| 00 dc 16 20 c9 20 22 59 | 22 2c 22 79 22 20 20 3a |... . "Y|","y" :|
|00000250| 20 43 52 3d b9 0d 00 e6 | 16 20 c9 20 22 4e 22 2c | CR=....|. . "N",|
|00000260| 22 6e 22 20 20 3a 20 43 | 52 3d a3 0d 00 f0 4e 20 |"n" : C|R=....N |
|00000270| 7f 20 20 20 20 20 3a 20 | f1 27 22 50 6c 65 61 73 |. : |.'"Pleas|
|00000280| 65 20 62 65 20 63 6f 2d | 6f 70 65 72 61 74 69 76 |e be co-|operativ|
|00000290| 65 20 61 6e 64 20 66 69 | 6c 6c 20 69 6e 20 74 68 |e and fi|ll in th|
|000002a0| 65 20 6c 61 73 74 20 66 | 69 65 6c 64 20 70 72 6f |e last f|ield pro|
|000002b0| 70 65 72 6c 79 2e 22 3a | e0 0d 00 fa 05 cb 0d 01 |perly.":|........|
|000002c0| 04 46 41 25 3d 39 39 39 | 3a 41 25 3d 8e 28 66 6e |.FA%=999|:A%=.(fn|
|000002d0| 31 24 29 3a d9 23 41 25 | 3a e7 20 41 25 3d 30 20 |1$):.#A%|:. A%=0 |
|000002e0| 8c 20 f1 27 22 46 69 6c | 65 20 22 3b 66 6e 31 24 |. .'"Fil|e ";fn1$|
|000002f0| 22 20 64 6f 65 73 20 6e | 6f 74 20 65 78 69 73 74 |" does n|ot exist|
|00000300| 21 22 3a e0 0d 01 0e 46 | 41 25 3d 39 39 39 3a 41 |!":....F|A%=999:A|
|00000310| 25 3d 8e 28 66 6e 32 24 | 29 3a d9 23 41 25 3a e7 |%=.(fn2$|):.#A%:.|
|00000320| 20 41 25 3d 30 20 8c 20 | f1 27 22 46 69 6c 65 20 | A%=0 . |.'"File |
|00000330| 22 3b 66 6e 32 24 22 20 | 64 6f 65 73 20 6e 6f 74 |";fn2$" |does not|
|00000340| 20 65 78 69 73 74 21 22 | 3a e0 0d 01 18 4b c8 99 | exist!"|:....K..|
|00000350| 20 22 4f 53 5f 46 69 6c | 65 22 2c 32 30 2c 66 6e | "OS_Fil|e",20,fn|
|00000360| 31 24 20 b8 20 74 79 70 | 65 25 2c 2c 6c 6f 61 64 |1$ . typ|e%,,load|
|00000370| 2c 65 78 65 63 2c 6c 65 | 6e 67 74 68 5f 31 25 2c |,exec,le|ngth_1%,|
|00000380| 61 74 74 72 69 62 75 74 | 65 73 2c 66 69 6c 65 74 |attribut|es,filet|
|00000390| 79 70 65 5f 31 0d 01 22 | 4b c8 99 20 22 4f 53 5f |ype_1.."|K.. "OS_|
|000003a0| 46 69 6c 65 22 2c 32 30 | 2c 66 6e 32 24 20 b8 20 |File",20|,fn2$ . |
|000003b0| 74 79 70 65 25 2c 2c 6c | 6f 61 64 2c 65 78 65 63 |type%,,l|oad,exec|
|000003c0| 2c 6c 65 6e 67 74 68 5f | 32 25 2c 61 74 74 72 69 |,length_|2%,attri|
|000003d0| 62 75 74 65 73 2c 66 69 | 6c 65 74 79 70 65 5f 32 |butes,fi|letype_2|
|000003e0| 0d 01 2c 58 e7 20 c3 7e | 66 69 6c 65 74 79 70 65 |..,X. .~|filetype|
|000003f0| 5f 31 20 3c 3e 20 c3 7e | 66 69 6c 65 74 79 70 65 |_1 <> .~|filetype|
|00000400| 5f 32 20 8c 20 f1 27 22 | 49 20 63 61 6e 27 74 20 |_2 . .'"|I can't |
|00000410| 63 6f 6d 62 69 6e 65 20 | 66 69 6c 65 73 20 6f 66 |combine |files of|
|00000420| 20 64 69 66 66 65 72 65 | 6e 74 20 66 69 6c 65 74 | differe|nt filet|
|00000430| 79 70 65 73 21 22 3a e0 | 0d 01 36 4f f1 27 22 42 |ypes!":.|..6O.'"B|
|00000440| 6f 74 68 20 66 69 6c 65 | 73 20 61 72 65 20 26 22 |oth file|s are &"|
|00000450| 2b c3 7e 66 69 6c 65 74 | 79 70 65 5f 31 22 20 66 |+.~filet|ype_1" f|
|00000460| 6f 72 6d 61 74 2c 20 73 | 6f 20 74 68 65 20 6f 75 |ormat, s|o the ou|
|00000470| 74 70 75 74 20 66 69 6c | 65 20 77 69 6c 6c 20 62 |tput fil|e will b|
|00000480| 65 20 74 6f 6f 2e 22 0d | 01 40 0d e9 20 63 61 6e |e too.".|.@.. can|
|00000490| 64 6f 3d a3 0d 01 4a 12 | e3 20 63 3d 31 20 b8 20 |do=...J.|. c=1 . |
|000004a0| 6b 6e 6f 77 6e 25 0d 01 | 54 25 20 e7 20 c3 7e 66 |known%..|T% . .~f|
|000004b0| 69 6c 65 74 79 70 65 5f | 31 3d 63 61 6e 24 28 63 |iletype_|1=can$(c|
|000004c0| 29 20 8c 20 63 61 6e 64 | 6f 3d b9 0d 01 5e 07 ed |) . cand|o=...^..|
|000004d0| 20 63 0d 01 68 97 e7 20 | 63 61 6e 64 6f 3d a3 20 | c..h.. |cando=. |
|000004e0| 8c 20 f1 27 22 54 68 65 | 20 73 75 63 63 65 73 73 |. .'"The| success|
|000004f0| 20 6f 66 20 63 6f 6d 62 | 69 6e 69 6e 67 20 66 69 | of comb|ining fi|
|00000500| 6c 65 73 20 6f 66 20 74 | 68 69 73 20 66 6f 72 6d |les of t|his form|
|00000510| 61 74 20 69 73 20 64 75 | 62 69 6f 75 73 2c 20 62 |at is du|bious, b|
|00000520| 75 74 20 77 68 61 74 20 | 74 68 65 20 68 65 6c 6c |ut what |the hell|
|00000530| 2c 20 20 20 20 49 27 6c | 6c 20 67 69 76 65 20 69 |, I'l|l give i|
|00000540| 74 20 61 20 73 68 6f 74 | 2e 20 57 68 61 64 64 79 |t a shot|. Whaddy|
|00000550| 61 20 73 61 79 20 61 62 | 6f 75 74 20 74 68 61 74 |a say ab|out that|
|00000560| 2c 20 6d 61 74 65 79 3f | 22 0d 01 72 4a f1 27 22 |, matey?|"..rJ.'"|
|00000570| 50 72 65 73 73 20 61 20 | 6b 65 79 20 74 6f 20 63 |Press a |key to c|
|00000580| 6f 6d 62 69 6e 65 20 74 | 68 65 20 74 77 6f 20 66 |ombine t|he two f|
|00000590| 69 6c 65 73 2c 20 6f 72 | 20 70 72 65 73 73 20 45 |iles, or| press E|
|000005a0| 73 63 61 70 65 20 74 6f | 20 71 75 69 74 20 6e 6f |scape to| quit no|
|000005b0| 77 2e 22 0d 01 7c 09 f5 | 20 fd 20 a5 0d 01 86 05 |w."..|..| . .....|
|000005c0| db 0d 01 90 16 de 20 66 | 69 72 73 74 25 20 6c 65 |...... f|irst% le|
|000005d0| 6e 67 74 68 5f 31 25 0d | 01 9a 17 de 20 73 65 63 |ngth_1%.|.... sec|
|000005e0| 6f 6e 64 25 20 6c 65 6e | 67 74 68 5f 32 25 0d 01 |ond% len|gth_2%..|
|000005f0| a4 1e ff 22 4c 4f 41 44 | 20 22 2b 66 6e 31 24 2b |..."LOAD| "+fn1$+|
|00000600| 22 20 22 2b c3 7e 66 69 | 72 73 74 25 0d 01 ae 1f |" "+.~fi|rst%....|
|00000610| ff 22 4c 4f 41 44 20 22 | 2b 66 6e 32 24 2b 22 20 |."LOAD "|+fn2$+" |
|00000620| 22 2b c3 7e 73 65 63 6f | 6e 64 25 0d 01 b8 3e f1 |"+.~seco|nd%...>.|
|00000630| 27 22 43 6f 6d 62 69 6e | 69 6e 67 20 66 69 6c 65 |'"Combin|ing file|
|00000640| 73 3a 20 50 6c 65 61 73 | 65 20 77 61 69 74 2c 20 |s: Pleas|e wait, |
|00000650| 74 68 69 73 20 6d 61 79 | 20 74 61 6b 65 20 73 6f |this may| take so|
|00000660| 6d 65 20 74 69 6d 65 2e | 22 0d 01 c2 07 74 3d 91 |me time.|"....t=.|
|00000670| 0d 01 cc 05 87 0d 01 d6 | 15 6f 75 74 70 75 74 3d |........|.output=|
|00000680| ae 28 6f 75 74 70 75 74 | 24 29 0d 01 e0 15 e3 20 |.(output|$)..... |
|00000690| 66 69 6c 65 25 3d 31 20 | b8 20 32 20 88 20 31 0d |file%=1 |. 2 . 1.|
|000006a0| 01 ea 0f 20 c8 8e 20 66 | 69 6c 65 25 20 ca 0d 01 |... .. f|ile% ...|
|000006b0| f4 4d 20 20 c9 20 31 20 | 20 3a 20 62 6c 6f 63 6b |.M . 1 | : block|
|000006c0| 25 3d 66 69 72 73 74 25 | 3a 6c 65 6e 67 74 68 25 |%=first%|:length%|
|000006d0| 3d 6c 65 6e 67 74 68 5f | 31 25 2d 31 3a f1 20 8a |=length_|1%-1:. .|
|000006e0| 30 2c 35 29 22 41 64 64 | 69 6e 67 20 66 69 72 73 |0,5)"Add|ing firs|
|000006f0| 74 20 66 69 6c 65 20 2e | 2e 2e 22 0d 01 fe 4f 20 |t file .|.."...O |
|00000700| 20 c9 20 32 20 20 3a 20 | 62 6c 6f 63 6b 25 3d 73 | . 2 : |block%=s|
|00000710| 65 63 6f 6e 64 25 3a 6c | 65 6e 67 74 68 25 3d 6c |econd%:l|ength%=l|
|00000720| 65 6e 67 74 68 5f 32 25 | 2d 31 3a f1 20 8a 30 2c |ength_2%|-1:. .0,|
|00000730| 35 29 22 41 64 64 69 6e | 67 20 73 65 63 6f 6e 64 |5)"Addin|g second|
|00000740| 20 66 69 6c 65 20 2e 2e | 2e 22 0d 02 08 06 20 cb | file ..|.".... .|
|00000750| 0d 02 12 0a 20 73 75 62 | 3d 91 0d 02 1c 18 20 e3 |.... sub|=..... .|
|00000760| 20 62 79 74 65 25 3d 30 | 20 b8 20 6c 65 6e 67 74 | byte%=0| . lengt|
|00000770| 68 25 0d 02 26 22 20 20 | d5 23 6f 75 74 70 75 74 |h%..&" |.#output|
|00000780| 2c bd 28 3f 28 62 6c 6f | 63 6b 25 2b 62 79 74 65 |,.(?(blo|ck%+byte|
|00000790| 25 29 29 3b 0d 02 30 0c | 20 ed 20 62 79 74 65 25 |%));..0.| . byte%|
|000007a0| 0d 02 3a 1c 20 e7 20 43 | 52 3d b9 20 8c 20 d5 23 |..:. . C|R=. . .#|
|000007b0| 6f 75 74 70 75 74 2c bd | 28 33 32 29 0d 02 44 46 |output,.|(32)..DF|
|000007c0| 20 f1 20 8a 30 2c 36 2b | 66 69 6c 65 25 29 22 46 | . .0,6+|file%)"F|
|000007d0| 69 6c 65 20 22 3b 66 69 | 6c 65 25 22 20 70 72 6f |ile ";fi|le%" pro|
|000007e0| 63 65 73 73 65 64 20 69 | 6e 20 22 3b 28 91 2d 73 |cessed i|n ";(.-s|
|000007f0| 75 62 29 2f 31 30 30 22 | 20 73 65 63 6f 6e 64 73 |ub)/100"| seconds|
|00000800| 2e 22 0d 02 4e 0b ed 20 | 66 69 6c 65 25 0d 02 58 |."..N.. |file%..X|
|00000810| 0c d9 23 6f 75 74 70 75 | 74 0d 02 62 28 ff 22 53 |..#outpu|t..b(."S|
|00000820| 45 54 54 59 50 45 20 22 | 2b 6f 75 74 70 75 74 24 |ETTYPE "|+output$|
|00000830| 2b 22 20 22 2b c3 7e 66 | 69 6c 65 74 79 70 65 5f |+" "+.~f|iletype_|
|00000840| 31 0d 02 6c 13 f1 20 8a | 30 2c 35 29 c4 34 30 2c |1..l.. .|0,5).40,|
|00000850| 22 20 22 29 0d 02 76 2f | f1 20 8a 30 2c 31 30 29 |" ")..v/|. .0,10)|
|00000860| 22 46 69 6e 69 73 68 65 | 64 20 69 6e 20 22 3b 28 |"Finishe|d in ";(|
|00000870| 91 2d 74 29 2f 31 30 30 | 22 20 73 65 63 6f 6e 64 |.-t)/100|" second|
|00000880| 73 2e 22 0d 02 80 05 ee | 0d 02 8a 05 e0 0d 02 94 |s.".....|........|
|00000890| 05 3a 0d 02 9e 0b dc 20 | 22 46 46 46 22 0d 02 a8 |.:..... |"FFF"...|
|000008a0| 0b dc 20 22 46 46 45 22 | 0d 02 b2 0b dc 20 22 46 |.. "FFE"|..... "F|
|000008b0| 46 44 22 0d 02 bc 0b dc | 20 22 46 45 42 22 0d 02 |FD".....| "FEB"..|
|000008c0| c6 0b dc 20 22 46 44 37 | 22 0d 02 d0 0b dc 20 22 |... "FD7|"..... "|
|000008d0| 46 44 36 22 0d 02 da 0b | dc 20 22 44 33 43 22 0d |FD6"....|. "D3C".|
|000008e0| 02 e4 0b dc 20 22 46 45 | 41 22 0d ff |.... "FE|A".. |
+--------+-------------------------+-------------------------+--------+--------+