Patching NSWP to run under ZCN
------------------------------

[NB: 'nswp.com' here is now patched in the way described below.
'nswporig.com' is the original unmodified program. The patch is only
left here for the interested. :-)]

First, you must be running ZCN v0.4 or better. There are problems
running NSWP on user areas other than 0 on previous versions.

But even with recent versions of ZCN, nswp 2.07 gives incorrect file
sizes and free disk space, and the F and W commands don't work.

To fix all that you'll need both wade.com and nswp.com on your ZCN
box, and will have to patch nswp with wade. Run wade like this, and
TYPE CAREFULLY!

A>wade nswp.com
WADE 1.5 - Wagner 85-04-27  (TurboDos & CP/M 2 Version)
Low=0100   High=2FFF   Max=2FFF   Top=83FF

:s 1c7f c3
:s 1d8f 3e 0
:s d56 3c
:s 10a3 3d
:s 10ec 3d
:s 1140 3d
:s 1dca 3c
:w 100 2fff
:g0

BTW, the first line of the patch makes nswp use its CP/M 3 'disk space
free' routine, and the second convinces it that blocks are 1k. The
rest is to fix the F and W commands - the problem is that it
overwrites 66h, see zcn.txt for an explanation of why this can be a
problem. It's fixed by using the free memory at 3Ch as an FCB rather
than overwriting the one at 5Ch.

All this patching still leaves the squeeze/unsqueeze command
apparently not working, but I'm afraid I haven't worked out what's
wrong with that.

By the way, don't use the new hacked-up nswp.com on anything other
than ZCN - it could cause a crash on normal CP/M.

-Rus.
