Category : Tutorials + Patches
Archive   : DISSQASH.ZIP
Filename : DISSQASH.PAT

 
Output of file : DISSQASH.PAT contained in archive : DISSQASH.ZIP
By default, PKARC 2.0 will "squash" a file if this compression
technique would appear to be optimal for that file. While I
personally do not think it is desirable to change this, this patch is
presented at the request of others who disagree.

However, PLEASE DO NOT distribute PKARC 2.0 if it has been patched as
shown in this document. Not only can this create problems for
recipients of the program that are not aware that the program has
been patched, but it is also in strict violation of the license
agreement in PKARC to distribute the program in modified form.

PKWARE INCORPORATED RESERVES THE RIGHT TO FIND ANYONE WHO DISTRIBUTES
PKARC IN MODIFIED FORM WITHOUT EXPRESS WRITTEN CONSENT FROM PKWARE
INCORPORATED TO BE IN VIOLATION OF THE SOFTWARE LICENSE AGREEMENT AND
LIABLE FOR DAMAGES.

Using DEBUG, change the byte at offset F25 hex in the file PKARC.COM,
version 2.0, dated 12-15-86. The value in the distribution copy is
75 hex.

Changing this value will yield the results shown:

Byte at F25 Program Behavior
------------ ----------------

75 This is the 'normal' value. Squashing will be
performed by default, when it is optimal.

74 Reverses the meaning of the "/oc" flag. By default
squashing will NOT be performed. Specifying "/oc"
on the command line will ENABLE squashing when it
is optimal.

EB Permanently disables squashing. Squashing will
never be performed, regardless if the "/oc" flag is
specified or not.

WARNING: Changing the value of this byte to any other value will cause
unpredicatble program operation.



The following example session with debug will change the value to 74.

Enter

debug pkarc.com

where means the enter key. Debug will display a "-" prompt. Then enter

ef25.

Debug will display something like "xxxx:0F25 75.". The xxxx value will
vary from computer to computer. Debug should display the number 75 as
above. If this value is not 75, then you do not have PKARC 2.0 and
should not continue. Enter

74

followed by

w

and then

q.


The result should appear similar to:

A>debug pkarc.com
-ef25
xxxx:0F25 75.74
-w
Writing 4430 bytes
-q
A>



-Phil Katz 1/14/87


  3 Responses to “Category : Tutorials + Patches
Archive   : DISSQASH.ZIP
Filename : DISSQASH.PAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/