home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / unix_c / graphics / deltac.tar < prev    next >
Tape Archive  |  1990-06-21  |  16.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Tape Archive (archive/tar).

You can browse this item here: deltac.tar

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file tar archive default
99% file tar archive (V7), file deltac/, mode 755 , uid 52750 , gid 13 , size 0 , seconds 4637434731 default
98% file data default
100% TrID Sybase iAnywhere database files default (weak)
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype Pre-POSIX tar archive default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 64 65 6c 74 61 63 2f 00 | 00 00 00 00 00 00 00 00 |deltac/.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 35 32 37 |.... 7|55 . 527|
|00000070| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 34 36 33 37 34 33 34 | 0 | 4637434|
|00000090| 37 33 31 20 20 20 35 33 | 33 36 00 20 00 00 00 00 |731 53|36. ....|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 64 65 6c 74 61 63 2f 53 | 68 61 72 46 69 6c 65 2e |deltac/S|harFile.|
|00000210| 48 65 61 64 65 72 73 00 | 00 00 00 00 00 00 00 00 |Headers.|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 35 32 37 |.... 6|44 . 527|
|00000270| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00000280| 20 20 20 31 35 32 36 20 | 20 34 36 33 37 34 33 34 | 1526 | 4637434|
|00000290| 37 33 31 20 20 31 30 34 | 32 31 00 20 00 00 00 00 |731 104|21. ....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 3d 3d 3d 20 64 65 6c 74 | 61 63 2e 73 68 61 72 20 |=== delt|ac.shar |
|00000410| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000420| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0a 46 72 6f 6d 20 73 |========|=.From s|
|00000430| 70 61 72 6b 79 66 73 21 | 68 65 72 63 75 6c 65 73 |parkyfs!|hercules|
|00000440| 21 61 70 70 6c 65 21 75 | 73 63 21 63 73 2e 75 74 |!apple!u|sc!cs.ut|
|00000450| 65 78 61 73 2e 65 64 75 | 21 75 75 6e 65 74 21 61 |exas.edu|!uunet!a|
|00000460| 6c 6c 62 65 72 79 20 4d | 6f 6e 20 4a 75 6e 20 31 |llbery M|on Jun 1|
|00000470| 38 20 31 31 3a 30 39 3a | 33 31 20 50 44 54 20 31 |8 11:09:|31 PDT 1|
|00000480| 39 39 30 0a 0a 50 6f 73 | 74 69 6e 67 2d 6e 75 6d |990..Pos|ting-num|
|00000490| 62 65 72 3a 20 56 6f 6c | 75 6d 65 20 31 33 2c 20 |ber: Vol|ume 13, |
|000004a0| 49 73 73 75 65 20 34 38 | 0a 53 75 62 6d 69 74 74 |Issue 48|.Submitt|
|000004b0| 65 64 2d 62 79 3a 20 64 | 64 73 40 63 63 2e 69 63 |ed-by: d|ds@cc.ic|
|000004c0| 2e 61 63 2e 75 6b 20 28 | 44 69 6f 6d 69 64 69 73 |.ac.uk (|Diomidis|
|000004d0| 20 53 70 69 6e 65 6c 6c | 69 73 29 0a 41 72 63 68 | Spinell|is).Arch|
|000004e0| 69 76 65 2d 6e 61 6d 65 | 3a 20 64 65 6c 74 61 63 |ive-name|: deltac|
|000004f0| 2f 70 61 72 74 30 31 0a | 0a 54 68 65 73 65 20 70 |/part01.|.These p|
|00000500| 72 6f 67 72 61 6d 73 20 | 63 6f 6d 70 72 65 73 73 |rograms |compress|
|00000510| 20 61 6e 64 20 75 6e 63 | 6f 6d 70 72 65 73 73 20 | and unc|ompress |
|00000520| 38 20 62 69 74 20 69 6d | 61 67 65 20 66 69 6c 65 |8 bit im|age file|
|00000530| 73 20 75 73 69 6e 67 20 | 64 65 6c 74 61 20 0a 6d |s using |delta .m|
|00000540| 6f 64 75 6c 61 74 69 6f | 6e 2e 20 20 54 68 65 20 |odulatio|n. The |
|00000550| 63 6f 6d 70 72 65 73 73 | 65 64 20 66 69 6c 65 20 |compress|ed file |
|00000560| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 64 69 66 |contains| the dif|
|00000570| 66 65 72 65 6e 63 65 20 | 6f 66 20 65 61 63 68 20 |ference |of each |
|00000580| 62 79 74 65 20 0a 66 72 | 6f 6d 20 74 68 65 20 70 |byte .fr|om the p|
|00000590| 72 65 76 69 6f 75 73 20 | 6f 6e 65 2c 20 63 6f 64 |revious |one, cod|
|000005a0| 65 64 20 69 6e 20 61 20 | 73 69 6e 67 6c 65 20 6e |ed in a |single n|
|000005b0| 69 62 62 6c 65 2e 20 20 | 54 68 65 20 70 72 6f 67 |ibble. |The prog|
|000005c0| 72 61 6d 73 20 61 63 68 | 69 65 76 65 0a 61 72 6f |rams ach|ieve.aro|
|000005d0| 75 6e 64 20 32 30 25 20 | 68 69 67 68 65 72 20 63 |und 20% |higher c|
|000005e0| 6f 6d 70 72 65 73 73 69 | 6f 6e 20 72 61 74 65 73 |ompressi|on rates|
|000005f0| 20 74 68 61 6e 20 2f 75 | 73 72 2f 75 63 62 2f 63 | than /u|sr/ucb/c|
|00000600| 6f 6d 70 72 65 73 73 20 | 6f 6e 20 38 20 62 69 74 |ompress |on 8 bit|
|00000610| 20 0a 67 72 61 79 20 73 | 63 61 6c 65 20 66 61 63 | .gray s|cale fac|
|00000620| 65 73 61 76 65 72 20 69 | 6d 61 67 65 73 2e 0a 0a |esaver i|mages...|
|00000630| 2d 2d 0a 44 69 6f 6d 69 | 64 69 73 20 53 70 69 6e |--.Diomi|dis Spin|
|00000640| 65 6c 6c 69 73 20 20 20 | 20 20 20 20 20 20 20 20 |ellis | |
|00000650| 20 20 20 20 20 20 20 49 | 6e 74 65 72 6e 65 74 3a | I|nternet:|
|00000660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000670| 20 64 64 73 40 63 63 2e | 69 63 2e 61 63 2e 75 6b | dds@cc.|ic.ac.uk|
|00000680| 0a 44 65 70 61 72 74 6d | 65 6e 74 20 6f 66 20 43 |.Departm|ent of C|
|00000690| 6f 6d 70 75 74 69 6e 67 | 20 20 20 20 20 20 20 20 |omputing| |
|000006a0| 20 20 20 20 20 55 55 43 | 50 3a 20 20 20 20 20 20 | UUC|P: |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2e 2e | | ..|
|000006c0| 2e 21 75 6b 63 21 69 63 | 63 63 21 64 64 73 0a 49 |.!ukc!ic|cc!dds.I|
|000006d0| 6d 70 65 72 69 61 6c 20 | 43 6f 6c 6c 65 67 65 20 |mperial |College |
|000006e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006f0| 20 20 20 4a 41 4e 45 54 | 3a 20 20 20 20 20 20 20 | JANET|: |
|00000700| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 64 64 73 | | dds|
|00000710| 40 75 6b 2e 61 63 2e 69 | 63 2e 63 63 0a 4c 6f 6e |@uk.ac.i|c.cc.Lon|
|00000720| 64 6f 6e 20 53 57 37 20 | 32 42 5a 20 20 20 20 20 |don SW7 |2BZ |
|00000730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000740| 20 23 69 6e 63 6c 75 64 | 65 20 22 2f 64 65 76 2f | #includ|e "/dev/|
|00000750| 74 74 79 22 0a 0a 00 00 | 00 00 00 00 00 00 00 00 |tty"....|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 64 65 6c 74 61 63 2f 52 | 45 41 44 4d 45 00 00 00 |deltac/R|EADME...|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 35 32 37 |.... 6|44 . 527|
|00000870| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00000880| 20 20 20 20 37 34 30 20 | 20 34 36 33 37 34 33 34 | 740 | 4637434|
|00000890| 37 32 37 20 20 20 36 32 | 37 31 00 20 00 00 00 00 |727 62|71. ....|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 54 68 65 73 65 20 70 72 | 6f 67 72 61 6d 73 20 63 |These pr|ograms c|
|00000a10| 6f 6d 70 72 65 73 73 20 | 61 6e 64 20 75 6e 63 6f |ompress |and unco|
|00000a20| 6d 70 72 65 73 73 20 38 | 20 62 69 74 20 69 6d 61 |mpress 8| bit ima|
|00000a30| 67 65 20 66 69 6c 65 73 | 20 75 73 69 6e 67 20 64 |ge files| using d|
|00000a40| 65 6c 74 61 20 0a 6d 6f | 64 75 6c 61 74 69 6f 6e |elta .mo|dulation|
|00000a50| 2e 20 20 54 68 65 20 63 | 6f 6d 70 72 65 73 73 65 |. The c|ompresse|
|00000a60| 64 20 66 69 6c 65 20 63 | 6f 6e 74 61 69 6e 73 20 |d file c|ontains |
|00000a70| 74 68 65 20 64 69 66 66 | 65 72 65 6e 63 65 20 6f |the diff|erence o|
|00000a80| 66 20 65 61 63 68 20 62 | 79 74 65 20 0a 66 72 6f |f each b|yte .fro|
|00000a90| 6d 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 6f |m the pr|evious o|
|00000aa0| 6e 65 2c 20 63 6f 64 65 | 64 20 69 6e 20 61 20 73 |ne, code|d in a s|
|00000ab0| 69 6e 67 6c 65 20 6e 69 | 62 62 6c 65 2e 20 20 49 |ingle ni|bble. I|
|00000ac0| 20 74 72 69 65 64 20 74 | 68 65 20 64 65 6c 74 61 | tried t|he delta|
|00000ad0| 20 0a 6d 6f 64 75 6c 61 | 74 69 6f 6e 20 70 72 6f | .modula|tion pro|
|00000ae0| 67 72 61 6d 73 2c 20 63 | 6f 6d 70 72 65 73 73 20 |grams, c|ompress |
|00000af0| 61 6e 64 20 70 61 63 6b | 20 6f 6e 20 61 20 32 35 |and pack| on a 25|
|00000b00| 36 20 2a 20 32 35 36 20 | 2a 20 38 20 67 72 61 79 |6 * 256 |* 8 gray|
|00000b10| 20 73 63 61 6c 65 20 0a | 70 69 63 74 75 72 65 20 | scale .|picture |
|00000b20| 6f 66 20 6d 65 2e 20 20 | 54 68 65 20 72 65 73 75 |of me. |The resu|
|00000b30| 6c 74 73 20 77 65 72 65 | 20 74 68 65 20 66 6f 6c |lts were| the fol|
|00000b40| 6c 6f 77 69 6e 67 3a 0a | 0a 4f 72 69 67 69 6e 61 |lowing:.|.Origina|
|00000b50| 6c 09 09 09 36 35 35 33 | 36 0a 2f 62 69 6e 2f 70 |l...6553|6./bin/p|
|00000b60| 61 63 6b 09 09 09 35 39 | 36 36 30 0a 2f 75 73 72 |ack...59|660./usr|
|00000b70| 2f 75 63 62 2f 63 6f 6d | 70 72 65 73 73 09 09 35 |/ucb/com|press..5|
|00000b80| 33 35 31 30 0a 64 65 6c | 74 61 63 09 09 09 09 34 |3510.del|tac....4|
|00000b90| 30 34 38 39 0a 0a 44 69 | 6f 6d 69 64 69 73 20 53 |0489..Di|omidis S|
|00000ba0| 70 69 6e 65 6c 6c 69 73 | 20 3c 64 64 73 40 63 63 |pinellis| <dds@cc|
|00000bb0| 2e 69 63 2e 61 63 2e 75 | 6b 3e 0a 4d 79 72 73 69 |.ic.ac.u|k>.Myrsi|
|00000bc0| 6e 69 73 20 31 0a 47 52 | 2d 31 34 35 20 36 32 20 |nis 1.GR|-145 62 |
|00000bd0| 4b 69 66 69 73 73 69 61 | 0a 47 52 45 45 43 45 0a |Kifissia|.GREECE.|
|00000be0| 6f 6d 70 72 65 73 73 69 | 6f 6e 20 72 61 74 65 73 |ompressi|on rates|
|00000bf0| 20 74 68 61 6e 20 2f 75 | 73 72 2f 75 63 62 2f 63 | than /u|sr/ucb/c|
|00000c00| 64 65 6c 74 61 63 2f 64 | 65 6c 74 61 63 2e 6c 00 |deltac/d|eltac.l.|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 35 32 37 |.... 6|44 . 527|
|00000c70| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00000c80| 20 20 20 32 37 37 33 20 | 20 34 36 33 37 34 33 34 | 2773 | 4637434|
|00000c90| 37 33 30 20 20 20 37 30 | 34 34 00 20 00 00 00 00 |730 70|44. ....|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 2e 5c 22 20 44 65 6c 74 | 61 63 20 64 65 6c 74 61 |.\" Delt|ac delta|
|00000e10| 75 0a 2e 5c 22 20 0a 2e | 5c 22 20 50 65 72 6d 69 |u..\" ..|\" Permi|
|00000e20| 73 73 69 6f 6e 20 74 6f | 20 75 73 65 2c 20 63 6f |ssion to| use, co|
|00000e30| 70 79 2c 20 61 6e 64 20 | 64 69 73 74 72 69 62 75 |py, and |distribu|
|00000e40| 74 65 20 74 68 69 73 20 | 73 6f 66 74 77 61 72 65 |te this |software|
|00000e50| 20 61 6e 64 20 69 74 73 | 0a 2e 5c 22 20 64 6f 63 | and its|..\" doc|
|00000e60| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 61 |umentati|on for a|
|00000e70| 6e 79 20 70 75 72 70 6f | 73 65 20 61 6e 64 20 77 |ny purpo|se and w|
|00000e80| 69 74 68 6f 75 74 20 66 | 65 65 20 69 73 20 68 65 |ithout f|ee is he|
|00000e90| 72 65 62 79 20 67 72 61 | 6e 74 65 64 2c 0a 2e 5c |reby gra|nted,..\|
|00000ea0| 22 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |" provid|ed that |
|00000eb0| 74 68 65 20 61 62 6f 76 | 65 20 63 6f 70 79 72 69 |the abov|e copyri|
|00000ec0| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |ght noti|ce appea|
|00000ed0| 72 20 69 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r in all| copies |
|00000ee0| 61 6e 64 20 74 68 61 74 | 0a 2e 5c 22 20 62 6f 74 |and that|..\" bot|
|00000ef0| 68 20 74 68 61 74 20 63 | 6f 70 79 72 69 67 68 74 |h that c|opyright|
|00000f00| 20 6e 6f 74 69 63 65 20 | 61 6e 64 20 74 68 69 73 | notice |and this|
|00000f10| 20 70 65 72 6d 69 73 73 | 69 6f 6e 20 6e 6f 74 69 | permiss|ion noti|
|00000f20| 63 65 20 61 70 70 65 61 | 72 20 69 6e 0a 2e 5c 22 |ce appea|r in..\"|
|00000f30| 20 73 75 70 70 6f 72 74 | 69 6e 67 20 64 6f 63 75 | support|ing docu|
|00000f40| 6d 65 6e 74 61 74 69 6f | 6e 2e 0a 2e 5c 22 20 0a |mentatio|n...\" .|
|00000f50| 2e 5c 22 20 54 48 49 53 | 20 53 4f 46 54 57 41 52 |.\" THIS| SOFTWAR|
|00000f60| 45 20 49 53 20 50 52 4f | 56 49 44 45 44 20 60 60 |E IS PRO|VIDED ``|
|00000f70| 41 53 20 49 53 27 27 20 | 41 4e 44 20 57 49 54 48 |AS IS'' |AND WITH|
|00000f80| 4f 55 54 20 41 4e 59 20 | 45 58 50 52 45 53 53 20 |OUT ANY |EXPRESS |
|00000f90| 4f 52 20 49 4d 50 4c 49 | 45 44 0a 2e 5c 22 20 57 |OR IMPLI|ED..\" W|
|00000fa0| 41 52 52 41 4e 54 49 45 | 53 2c 20 49 4e 43 4c 55 |ARRANTIE|S, INCLU|
|00000fb0| 44 49 4e 47 2c 20 57 49 | 54 48 4f 55 54 20 4c 49 |DING, WI|THOUT LI|
|00000fc0| 4d 49 54 41 54 49 4f 4e | 2c 20 54 48 45 20 49 4d |MITATION|, THE IM|
|00000fd0| 50 4c 49 45 44 20 57 41 | 52 52 41 4e 54 49 45 53 |PLIED WA|RRANTIES|
|00000fe0| 20 4f 46 0a 2e 5c 22 20 | 4d 45 52 43 48 41 4e 54 | OF..\" |MERCHANT|
|00000ff0| 49 42 49 4c 49 54 59 20 | 41 4e 44 20 46 49 54 4e |IBILITY |AND FITN|
|00001000| 45 53 53 20 46 4f 52 20 | 41 20 50 41 52 54 49 43 |ESS FOR |A PARTIC|
|00001010| 55 4c 41 52 20 50 55 52 | 50 4f 53 45 2e 0a 2e 5c |ULAR PUR|POSE...\|
|00001020| 22 20 0a 2e 54 48 20 44 | 45 4c 54 41 43 20 4c 20 |" ..TH D|ELTAC L |
|00001030| 22 37 20 4a 75 6e 65 20 | 31 39 39 30 22 0a 2e 53 |"7 June |1990"..S|
|00001040| 48 20 4e 41 4d 45 0a 64 | 65 6c 74 61 63 2c 20 64 |H NAME.d|eltac, d|
|00001050| 65 6c 74 61 75 20 5c 2d | 20 63 6f 6d 70 72 65 73 |eltau \-| compres|
|00001060| 73 20 61 6e 64 20 65 78 | 70 61 6e 64 20 75 73 69 |s and ex|pand usi|
|00001070| 6e 67 20 64 65 6c 74 61 | 20 6d 6f 64 75 6c 61 74 |ng delta| modulat|
|00001080| 69 6f 6e 0a 2e 53 48 20 | 53 59 4e 4f 50 53 49 53 |ion..SH |SYNOPSIS|
|00001090| 0a 2e 42 20 64 65 6c 74 | 61 63 0a 2e 49 52 20 6e |..B delt|ac..IR n|
|000010a0| 6f 20 6f 70 74 69 6f 6e | 73 0a 2e 4c 50 0a 2e 42 |o option|s..LP..B|
|000010b0| 20 64 65 6c 74 61 75 0a | 2e 49 52 20 6e 6f 20 6f | deltau.|.IR no o|
|000010c0| 70 74 69 6f 6e 73 0a 2e | 53 48 20 44 45 53 43 52 |ptions..|SH DESCR|
|000010d0| 49 50 54 49 4f 4e 0a 2e | 42 20 44 65 6c 74 61 63 |IPTION..|B Deltac|
|000010e0| 0a 63 6f 6d 70 72 65 73 | 73 65 73 20 65 69 67 68 |.compres|ses eigh|
|000010f0| 74 20 62 69 74 20 64 61 | 74 61 20 66 72 6f 6d 20 |t bit da|ta from |
|00001100| 73 74 61 6e 64 61 72 64 | 20 69 6e 70 75 74 20 74 |standard| input t|
|00001110| 6f 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 6f |o the st|andard o|
|00001120| 75 74 70 75 74 0a 75 73 | 69 6e 67 20 64 65 6c 74 |utput.us|ing delt|
|00001130| 61 20 6d 6f 64 75 6c 61 | 74 69 6f 6e 2e 20 20 45 |a modula|tion. E|
|00001140| 61 63 68 20 62 79 74 65 | 20 69 73 20 73 74 6f 72 |ach byte| is stor|
|00001150| 65 64 20 61 73 20 66 6f | 75 72 20 62 69 74 73 20 |ed as fo|ur bits |
|00001160| 69 66 20 74 68 65 20 61 | 62 73 6f 6c 75 74 65 0a |if the a|bsolute.|
|00001170| 76 61 6c 75 65 20 6f 66 | 20 69 74 73 20 64 69 66 |value of| its dif|
|00001180| 66 65 72 65 6e 63 65 20 | 66 72 6f 6d 20 61 20 72 |ference |from a r|
|00001190| 75 6e 6e 69 6e 67 20 76 | 61 6c 75 65 20 69 73 20 |unning v|alue is |
|000011a0| 6c 65 73 73 20 74 68 61 | 6e 20 38 2e 0a 54 68 69 |less tha|n 8..Thi|
|000011b0| 73 20 74 65 63 68 6e 69 | 71 75 65 20 68 61 73 20 |s techni|que has |
|000011c0| 70 72 6f 76 65 6e 20 74 | 6f 20 62 65 20 6d 6f 72 |proven t|o be mor|
|000011d0| 65 20 65 66 66 65 63 74 | 69 76 65 20 74 68 61 6e |e effect|ive than|
|000011e0| 20 5c 66 49 63 6f 6d 70 | 72 65 73 73 28 31 29 5c | \fIcomp|ress(1)\|
|000011f0| 66 50 0a 6f 72 20 5c 66 | 49 70 61 63 6b 28 31 29 |fP.or \f|Ipack(1)|
|00001200| 5c 66 50 20 66 6f 72 20 | 38 20 62 69 74 20 67 72 |\fP for |8 bit gr|
|00001210| 65 79 20 6c 65 76 65 6c | 20 67 72 61 70 68 69 63 |ey level| graphic|
|00001220| 73 20 69 6d 61 67 65 73 | 2e 20 20 49 74 20 63 6f |s images|. It co|
|00001230| 75 6c 64 20 61 6c 73 6f | 0a 77 6f 72 6b 20 6f 6e |uld also|.work on|
|00001240| 20 32 34 20 62 69 74 20 | 63 6f 6c 6f 75 72 20 69 | 24 bit |colour i|
|00001250| 6d 61 67 65 73 20 69 66 | 20 65 61 63 68 20 70 6c |mages if| each pl|
|00001260| 61 6e 65 20 69 73 20 73 | 74 6f 72 65 64 20 73 65 |ane is s|tored se|
|00001270| 70 61 72 61 74 65 6c 79 | 2e 20 20 46 6f 72 0a 61 |parately|. For.a|
|00001280| 6e 79 20 6f 74 68 65 72 | 20 64 61 74 61 20 74 68 |ny other| data th|
|00001290| 65 20 73 69 7a 65 20 77 | 69 6c 6c 20 70 72 6f 62 |e size w|ill prob|
|000012a0| 61 62 6c 79 20 69 6e 63 | 72 65 61 73 65 2e 0a 2e |ably inc|rease...|
|000012b0| 4c 50 0a 2e 42 20 44 65 | 6c 74 61 75 0a 72 65 61 |LP..B De|ltau.rea|
|000012c0| 64 73 20 64 61 74 61 20 | 63 6f 6d 70 72 65 73 73 |ds data |compress|
|000012d0| 65 64 20 70 72 6f 64 75 | 63 65 64 20 62 79 0a 2e |ed produ|ced by..|
|000012e0| 42 20 64 65 6c 74 61 63 | 0a 66 72 6f 6d 20 74 68 |B deltac|.from th|
|000012f0| 65 20 73 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |e standa|rd input|
|00001300| 20 61 6e 64 20 6f 75 74 | 70 75 74 73 20 74 68 65 | and out|puts the|
|00001310| 20 75 6e 63 6f 6d 70 72 | 65 73 73 65 64 20 64 61 | uncompr|essed da|
|00001320| 74 61 20 6f 6e 0a 73 74 | 61 6e 64 61 72 64 20 6f |ta on.st|andard o|
|00001330| 75 74 70 75 74 2e 0a 2e | 53 48 20 44 49 41 47 4e |utput...|SH DIAGN|
|00001340| 4f 53 54 49 43 53 0a 42 | 6f 74 68 20 70 72 6f 67 |OSTICS.B|oth prog|
|00001350| 72 61 6d 73 20 77 69 6c | 6c 20 74 65 72 6d 69 6e |rams wil|l termin|
|00001360| 61 74 65 20 77 69 74 68 | 20 61 6e 20 65 72 72 6f |ate with| an erro|
|00001370| 72 20 69 66 20 74 68 65 | 79 20 66 61 69 6c 20 6f |r if the|y fail o|
|00001380| 6e 20 77 72 69 74 69 6e | 67 0a 6f 6e 20 73 74 61 |n writin|g.on sta|
|00001390| 6e 64 61 72 64 20 6f 75 | 74 70 75 74 2e 0a 2e 53 |ndard ou|tput...S|
|000013a0| 48 20 41 55 54 48 4f 52 | 0a 44 69 6f 6d 69 64 69 |H AUTHOR|.Diomidi|
|000013b0| 73 20 53 70 69 6e 65 6c | 6c 69 73 20 3c 64 64 73 |s Spinel|lis <dds|
|000013c0| 40 63 63 2e 69 63 2e 61 | 63 2e 75 6b 3e 0a 2e 53 |@cc.ic.a|c.uk>..S|
|000013d0| 48 20 22 53 45 45 20 41 | 4c 53 4f 22 0a 2e 42 52 |H "SEE A|LSO"..BR|
|000013e0| 20 63 6f 6d 70 72 65 73 | 73 20 28 31 29 0a 2e 42 | compres|s (1)..B|
|000013f0| 52 20 70 61 63 6b 20 28 | 31 29 0a 00 00 00 00 00 |R pack (|1)......|
|00001400| 64 65 6c 74 61 63 2f 64 | 65 6c 74 61 63 2e 63 00 |deltac/d|eltac.c.|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 35 32 37 |.... 6|44 . 527|
|00001470| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00001480| 20 20 20 33 33 32 31 20 | 20 34 36 33 37 34 33 34 | 3321 | 4637434|
|00001490| 37 33 30 20 20 20 37 30 | 32 31 00 20 00 00 00 00 |730 70|21. ....|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 2f 2a 20 0a 20 2a 20 44 | 65 6c 74 61 20 6d 6f 64 |/* . * D|elta mod|
|00001610| 75 6c 61 74 69 6f 6e 20 | 75 6e 63 6f 6d 70 72 65 |ulation |uncompre|
|00001620| 73 73 0a 20 2a 0a 20 2a | 20 28 43 29 20 43 6f 70 |ss. *. *| (C) Cop|
|00001630| 79 72 69 67 68 74 20 31 | 39 38 39 2c 20 31 39 39 |yright 1|989, 199|
|00001640| 30 20 44 69 6f 6d 69 64 | 69 73 20 53 70 69 6e 65 |0 Diomid|is Spine|
|00001650| 6c 6c 69 73 2e 20 20 41 | 6c 6c 20 72 69 67 68 74 |llis. A|ll right|
|00001660| 73 20 72 65 73 65 72 76 | 65 64 2e 0a 20 2a 20 0a |s reserv|ed.. * .|
|00001670| 20 2a 20 24 48 65 61 64 | 65 72 3a 20 64 65 6c 74 | * $Head|er: delt|
|00001680| 61 63 2e 63 2c 76 20 31 | 2e 31 20 39 30 2f 30 36 |ac.c,v 1|.1 90/06|
|00001690| 2f 30 38 20 32 32 3a 31 | 33 3a 34 32 20 64 64 73 |/08 22:1|3:42 dds|
|000016a0| 20 52 65 6c 20 24 0a 20 | 2a 0a 20 2a 20 50 65 72 | Rel $. |*. * Per|
|000016b0| 6d 69 73 73 69 6f 6e 20 | 74 6f 20 75 73 65 2c 20 |mission |to use, |
|000016c0| 63 6f 70 79 2c 20 61 6e | 64 20 64 69 73 74 72 69 |copy, an|d distri|
|000016d0| 62 75 74 65 20 74 68 69 | 73 20 73 6f 66 74 77 61 |bute thi|s softwa|
|000016e0| 72 65 20 61 6e 64 20 69 | 74 73 0a 20 2a 20 64 6f |re and i|ts. * do|
|000016f0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00001700| 61 6e 79 20 70 75 72 70 | 6f 73 65 20 61 6e 64 20 |any purp|ose and |
|00001710| 77 69 74 68 6f 75 74 20 | 66 65 65 20 69 73 20 68 |without |fee is h|
|00001720| 65 72 65 62 79 20 67 72 | 61 6e 74 65 64 2c 0a 20 |ereby gr|anted,. |
|00001730| 2a 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |* provid|ed that |
|00001740| 74 68 65 20 61 62 6f 76 | 65 20 63 6f 70 79 72 69 |the abov|e copyri|
|00001750| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |ght noti|ce appea|
|00001760| 72 20 69 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r in all| copies |
|00001770| 61 6e 64 20 74 68 61 74 | 0a 20 2a 20 62 6f 74 68 |and that|. * both|
|00001780| 20 74 68 61 74 20 63 6f | 70 79 72 69 67 68 74 20 | that co|pyright |
|00001790| 6e 6f 74 69 63 65 20 61 | 6e 64 20 74 68 69 73 20 |notice a|nd this |
|000017a0| 70 65 72 6d 69 73 73 69 | 6f 6e 20 6e 6f 74 69 63 |permissi|on notic|
|000017b0| 65 20 61 70 70 65 61 72 | 20 69 6e 0a 20 2a 20 73 |e appear| in. * s|
|000017c0| 75 70 70 6f 72 74 69 6e | 67 20 64 6f 63 75 6d 65 |upportin|g docume|
|000017d0| 6e 74 61 74 69 6f 6e 2e | 0a 20 2a 20 0a 20 2a 20 |ntation.|. * . * |
|000017e0| 54 48 49 53 20 53 4f 46 | 54 57 41 52 45 20 49 53 |THIS SOF|TWARE IS|
|000017f0| 20 50 52 4f 56 49 44 45 | 44 20 60 60 41 53 20 49 | PROVIDE|D ``AS I|
|00001800| 53 27 27 20 41 4e 44 20 | 57 49 54 48 4f 55 54 20 |S'' AND |WITHOUT |
|00001810| 41 4e 59 20 45 58 50 52 | 45 53 53 20 4f 52 20 49 |ANY EXPR|ESS OR I|
|00001820| 4d 50 4c 49 45 44 0a 20 | 2a 20 57 41 52 52 41 4e |MPLIED. |* WARRAN|
|00001830| 54 49 45 53 2c 20 49 4e | 43 4c 55 44 49 4e 47 2c |TIES, IN|CLUDING,|
|00001840| 20 57 49 54 48 4f 55 54 | 20 4c 49 4d 49 54 41 54 | WITHOUT| LIMITAT|
|00001850| 49 4f 4e 2c 20 54 48 45 | 20 49 4d 50 4c 49 45 44 |ION, THE| IMPLIED|
|00001860| 20 57 41 52 52 41 4e 54 | 49 45 53 20 4f 46 0a 20 | WARRANT|IES OF. |
|00001870| 2a 20 4d 45 52 43 48 41 | 4e 54 49 42 49 4c 49 54 |* MERCHA|NTIBILIT|
|00001880| 59 20 41 4e 44 20 46 49 | 54 4e 45 53 53 20 46 4f |Y AND FI|TNESS FO|
|00001890| 52 20 41 20 50 41 52 54 | 49 43 55 4c 41 52 20 50 |R A PART|ICULAR P|
|000018a0| 55 52 50 4f 53 45 2e 0a | 20 2a 0a 20 2a 2f 0a 0a |URPOSE..| *. */..|
|000018b0| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 74 64 69 6f |.#includ|e <stdio|
|000018c0| 2e 68 3e 0a 0a 23 69 66 | 6e 64 65 66 20 6c 69 6e |.h>..#if|ndef lin|
|000018d0| 74 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 52 43 |t.static| char RC|
|000018e0| 53 69 64 5b 5d 20 3d 20 | 22 24 48 65 61 64 65 72 |Sid[] = |"$Header|
|000018f0| 3a 20 64 65 6c 74 61 63 | 2e 63 2c 76 20 31 2e 31 |: deltac|.c,v 1.1|
|00001900| 20 39 30 2f 30 36 2f 30 | 38 20 32 32 3a 31 33 3a | 90/06/0|8 22:13:|
|00001910| 34 32 20 64 64 73 20 52 | 65 6c 20 24 22 3b 0a 23 |42 dds R|el $";.#|
|00001920| 65 6e 64 69 66 0a 0a 73 | 74 61 74 69 63 20 70 72 |endif..s|tatic pr|
|00001930| 65 76 2c 20 73 74 6f 72 | 65 64 3b 0a 0a 23 69 66 |ev, stor|ed;..#if|
|00001940| 64 65 66 20 53 4c 4f 57 | 0a 76 6f 69 64 0a 70 75 |def SLOW|.void.pu|
|00001950| 74 6e 69 62 28 78 29 0a | 09 69 6e 74 20 78 3b 0a |tnib(x).|.int x;.|
|00001960| 7b 0a 0a 09 69 66 20 28 | 73 74 6f 72 65 64 29 20 |{...if (|stored) |
|00001970| 7b 0a 09 09 69 66 20 28 | 70 75 74 63 68 61 72 28 |{...if (|putchar(|
|00001980| 70 72 65 76 20 7c 20 28 | 78 20 26 20 30 78 66 29 |prev | (|x & 0xf)|
|00001990| 29 20 3d 3d 20 45 4f 46 | 29 20 7b 0a 09 09 09 70 |) == EOF|) {....p|
|000019a0| 65 72 72 6f 72 28 22 3c | 73 74 64 6f 75 74 3e 22 |error("<|stdout>"|
|000019b0| 29 3b 0a 09 09 09 65 78 | 69 74 28 31 29 3b 0a 09 |);....ex|it(1);..|
|000019c0| 09 7d 0a 09 09 73 74 6f | 72 65 64 20 3d 20 30 3b |.}...sto|red = 0;|
|000019d0| 0a 09 7d 20 65 6c 73 65 | 20 7b 0a 09 09 70 72 65 |..} else| {...pre|
|000019e0| 76 20 3d 20 78 20 3c 3c | 20 34 3b 0a 09 09 73 74 |v = x <<| 4;...st|
|000019f0| 6f 72 65 64 20 3d 20 31 | 3b 0a 09 7d 0a 7d 0a 23 |ored = 1|;..}.}.#|
|00001a00| 65 6c 73 65 0a 23 64 65 | 66 69 6e 65 20 70 75 74 |else.#de|fine put|
|00001a10| 6e 69 62 28 78 29 20 5c | 0a 64 6f 20 7b 20 5c 0a |nib(x) \|.do { \.|
|00001a20| 09 69 66 20 28 73 74 6f | 72 65 64 29 20 7b 20 5c |.if (sto|red) { \|
|00001a30| 0a 09 09 69 66 20 28 70 | 75 74 63 68 61 72 28 70 |...if (p|utchar(p|
|00001a40| 72 65 76 20 7c 20 28 78 | 20 26 20 30 78 66 29 29 |rev | (x| & 0xf))|
|00001a50| 20 3d 3d 20 45 4f 46 29 | 20 7b 20 5c 0a 09 09 09 | == EOF)| { \....|
|00001a60| 70 65 72 72 6f 72 28 22 | 3c 73 74 64 6f 75 74 3e |perror("|<stdout>|
|00001a70| 22 29 3b 20 5c 0a 09 09 | 09 65 78 69 74 28 31 29 |"); \...|.exit(1)|
|00001a80| 3b 20 5c 0a 09 09 7d 20 | 5c 0a 09 09 73 74 6f 72 |; \...} |\...stor|
|00001a90| 65 64 20 3d 20 30 3b 20 | 5c 0a 09 7d 20 65 6c 73 |ed = 0; |\..} els|
|00001aa0| 65 20 7b 20 5c 0a 09 09 | 70 72 65 76 20 3d 20 28 |e { \...|prev = (|
|00001ab0| 78 29 20 3c 3c 20 34 3b | 20 5c 0a 09 09 73 74 6f |x) << 4;| \...sto|
|00001ac0| 72 65 64 20 3d 20 31 3b | 20 5c 0a 09 7d 20 5c 0a |red = 1;| \..} \.|
|00001ad0| 7d 20 77 68 69 6c 65 28 | 30 29 0a 23 65 6e 64 69 |} while(|0).#endi|
|00001ae0| 66 0a 0a 76 6f 69 64 0a | 66 6c 75 73 68 6e 69 62 |f..void.|flushnib|
|00001af0| 28 29 0a 7b 0a 09 69 66 | 20 28 73 74 6f 72 65 64 |().{..if| (stored|
|00001b00| 29 0a 09 09 69 66 20 28 | 70 75 74 63 68 61 72 28 |)...if (|putchar(|
|00001b10| 70 72 65 76 20 7c 20 38 | 29 20 3d 3d 20 45 4f 46 |prev | 8|) == EOF|
|00001b20| 29 20 7b 0a 09 09 09 70 | 65 72 72 6f 72 28 22 3c |) {....p|error("<|
|00001b30| 73 74 64 6f 75 74 3e 22 | 29 3b 0a 09 09 09 65 78 |stdout>"|);....ex|
|00001b40| 69 74 28 31 29 3b 0a 09 | 09 7d 0a 7d 0a 0a 0a 6d |it(1);..|.}.}...m|
|00001b50| 61 69 6e 28 61 72 67 63 | 2c 20 61 72 67 76 29 0a |ain(argc|, argv).|
|00001b60| 09 69 6e 74 20 61 72 67 | 63 3b 0a 09 63 68 61 72 |.int arg|c;..char|
|00001b70| 20 2a 61 72 67 76 5b 5d | 3b 0a 7b 0a 09 72 65 67 | *argv[]|;.{..reg|
|00001b80| 69 73 74 65 72 20 63 2c | 20 63 70 20 3d 20 32 35 |ister c,| cp = 25|
|00001b90| 36 2c 20 64 65 6c 74 61 | 3b 0a 0a 09 69 66 20 28 |6, delta|;...if (|
|00001ba0| 61 72 67 63 20 21 3d 20 | 31 29 20 7b 0a 09 09 66 |argc != |1) {...f|
|00001bb0| 70 72 69 6e 74 66 28 73 | 74 64 65 72 72 2c 20 22 |printf(s|tderr, "|
|00001bc0| 25 73 3a 20 75 73 61 67 | 65 20 25 73 5c 6e 22 2c |%s: usag|e %s\n",|
|00001bd0| 20 61 72 67 76 5b 31 5d | 29 3b 0a 09 09 65 78 69 | argv[1]|);...exi|
|00001be0| 74 28 31 29 3b 0a 09 7d | 0a 09 77 68 69 6c 65 28 |t(1);..}|..while(|
|00001bf0| 28 63 20 3d 20 67 65 74 | 63 68 61 72 28 29 29 20 |(c = get|char()) |
|00001c00| 21 3d 20 45 4f 46 29 20 | 7b 0a 09 09 64 65 6c 74 |!= EOF) |{...delt|
|00001c10| 61 20 3d 20 63 20 2d 20 | 63 70 3b 0a 09 09 69 66 |a = c - |cp;...if|
|00001c20| 20 28 64 65 6c 74 61 20 | 3e 20 37 20 7c 7c 20 64 | (delta |> 7 || d|
|00001c30| 65 6c 74 61 20 3c 20 2d | 37 29 20 7b 0a 09 09 09 |elta < -|7) {....|
|00001c40| 70 75 74 6e 69 62 28 38 | 29 3b 0a 09 09 09 70 75 |putnib(8|);....pu|
|00001c50| 74 6e 69 62 28 63 20 3e | 3e 20 34 29 3b 0a 09 09 |tnib(c >|> 4);...|
|00001c60| 09 70 75 74 6e 69 62 28 | 63 29 3b 0a 09 09 7d 20 |.putnib(|c);...} |
|00001c70| 65 6c 73 65 20 69 66 20 | 28 64 65 6c 74 61 20 3e |else if |(delta >|
|00001c80| 3d 20 30 29 0a 09 09 09 | 70 75 74 6e 69 62 28 64 |= 0)....|putnib(d|
|00001c90| 65 6c 74 61 29 3b 0a 09 | 09 65 6c 73 65 0a 09 09 |elta);..|.else...|
|00001ca0| 09 70 75 74 6e 69 62 28 | 38 20 7c 20 2d 64 65 6c |.putnib(|8 | -del|
|00001cb0| 74 61 29 3b 0a 09 09 63 | 70 20 3d 20 63 3b 0a 09 |ta);...c|p = c;..|
|00001cc0| 7d 0a 09 66 6c 75 73 68 | 6e 69 62 28 29 3b 0a 7d |}..flush|nib();.}|
|00001cd0| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 64 65 6c 74 61 63 2f 64 | 65 6c 74 61 75 2e 63 00 |deltac/d|eltau.c.|
|00001e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e60| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 35 32 37 |.... 6|44 . 527|
|00001e70| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00001e80| 20 20 20 33 34 30 35 20 | 20 34 36 33 37 34 33 34 | 3405 | 4637434|
|00001e90| 37 33 31 20 20 20 37 30 | 34 37 00 20 00 00 00 00 |731 70|47. ....|
|00001ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 2f 2a 20 0a 20 2a 20 44 | 65 6c 74 61 20 6d 6f 64 |/* . * D|elta mod|
|00002010| 75 6c 61 74 69 6f 6e 20 | 75 6e 63 6f 6d 70 72 65 |ulation |uncompre|
|00002020| 73 73 0a 20 2a 0a 20 2a | 20 28 43 29 20 43 6f 70 |ss. *. *| (C) Cop|
|00002030| 79 72 69 67 68 74 20 31 | 39 38 39 2c 20 31 39 39 |yright 1|989, 199|
|00002040| 30 20 44 69 6f 6d 69 64 | 69 73 20 53 70 69 6e 65 |0 Diomid|is Spine|
|00002050| 6c 6c 69 73 2e 20 20 41 | 6c 6c 20 72 69 67 68 74 |llis. A|ll right|
|00002060| 73 20 72 65 73 65 72 76 | 65 64 2e 0a 20 2a 20 0a |s reserv|ed.. * .|
|00002070| 20 2a 20 24 48 65 61 64 | 65 72 3a 20 64 65 6c 74 | * $Head|er: delt|
|00002080| 61 75 2e 63 2c 76 20 31 | 2e 31 20 39 30 2f 30 36 |au.c,v 1|.1 90/06|
|00002090| 2f 30 38 20 32 32 3a 31 | 33 3a 35 30 20 64 64 73 |/08 22:1|3:50 dds|
|000020a0| 20 52 65 6c 20 24 0a 20 | 2a 0a 20 2a 20 50 65 72 | Rel $. |*. * Per|
|000020b0| 6d 69 73 73 69 6f 6e 20 | 74 6f 20 75 73 65 2c 20 |mission |to use, |
|000020c0| 63 6f 70 79 2c 20 61 6e | 64 20 64 69 73 74 72 69 |copy, an|d distri|
|000020d0| 62 75 74 65 20 74 68 69 | 73 20 73 6f 66 74 77 61 |bute thi|s softwa|
|000020e0| 72 65 20 61 6e 64 20 69 | 74 73 0a 20 2a 20 64 6f |re and i|ts. * do|
|000020f0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00002100| 61 6e 79 20 70 75 72 70 | 6f 73 65 20 61 6e 64 20 |any purp|ose and |
|00002110| 77 69 74 68 6f 75 74 20 | 66 65 65 20 69 73 20 68 |without |fee is h|
|00002120| 65 72 65 62 79 20 67 72 | 61 6e 74 65 64 2c 0a 20 |ereby gr|anted,. |
|00002130| 2a 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |* provid|ed that |
|00002140| 74 68 65 20 61 62 6f 76 | 65 20 63 6f 70 79 72 69 |the abov|e copyri|
|00002150| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |ght noti|ce appea|
|00002160| 72 20 69 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r in all| copies |
|00002170| 61 6e 64 20 74 68 61 74 | 0a 20 2a 20 62 6f 74 68 |and that|. * both|
|00002180| 20 74 68 61 74 20 63 6f | 70 79 72 69 67 68 74 20 | that co|pyright |
|00002190| 6e 6f 74 69 63 65 20 61 | 6e 64 20 74 68 69 73 20 |notice a|nd this |
|000021a0| 70 65 72 6d 69 73 73 69 | 6f 6e 20 6e 6f 74 69 63 |permissi|on notic|
|000021b0| 65 20 61 70 70 65 61 72 | 20 69 6e 0a 20 2a 20 73 |e appear| in. * s|
|000021c0| 75 70 70 6f 72 74 69 6e | 67 20 64 6f 63 75 6d 65 |upportin|g docume|
|000021d0| 6e 74 61 74 69 6f 6e 2e | 0a 20 2a 20 0a 20 2a 20 |ntation.|. * . * |
|000021e0| 54 48 49 53 20 53 4f 46 | 54 57 41 52 45 20 49 53 |THIS SOF|TWARE IS|
|000021f0| 20 50 52 4f 56 49 44 45 | 44 20 60 60 41 53 20 49 | PROVIDE|D ``AS I|
|00002200| 53 27 27 20 41 4e 44 20 | 57 49 54 48 4f 55 54 20 |S'' AND |WITHOUT |
|00002210| 41 4e 59 20 45 58 50 52 | 45 53 53 20 4f 52 20 49 |ANY EXPR|ESS OR I|
|00002220| 4d 50 4c 49 45 44 0a 20 | 2a 20 57 41 52 52 41 4e |MPLIED. |* WARRAN|
|00002230| 54 49 45 53 2c 20 49 4e | 43 4c 55 44 49 4e 47 2c |TIES, IN|CLUDING,|
|00002240| 20 57 49 54 48 4f 55 54 | 20 4c 49 4d 49 54 41 54 | WITHOUT| LIMITAT|
|00002250| 49 4f 4e 2c 20 54 48 45 | 20 49 4d 50 4c 49 45 44 |ION, THE| IMPLIED|
|00002260| 20 57 41 52 52 41 4e 54 | 49 45 53 20 4f 46 0a 20 | WARRANT|IES OF. |
|00002270| 2a 20 4d 45 52 43 48 41 | 4e 54 49 42 49 4c 49 54 |* MERCHA|NTIBILIT|
|00002280| 59 20 41 4e 44 20 46 49 | 54 4e 45 53 53 20 46 4f |Y AND FI|TNESS FO|
|00002290| 52 20 41 20 50 41 52 54 | 49 43 55 4c 41 52 20 50 |R A PART|ICULAR P|
|000022a0| 55 52 50 4f 53 45 2e 0a | 20 2a 0a 20 2a 2f 0a 0a |URPOSE..| *. */..|
|000022b0| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 64 69 6f 2e |#include| <stdio.|
|000022c0| 68 3e 0a 0a 23 69 66 6e | 64 65 66 20 6c 69 6e 74 |h>..#ifn|def lint|
|000022d0| 0a 73 74 61 74 69 63 20 | 63 68 61 72 20 52 43 53 |.static |char RCS|
|000022e0| 69 64 5b 5d 20 3d 20 22 | 24 48 65 61 64 65 72 3a |id[] = "|$Header:|
|000022f0| 20 64 65 6c 74 61 75 2e | 63 2c 76 20 31 2e 31 20 | deltau.|c,v 1.1 |
|00002300| 39 30 2f 30 36 2f 30 38 | 20 32 32 3a 31 33 3a 35 |90/06/08| 22:13:5|
|00002310| 30 20 64 64 73 20 52 65 | 6c 20 24 22 3b 0a 23 65 |0 dds Re|l $";.#e|
|00002320| 6e 64 69 66 0a 0a 73 74 | 61 74 69 63 20 70 72 65 |ndif..st|atic pre|
|00002330| 76 2c 20 73 74 6f 72 65 | 64 3b 0a 0a 23 69 66 64 |v, store|d;..#ifd|
|00002340| 65 66 20 53 4c 4f 57 0a | 69 6e 74 0a 67 65 74 6e |ef SLOW.|int.getn|
|00002350| 69 62 28 29 0a 7b 0a 09 | 69 66 20 28 73 74 6f 72 |ib().{..|if (stor|
|00002360| 65 64 29 20 7b 0a 09 09 | 73 74 6f 72 65 64 20 3d |ed) {...|stored =|
|00002370| 20 30 3b 0a 09 09 72 65 | 74 75 72 6e 20 70 72 65 | 0;...re|turn pre|
|00002380| 76 20 26 20 30 78 66 3b | 0a 09 7d 20 65 6c 73 65 |v & 0xf;|..} else|
|00002390| 20 7b 0a 09 09 69 66 20 | 28 28 70 72 65 76 20 3d | {...if |((prev =|
|000023a0| 20 67 65 74 63 68 61 72 | 28 29 29 20 3d 3d 20 45 | getchar|()) == E|
|000023b0| 4f 46 29 0a 09 09 09 65 | 78 69 74 28 30 29 3b 0a |OF)....e|xit(0);.|
|000023c0| 09 09 65 6c 73 65 20 7b | 0a 09 09 09 73 74 6f 72 |..else {|....stor|
|000023d0| 65 64 20 3d 20 31 3b 0a | 09 09 09 72 65 74 75 72 |ed = 1;.|...retur|
|000023e0| 6e 20 70 72 65 76 20 3e | 3e 20 34 3b 0a 09 09 7d |n prev >|> 4;...}|
|000023f0| 0a 09 7d 0a 7d 0a 23 65 | 6c 73 65 0a 23 64 65 66 |..}.}.#e|lse.#def|
|00002400| 69 6e 65 20 67 65 74 6e | 69 62 28 29 20 5c 0a 28 |ine getn|ib() \.(|
|00002410| 20 5c 0a 09 28 73 74 6f | 72 65 64 29 20 3f 20 28 | \..(sto|red) ? (|
|00002420| 20 5c 0a 09 09 73 74 6f | 72 65 64 20 3d 20 30 2c | \...sto|red = 0,|
|00002430| 20 5c 0a 09 09 70 72 65 | 76 20 26 20 30 78 66 20 | \...pre|v & 0xf |
|00002440| 5c 0a 09 29 20 3a 20 28 | 20 5c 0a 09 09 28 28 70 |\..) : (| \...((p|
|00002450| 72 65 76 20 3d 20 67 65 | 74 63 68 61 72 28 29 29 |rev = ge|tchar())|
|00002460| 20 3d 3d 20 45 4f 46 29 | 20 3f 20 5c 0a 09 09 09 | == EOF)| ? \....|
|00002470| 65 78 69 74 28 30 29 20 | 5c 0a 09 09 3a 20 28 20 |exit(0) |\...: ( |
|00002480| 5c 0a 09 09 09 73 74 6f | 72 65 64 20 3d 20 31 2c |\....sto|red = 1,|
|00002490| 20 5c 0a 09 09 09 70 72 | 65 76 20 3e 3e 20 34 20 | \....pr|ev >> 4 |
|000024a0| 5c 0a 09 09 29 20 5c 0a | 09 29 20 5c 0a 29 0a 23 |\...) \.|.) \.).#|
|000024b0| 65 6e 64 69 66 0a 0a 6d | 61 69 6e 28 61 72 67 63 |endif..m|ain(argc|
|000024c0| 2c 20 61 72 67 76 29 0a | 09 69 6e 74 20 61 72 67 |, argv).|.int arg|
|000024d0| 63 3b 0a 09 63 68 61 72 | 20 2a 61 72 67 76 5b 5d |c;..char| *argv[]|
|000024e0| 3b 0a 7b 0a 09 72 65 67 | 69 73 74 65 72 20 63 2c |;.{..reg|ister c,|
|000024f0| 20 63 6e 3b 0a 0a 09 69 | 66 20 28 61 72 67 63 20 | cn;...i|f (argc |
|00002500| 21 3d 20 31 29 20 7b 0a | 09 09 66 70 72 69 6e 74 |!= 1) {.|..fprint|
|00002510| 66 28 73 74 64 65 72 72 | 2c 20 22 25 73 3a 20 75 |f(stderr|, "%s: u|
|00002520| 73 61 67 65 20 25 73 5c | 6e 22 2c 20 61 72 67 76 |sage %s\|n", argv|
|00002530| 5b 31 5d 29 3b 0a 09 09 | 65 78 69 74 28 31 29 3b |[1]);...|exit(1);|
|00002540| 0a 09 7d 0a 09 66 6f 72 | 28 3b 3b 29 20 7b 0a 09 |..}..for|(;;) {..|
|00002550| 09 73 77 69 74 63 68 20 | 28 63 20 3d 20 67 65 74 |.switch |(c = get|
|00002560| 6e 69 62 28 29 29 20 7b | 0a 09 09 63 61 73 65 20 |nib()) {|...case |
|00002570| 38 3a 0a 09 09 09 2f 2a | 20 43 68 61 6e 67 65 20 |8:..../*| Change |
|00002580| 63 6f 64 65 20 2a 2f 0a | 09 09 09 63 6e 20 3d 20 |code */.|...cn = |
|00002590| 67 65 74 6e 69 62 28 29 | 20 3c 3c 20 34 3b 0a 09 |getnib()| << 4;..|
|000025a0| 09 09 63 6e 20 7c 3d 20 | 67 65 74 6e 69 62 28 29 |..cn |= |getnib()|
|000025b0| 3b 0a 09 09 09 62 72 65 | 61 6b 3b 0a 09 09 63 61 |;....bre|ak;...ca|
|000025c0| 73 65 20 30 3a 0a 09 09 | 09 2f 2a 20 4e 6f 20 63 |se 0:...|./* No c|
|000025d0| 68 61 6e 67 65 20 2a 2f | 0a 09 09 09 62 72 65 61 |hange */|....brea|
|000025e0| 6b 3b 0a 09 09 63 61 73 | 65 20 31 3a 20 63 61 73 |k;...cas|e 1: cas|
|000025f0| 65 20 32 3a 20 63 61 73 | 65 20 33 3a 20 63 61 73 |e 2: cas|e 3: cas|
|00002600| 65 20 34 3a 20 63 61 73 | 65 20 35 3a 20 63 61 73 |e 4: cas|e 5: cas|
|00002610| 65 20 36 3a 20 63 61 73 | 65 20 37 3a 0a 09 09 09 |e 6: cas|e 7:....|
|00002620| 2f 2a 20 44 65 6c 74 61 | 20 69 73 20 2b 76 65 20 |/* Delta| is +ve |
|00002630| 2a 2f 0a 09 09 09 63 6e | 20 2b 3d 20 63 3b 0a 09 |*/....cn| += c;..|
|00002640| 09 09 62 72 65 61 6b 3b | 0a 09 09 63 61 73 65 20 |..break;|...case |
|00002650| 39 3a 20 63 61 73 65 20 | 31 30 3a 20 63 61 73 65 |9: case |10: case|
|00002660| 20 31 31 3a 20 63 61 73 | 65 20 31 32 3a 20 63 61 | 11: cas|e 12: ca|
|00002670| 73 65 20 31 33 3a 20 63 | 61 73 65 20 31 34 3a 20 |se 13: c|ase 14: |
|00002680| 63 61 73 65 20 31 35 3a | 0a 09 09 09 2f 2a 20 44 |case 15:|..../* D|
|00002690| 65 6c 74 61 20 69 73 20 | 2d 76 65 20 2a 2f 0a 09 |elta is |-ve */..|
|000026a0| 09 09 63 6e 20 2d 3d 20 | 63 20 26 20 37 3b 0a 09 |..cn -= |c & 7;..|
|000026b0| 09 09 62 72 65 61 6b 3b | 0a 09 09 7d 0a 09 09 69 |..break;|...}...i|
|000026c0| 66 20 28 70 75 74 63 68 | 61 72 28 63 6e 29 20 3d |f (putch|ar(cn) =|
|000026d0| 3d 20 45 4f 46 29 20 7b | 0a 09 09 09 70 65 72 72 |= EOF) {|....perr|
|000026e0| 6f 72 28 22 3c 73 74 64 | 6f 75 74 3e 22 29 3b 0a |or("<std|out>");.|
|000026f0| 09 09 09 65 78 69 74 28 | 31 29 3b 0a 09 09 7d 0a |...exit(|1);...}.|
|00002700| 09 7d 0a 7d 0a 00 00 00 | 00 00 00 00 00 00 00 00 |.}.}....|........|
|00002710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 64 65 6c 74 61 63 2f 4d | 61 6b 65 66 69 6c 65 00 |deltac/M|akefile.|
|00002810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002860| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 35 32 37 |.... 6|44 . 527|
|00002870| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00002880| 20 20 20 20 34 33 35 20 | 20 34 36 33 37 34 33 34 | 435 | 4637434|
|00002890| 37 33 31 20 20 20 37 30 | 34 35 00 20 00 00 00 00 |731 70|45. ....|
|000028a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 43 46 4c 41 47 53 3d 2d | 4f 0a 0a 61 6c 6c 3a 20 |CFLAGS=-|O..all: |
|00002a10| 64 65 6c 74 61 63 20 64 | 65 6c 74 61 75 0a 0a 64 |deltac d|eltau..d|
|00002a20| 65 6c 74 61 63 3a 20 64 | 65 6c 74 61 63 2e 63 0a |eltac: d|eltac.c.|
|00002a30| 09 24 28 43 43 29 20 24 | 28 43 46 4c 41 47 53 29 |.$(CC) $|(CFLAGS)|
|00002a40| 20 64 65 6c 74 61 63 2e | 63 20 2d 6f 20 64 65 6c | deltac.|c -o del|
|00002a50| 74 61 63 0a 0a 64 65 6c | 74 61 75 3a 20 64 65 6c |tac..del|tau: del|
|00002a60| 74 61 75 2e 63 0a 09 24 | 28 43 43 29 20 24 28 43 |tau.c..$|(CC) $(C|
|00002a70| 46 4c 41 47 53 29 20 64 | 65 6c 74 61 75 2e 63 20 |FLAGS) d|eltau.c |
|00002a80| 2d 6f 20 64 65 6c 74 61 | 75 0a 0a 73 68 61 72 3a |-o delta|u..shar:|
|00002a90| 0a 09 73 68 61 72 20 52 | 45 41 44 4d 45 20 64 65 |..shar R|EADME de|
|00002aa0| 6c 74 61 63 2e 6c 20 64 | 65 6c 74 61 63 2e 63 20 |ltac.l d|eltac.c |
|00002ab0| 64 65 6c 74 61 75 2e 63 | 20 4d 61 6b 65 66 69 6c |deltau.c| Makefil|
|00002ac0| 65 20 3e 73 68 61 72 2e | 6f 75 74 0a 0a 74 65 73 |e >shar.|out..tes|
|00002ad0| 74 3a 0a 09 64 65 6c 74 | 61 63 20 3c 64 65 6c 74 |t:..delt|ac <delt|
|00002ae0| 61 63 2e 63 20 7c 20 64 | 65 6c 74 61 75 20 7c 20 |ac.c | d|eltau | |
|00002af0| 64 69 66 66 20 2d 20 64 | 65 6c 74 61 63 2e 63 0a |diff - d|eltac.c.|
|00002b00| 0a 63 6c 65 61 6e 3a 0a | 09 72 6d 20 2d 66 20 64 |.clean:.|.rm -f d|
|00002b10| 65 6c 74 61 63 20 64 65 | 6c 74 61 75 0a 73 20 68 |eltac de|ltau.s h|
|00002b20| 65 72 65 62 79 20 67 72 | 61 6e 74 65 64 2c 0a 20 |ereby gr|anted,. |
|00002b30| 2a 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |* provid|ed that |
|00002b40| 74 68 65 20 61 62 6f 76 | 65 20 63 6f 70 79 72 69 |the abov|e copyri|
|00002b50| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |ght noti|ce appea|
|00002b60| 72 20 69 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r in all| copies |
|00002b70| 61 6e 64 20 74 68 61 74 | 0a 20 2a 20 62 6f 74 68 |and that|. * both|
|00002b80| 20 74 68 61 74 20 63 6f | 70 79 72 69 67 68 74 20 | that co|pyright |
|00002b90| 6e 6f 74 69 63 65 20 61 | 6e 64 20 74 68 69 73 20 |notice a|nd this |
|00002ba0| 70 65 72 6d 69 73 73 69 | 6f 6e 20 6e 6f 74 69 63 |permissi|on notic|
|00002bb0| 65 20 61 70 70 65 61 72 | 20 69 6e 0a 20 2a 20 73 |e appear| in. * s|
|00002bc0| 75 70 70 6f 72 74 69 6e | 67 20 64 6f 63 75 6d 65 |upportin|g docume|
|00002bd0| 6e 74 61 74 69 6f 6e 2e | 0a 20 2a 20 0a 20 2a 20 |ntation.|. * . * |
|00002be0| 54 48 49 53 20 53 4f 46 | 54 57 41 52 45 20 49 53 |THIS SOF|TWARE IS|
|00002bf0| 20 50 52 4f 56 49 44 45 | 44 20 60 60 41 53 20 49 | PROVIDE|D ``AS I|
|00002c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 45 53 53 20 46 4f 52 20 | 41 20 50 41 52 54 49 43 |ESS FOR |A PARTIC|
|00003010| 55 4c 41 52 20 50 55 52 | 50 4f 53 45 2e 0a 2e 5c |ULAR PUR|POSE...\|
|00003020| 22 20 0a 2e 54 48 20 44 | 45 4c 54 41 43 20 4c 20 |" ..TH D|ELTAC L |
|00003030| 22 37 20 4a 75 6e 65 20 | 31 39 39 30 22 0a 2e 53 |"7 June |1990"..S|
|00003040| 48 20 4e 41 4d 45 0a 64 | 65 6c 74 61 63 2c 20 64 |H NAME.d|eltac, d|
|00003050| 65 6c 74 61 75 20 5c 2d | 20 63 6f 6d 70 72 65 73 |eltau \-| compres|
|00003060| 73 20 61 6e 64 20 65 78 | 70 61 6e 64 20 75 73 69 |s and ex|pand usi|
|00003070| 6e 67 20 64 65 6c 74 61 | 20 6d 6f 64 75 6c 61 74 |ng delta| modulat|
|00003080| 69 6f 6e 0a 2e 53 48 20 | 53 59 4e 4f 50 53 49 53 |ion..SH |SYNOPSIS|
|00003090| 0a 2e 42 20 64 65 6c 74 | 61 63 0a 2e 49 52 20 6e |..B delt|ac..IR n|
|000030a0| 6f 20 6f 70 74 69 6f 6e | 73 0a 2e 4c 50 0a 2e 42 |o option|s..LP..B|
|000030b0| 20 64 65 6c 74 61 75 0a | 2e 49 52 20 6e 6f 20 6f | deltau.|.IR no o|
|000030c0| 70 74 69 6f 6e 73 0a 2e | 53 48 20 44 45 53 43 52 |ptions..|SH DESCR|
|000030d0| 49 50 54 49 4f 4e 0a 2e | 42 20 44 65 6c 74 61 63 |IPTION..|B Deltac|
|000030e0| 0a 63 6f 6d 70 72 65 73 | 73 65 73 20 65 69 67 68 |.compres|ses eigh|
|000030f0| 74 20 62 69 74 20 64 61 | 74 61 20 66 72 6f 6d 20 |t bit da|ta from |
|00003100| 73 74 61 6e 64 61 72 64 | 20 69 6e 70 75 74 20 74 |standard| input t|
|00003110| 6f 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 6f |o the st|andard o|
|00003120| 75 74 70 75 74 0a 75 73 | 69 6e 67 20 64 65 6c 74 |utput.us|ing delt|
|00003130| 61 20 6d 6f 64 75 6c 61 | 74 69 6f 6e 2e 20 20 45 |a modula|tion. E|
|00003140| 61 63 68 20 62 79 74 65 | 20 69 73 20 73 74 6f 72 |ach byte| is stor|
|00003150| 65 64 20 61 73 20 66 6f | 75 72 20 62 69 74 73 20 |ed as fo|ur bits |
|00003160| 69 66 20 74 68 65 20 61 | 62 73 6f 6c 75 74 65 0a |if the a|bsolute.|
|00003170| 76 61 6c 75 65 20 6f 66 | 20 69 74 73 20 64 69 66 |value of| its dif|
|00003180| 66 65 72 65 6e 63 65 20 | 66 72 6f 6d 20 61 20 72 |ference |from a r|
|00003190| 75 6e 6e 69 6e 67 20 76 | 61 6c 75 65 20 69 73 20 |unning v|alue is |
|000031a0| 6c 65 73 73 20 74 68 61 | 6e 20 38 2e 0a 54 68 69 |less tha|n 8..Thi|
|000031b0| 73 20 74 65 63 68 6e 69 | 71 75 65 20 68 61 73 20 |s techni|que has |
|000031c0| 70 72 6f 76 65 6e 20 74 | 6f 20 62 65 20 6d 6f 72 |proven t|o be mor|
|000031d0| 65 20 65 66 66 65 63 74 | 69 76 65 20 74 68 61 6e |e effect|ive than|
|000031e0| 20 5c 66 49 63 6f 6d 70 | 72 65 73 73 28 31 29 5c | \fIcomp|ress(1)\|
|000031f0| 66 50 0a 6f 72 20 5c 66 | 49 70 61 63 6b 28 31 29 |fP.or \f|Ipack(1)|
|00003200| 5c 66 50 20 66 6f 72 20 | 38 20 62 69 74 20 67 72 |\fP for |8 bit gr|
|00003210| 65 79 20 6c 65 76 65 6c | 20 67 72 61 70 68 69 63 |ey level| graphic|
|00003220| 73 20 69 6d 61 67 65 73 | 2e 20 20 49 74 20 63 6f |s images|. It co|
|00003230| 75 6c 64 20 61 6c 73 6f | 0a 77 6f 72 6b 20 6f 6e |uld also|.work on|
|00003240| 20 32 34 20 62 69 74 20 | 63 6f 6c 6f 75 72 20 69 | 24 bit |colour i|
|00003250| 6d 61 67 65 73 20 69 66 | 20 65 61 63 68 20 70 6c |mages if| each pl|
|00003260| 61 6e 65 20 69 73 20 73 | 74 6f 72 65 64 20 73 65 |ane is s|tored se|
|00003270| 70 61 72 61 74 65 6c 79 | 2e 20 20 46 6f 72 0a 61 |parately|. For.a|
|00003280| 6e 79 20 6f 74 68 65 72 | 20 64 61 74 61 20 74 68 |ny other| data th|
|00003290| 65 20 73 69 7a 65 20 77 | 69 6c 6c 20 70 72 6f 62 |e size w|ill prob|
|000032a0| 61 62 6c 79 20 69 6e 63 | 72 65 61 73 65 2e 0a 2e |ably inc|rease...|
|000032b0| 4c 50 0a 2e 42 20 44 65 | 6c 74 61 75 0a 72 65 61 |LP..B De|ltau.rea|
|000032c0| 64 73 20 64 61 74 61 20 | 63 6f 6d 70 72 65 73 73 |ds data |compress|
|000032d0| 65 64 20 70 72 6f 64 75 | 63 65 64 20 62 79 0a 2e |ed produ|ced by..|
|000032e0| 42 20 64 65 6c 74 61 63 | 0a 66 72 6f 6d 20 74 68 |B deltac|.from th|
|000032f0| 65 20 73 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |e standa|rd input|
|00003300| 20 61 6e 64 20 6f 75 74 | 70 75 74 73 20 74 68 65 | and out|puts the|
|00003310| 20 75 6e 63 6f 6d 70 72 | 65 73 73 65 64 20 64 61 | uncompr|essed da|
|00003320| 74 61 20 6f 6e 0a 73 74 | 61 6e 64 61 72 64 20 6f |ta on.st|andard o|
|00003330| 75 74 70 75 74 2e 0a 2e | 53 48 20 44 49 41 47 4e |utput...|SH DIAGN|
|00003340| 4f 53 54 49 43 53 0a 42 | 6f 74 68 20 70 72 6f 67 |OSTICS.B|oth prog|
|00003350| 72 61 6d 73 20 77 69 6c | 6c 20 74 65 72 6d 69 6e |rams wil|l termin|
|00003360| 61 74 65 20 77 69 74 68 | 20 61 6e 20 65 72 72 6f |ate with| an erro|
|00003370| 72 20 69 66 20 74 68 65 | 79 20 66 61 69 6c 20 6f |r if the|y fail o|
|00003380| 6e 20 77 72 69 74 69 6e | 67 0a 6f 6e 20 73 74 61 |n writin|g.on sta|
|00003390| 6e 64 61 72 64 20 6f 75 | 74 70 75 74 2e 0a 2e 53 |ndard ou|tput...S|
|000033a0| 48 20 41 55 54 48 4f 52 | 0a 44 69 6f 6d 69 64 69 |H AUTHOR|.Diomidi|
|000033b0| 73 20 53 70 69 6e 65 6c | 6c 69 73 20 3c 64 64 73 |s Spinel|lis <dds|
|000033c0| 40 63 63 2e 69 63 2e 61 | 63 2e 75 6b 3e 0a 2e 53 |@cc.ic.a|c.uk>..S|
|000033d0| 48 20 22 53 45 45 20 41 | 4c 53 4f 22 0a 2e 42 52 |H "SEE A|LSO"..BR|
|000033e0| 20 63 6f 6d 70 72 65 73 | 73 20 28 31 29 0a 2e 42 | compres|s (1)..B|
|000033f0| 52 20 70 61 63 6b 20 28 | 31 29 0a 00 00 00 00 00 |R pack (|1)......|
|00003400| 64 65 6c 74 61 63 2f 64 | 65 6c 74 61 63 2e 63 00 |deltac/d|eltac.c.|
|00003410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003460| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 35 32 37 |.... 6|44 . 527|
|00003470| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00003480| 20 20 20 33 33 32 31 20 | 20 34 36 33 37 34 33 34 | 3321 | 4637434|
|00003490| 37 33 30 20 20 20 37 30 | 32 31 00 20 00 00 00 00 |730 70|21. ....|
|000034a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 2f 2a 20 0a 20 2a 20 44 | 65 6c 74 61 20 6d 6f 64 |/* . * D|elta mod|
|00003610| 75 6c 61 74 69 6f 6e 20 | 75 6e 63 6f 6d 70 72 65 |ulation |uncompre|
|00003620| 73 73 0a 20 2a 0a 20 2a | 20 28 43 29 20 43 6f 70 |ss. *. *| (C) Cop|
|00003630| 79 72 69 67 68 74 20 31 | 39 38 39 2c 20 31 39 39 |yright 1|989, 199|
|00003640| 30 20 44 69 6f 6d 69 64 | 69 73 20 53 70 69 6e 65 |0 Diomid|is Spine|
|00003650| 6c 6c 69 73 2e 20 20 41 | 6c 6c 20 72 69 67 68 74 |llis. A|ll right|
|00003660| 73 20 72 65 73 65 72 76 | 65 64 2e 0a 20 2a 20 0a |s reserv|ed.. * .|
|00003670| 20 2a 20 24 48 65 61 64 | 65 72 3a 20 64 65 6c 74 | * $Head|er: delt|
|00003680| 61 63 2e 63 2c 76 20 31 | 2e 31 20 39 30 2f 30 36 |ac.c,v 1|.1 90/06|
|00003690| 2f 30 38 20 32 32 3a 31 | 33 3a 34 32 20 64 64 73 |/08 22:1|3:42 dds|
|000036a0| 20 52 65 6c 20 24 0a 20 | 2a 0a 20 2a 20 50 65 72 | Rel $. |*. * Per|
|000036b0| 6d 69 73 73 69 6f 6e 20 | 74 6f 20 75 73 65 2c 20 |mission |to use, |
|000036c0| 63 6f 70 79 2c 20 61 6e | 64 20 64 69 73 74 72 69 |copy, an|d distri|
|000036d0| 62 75 74 65 20 74 68 69 | 73 20 73 6f 66 74 77 61 |bute thi|s softwa|
|000036e0| 72 65 20 61 6e 64 20 69 | 74 73 0a 20 2a 20 64 6f |re and i|ts. * do|
|000036f0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00003700| 61 6e 79 20 70 75 72 70 | 6f 73 65 20 61 6e 64 20 |any purp|ose and |
|00003710| 77 69 74 68 6f 75 74 20 | 66 65 65 20 69 73 20 68 |without |fee is h|
|00003720| 65 72 65 62 79 20 67 72 | 61 6e 74 65 64 2c 0a 20 |ereby gr|anted,. |
|00003730| 2a 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |* provid|ed that |
|00003740| 74 68 65 20 61 62 6f 76 | 65 20 63 6f 70 79 72 69 |the abov|e copyri|
|00003750| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |ght noti|ce appea|
|00003760| 72 20 69 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r in all| copies |
|00003770| 61 6e 64 20 74 68 61 74 | 0a 20 2a 20 62 6f 74 68 |and that|. * both|
|00003780| 20 74 68 61 74 20 63 6f | 70 79 72 69 67 68 74 20 | that co|pyright |
|00003790| 6e 6f 74 69 63 65 20 61 | 6e 64 20 74 68 69 73 20 |notice a|nd this |
|000037a0| 70 65 72 6d 69 73 73 69 | 6f 6e 20 6e 6f 74 69 63 |permissi|on notic|
|000037b0| 65 20 61 70 70 65 61 72 | 20 69 6e 0a 20 2a 20 73 |e appear| in. * s|
|000037c0| 75 70 70 6f 72 74 69 6e | 67 20 64 6f 63 75 6d 65 |upportin|g docume|
|000037d0| 6e 74 61 74 69 6f 6e 2e | 0a 20 2a 20 0a 20 2a 20 |ntation.|. * . * |
|000037e0| 54 48 49 53 20 53 4f 46 | 54 57 41 52 45 20 49 53 |THIS SOF|TWARE IS|
|000037f0| 20 50 52 4f 56 49 44 45 | 44 20 60 60 41 53 20 49 | PROVIDE|D ``AS I|
|00003800| 53 27 27 20 41 4e 44 20 | 57 49 54 48 4f 55 54 20 |S'' AND |WITHOUT |
|00003810| 41 4e 59 20 45 58 50 52 | 45 53 53 20 4f 52 20 49 |ANY EXPR|ESS OR I|
|00003820| 4d 50 4c 49 45 44 0a 20 | 2a 20 57 41 52 52 41 4e |MPLIED. |* WARRAN|
|00003830| 54 49 45 53 2c 20 49 4e | 43 4c 55 44 49 4e 47 2c |TIES, IN|CLUDING,|
|00003840| 20 57 49 54 48 4f 55 54 | 20 4c 49 4d 49 54 41 54 | WITHOUT| LIMITAT|
|00003850| 49 4f 4e 2c 20 54 48 45 | 20 49 4d 50 4c 49 45 44 |ION, THE| IMPLIED|
|00003860| 20 57 41 52 52 41 4e 54 | 49 45 53 20 4f 46 0a 20 | WARRANT|IES OF. |
|00003870| 2a 20 4d 45 52 43 48 41 | 4e 54 49 42 49 4c 49 54 |* MERCHA|NTIBILIT|
|00003880| 59 20 41 4e 44 20 46 49 | 54 4e 45 53 53 20 46 4f |Y AND FI|TNESS FO|
|00003890| 52 20 41 20 50 41 52 54 | 49 43 55 4c 41 52 20 50 |R A PART|ICULAR P|
|000038a0| 55 52 50 4f 53 45 2e 0a | 20 2a 0a 20 2a 2f 0a 0a |URPOSE..| *. */..|
|000038b0| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 74 64 69 6f |.#includ|e <stdio|
|000038c0| 2e 68 3e 0a 0a 23 69 66 | 6e 64 65 66 20 6c 69 6e |.h>..#if|ndef lin|
|000038d0| 74 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 52 43 |t.static| char RC|
|000038e0| 53 69 64 5b 5d 20 3d 20 | 22 24 48 65 61 64 65 72 |Sid[] = |"$Header|
|000038f0| 3a 20 64 65 6c 74 61 63 | 2e 63 2c 76 20 31 2e 31 |: deltac|.c,v 1.1|
|00003900| 20 39 30 2f 30 36 2f 30 | 38 20 32 32 3a 31 33 3a | 90/06/0|8 22:13:|
|00003910| 34 32 20 64 64 73 20 52 | 65 6c 20 24 22 3b 0a 23 |42 dds R|el $";.#|
|00003920| 65 6e 64 69 66 0a 0a 73 | 74 61 74 69 63 20 70 72 |endif..s|tatic pr|
|00003930| 65 76 2c 20 73 74 6f 72 | 65 64 3b 0a 0a 23 69 66 |ev, stor|ed;..#if|
|00003940| 64 65 66 20 53 4c 4f 57 | 0a 76 6f 69 64 0a 70 75 |def SLOW|.void.pu|
|00003950| 74 6e 69 62 28 78 29 0a | 09 69 6e 74 20 78 3b 0a |tnib(x).|.int x;.|
|00003960| 7b 0a 0a 09 69 66 20 28 | 73 74 6f 72 65 64 29 20 |{...if (|stored) |
|00003970| 7b 0a 09 09 69 66 20 28 | 70 75 74 63 68 61 72 28 |{...if (|putchar(|
|00003980| 70 72 65 76 20 7c 20 28 | 78 20 26 20 30 78 66 29 |prev | (|x & 0xf)|
|00003990| 29 20 3d 3d 20 45 4f 46 | 29 20 7b 0a 09 09 09 70 |) == EOF|) {....p|
|000039a0| 65 72 72 6f 72 28 22 3c | 73 74 64 6f 75 74 3e 22 |error("<|stdout>"|
|000039b0| 29 3b 0a 09 09 09 65 78 | 69 74 28 31 29 3b 0a 09 |);....ex|it(1);..|
|000039c0| 09 7d 0a 09 09 73 74 6f | 72 65 64 20 3d 20 30 3b |.}...sto|red = 0;|
|000039d0| 0a 09 7d 20 65 6c 73 65 | 20 7b 0a 09 09 70 72 65 |..} else| {...pre|
|000039e0| 76 20 3d 20 78 20 3c 3c | 20 34 3b 0a 09 09 73 74 |v = x <<| 4;...st|
|000039f0| 6f 72 65 64 20 3d 20 31 | 3b 0a 09 7d 0a 7d 0a 23 |ored = 1|;..}.}.#|
|00003a00| 65 6c 73 65 0a 23 64 65 | 66 69 6e 65 20 70 75 74 |else.#de|fine put|
|00003a10| 6e 69 62 28 78 29 20 5c | 0a 64 6f 20 7b 20 5c 0a |nib(x) \|.do { \.|
|00003a20| 09 69 66 20 28 73 74 6f | 72 65 64 29 20 7b 20 5c |.if (sto|red) { \|
|00003a30| 0a 09 09 69 66 20 28 70 | 75 74 63 68 61 72 28 70 |...if (p|utchar(p|
|00003a40| 72 65 76 20 7c 20 28 78 | 20 26 20 30 78 66 29 29 |rev | (x| & 0xf))|
|00003a50| 20 3d 3d 20 45 4f 46 29 | 20 7b 20 5c 0a 09 09 09 | == EOF)| { \....|
|00003a60| 70 65 72 72 6f 72 28 22 | 3c 73 74 64 6f 75 74 3e |perror("|<stdout>|
|00003a70| 22 29 3b 20 5c 0a 09 09 | 09 65 78 69 74 28 31 29 |"); \...|.exit(1)|
|00003a80| 3b 20 5c 0a 09 09 7d 20 | 5c 0a 09 09 73 74 6f 72 |; \...} |\...stor|
|00003a90| 65 64 20 3d 20 30 3b 20 | 5c 0a 09 7d 20 65 6c 73 |ed = 0; |\..} els|
|00003aa0| 65 20 7b 20 5c 0a 09 09 | 70 72 65 76 20 3d 20 28 |e { \...|prev = (|
|00003ab0| 78 29 20 3c 3c 20 34 3b | 20 5c 0a 09 09 73 74 6f |x) << 4;| \...sto|
|00003ac0| 72 65 64 20 3d 20 31 3b | 20 5c 0a 09 7d 20 5c 0a |red = 1;| \..} \.|
|00003ad0| 7d 20 77 68 69 6c 65 28 | 30 29 0a 23 65 6e 64 69 |} while(|0).#endi|
|00003ae0| 66 0a 0a 76 6f 69 64 0a | 66 6c 75 73 68 6e 69 62 |f..void.|flushnib|
|00003af0| 28 29 0a 7b 0a 09 69 66 | 20 28 73 74 6f 72 65 64 |().{..if| (stored|
|00003b00| 29 0a 09 09 69 66 20 28 | 70 75 74 63 68 61 72 28 |)...if (|putchar(|
|00003b10| 70 72 65 76 20 7c 20 38 | 29 20 3d 3d 20 45 4f 46 |prev | 8|) == EOF|
|00003b20| 29 20 7b 0a 09 09 09 70 | 65 72 72 6f 72 28 22 3c |) {....p|error("<|
|00003b30| 73 74 64 6f 75 74 3e 22 | 29 3b 0a 09 09 09 65 78 |stdout>"|);....ex|
|00003b40| 69 74 28 31 29 3b 0a 09 | 09 7d 0a 7d 0a 0a 0a 6d |it(1);..|.}.}...m|
|00003b50| 61 69 6e 28 61 72 67 63 | 2c 20 61 72 67 76 29 0a |ain(argc|, argv).|
|00003b60| 09 69 6e 74 20 61 72 67 | 63 3b 0a 09 63 68 61 72 |.int arg|c;..char|
|00003b70| 20 2a 61 72 67 76 5b 5d | 3b 0a 7b 0a 09 72 65 67 | *argv[]|;.{..reg|
|00003b80| 69 73 74 65 72 20 63 2c | 20 63 70 20 3d 20 32 35 |ister c,| cp = 25|
|00003b90| 36 2c 20 64 65 6c 74 61 | 3b 0a 0a 09 69 66 20 28 |6, delta|;...if (|
|00003ba0| 61 72 67 63 20 21 3d 20 | 31 29 20 7b 0a 09 09 66 |argc != |1) {...f|
|00003bb0| 70 72 69 6e 74 66 28 73 | 74 64 65 72 72 2c 20 22 |printf(s|tderr, "|
|00003bc0| 25 73 3a 20 75 73 61 67 | 65 20 25 73 5c 6e 22 2c |%s: usag|e %s\n",|
|00003bd0| 20 61 72 67 76 5b 31 5d | 29 3b 0a 09 09 65 78 69 | argv[1]|);...exi|
|00003be0| 74 28 31 29 3b 0a 09 7d | 0a 09 77 68 69 6c 65 28 |t(1);..}|..while(|
|00003bf0| 28 63 20 3d 20 67 65 74 | 63 68 61 72 28 29 29 20 |(c = get|char()) |
|00003c00| 21 3d 20 45 4f 46 29 20 | 7b 0a 09 09 64 65 6c 74 |!= EOF) |{...delt|
|00003c10| 61 20 3d 20 63 20 2d 20 | 63 70 3b 0a 09 09 69 66 |a = c - |cp;...if|
|00003c20| 20 28 64 65 6c 74 61 20 | 3e 20 37 20 7c 7c 20 64 | (delta |> 7 || d|
|00003c30| 65 6c 74 61 20 3c 20 2d | 37 29 20 7b 0a 09 09 09 |elta < -|7) {....|
|00003c40| 70 75 74 6e 69 62 28 38 | 29 3b 0a 09 09 09 70 75 |putnib(8|);....pu|
|00003c50| 74 6e 69 62 28 63 20 3e | 3e 20 34 29 3b 0a 09 09 |tnib(c >|> 4);...|
|00003c60| 09 70 75 74 6e 69 62 28 | 63 29 3b 0a 09 09 7d 20 |.putnib(|c);...} |
|00003c70| 65 6c 73 65 20 69 66 20 | 28 64 65 6c 74 61 20 3e |else if |(delta >|
|00003c80| 3d 20 30 29 0a 09 09 09 | 70 75 74 6e 69 62 28 64 |= 0)....|putnib(d|
|00003c90| 65 6c 74 61 29 3b 0a 09 | 09 65 6c 73 65 0a 09 09 |elta);..|.else...|
|00003ca0| 09 70 75 74 6e 69 62 28 | 38 20 7c 20 2d 64 65 6c |.putnib(|8 | -del|
|00003cb0| 74 61 29 3b 0a 09 09 63 | 70 20 3d 20 63 3b 0a 09 |ta);...c|p = c;..|
|00003cc0| 7d 0a 09 66 6c 75 73 68 | 6e 69 62 28 29 3b 0a 7d |}..flush|nib();.}|
|00003cd0| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 64 65 6c 74 61 63 2f 64 | 65 6c 74 61 75 2e 63 00 |deltac/d|eltau.c.|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 35 32 37 |.... 6|44 . 527|
|00003e70| 35 30 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |50 . |13 . |
|00003e80| 20 20 20 33 34 30 35 20 | 20 34 36 33 37 34 33 34 | 3405 | 4637434|
|00003e90| 37 33 31 20 20 20 37 30 | 34 37 00 20 00 00 00 00 |731 70|47. ....|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+