-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnotes.doc
More file actions
63 lines (35 loc) · 1.69 KB
/
Copy pathnotes.doc
File metadata and controls
63 lines (35 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Philip G. Gage
5345 El Camino Drive
Colorado Springs, CO 80918
Home: 719-593-1801
Work: 719-570-8089
CIS: 70541,3645
NOTES
This is my entry to the Data Compression contest. The program compresses
well but runs slowly.
The program was developed on an Amiga 2000, then ported to a PC XT clone
with MS DOS 3.3. It is written in portable standard C and compiles
under Power C version 1.1.6 and Turbo C++ version 1.01. The supplied
.EXE file was generated by Turbo C++.
To generate the executable file from the source file, simply compile and
link SIXPACK.C using a small memory model (I used the optimize switches
-G -O -Z for Turbo C++, but these are not essential).
Turbo C++: tcc -G -O -Z sixpack.c
Power C: pc/e sixpack.c
To compress a file, enter:
SIXPACK inputfilename outputfilename
To decompress a file, enter:
SIXPACK inputfilename outputfilename d
(the "d" means "decompress", but any argument will do)
RESULTS (8 MHZ PC XT)
FILE ORIG PACKED PACK UNPACK
NAME SIZE SIZE TIME TIME
(BYTES) (BYTES) (SECS) (SECS)
-----------------------------------------------------
CLOWN.SCI 64778 46068 189 83
KERMIT.EXE 99187 52032 285 101
ICE.EXE 31256 19546 79 37
ARTICLE.ASC 23145 7890 58 15
C_CODE.C 45444 8252 98 21
J.TXT 20444 5346 65 14