[net.micro.pc] Patches for the New Personal Editor II

roy@gitpyr.UUCP (Roy Mongiovi) (01/16/86)

I have just started using the new Personal Editor II for the IBM PC.
If you use PE version 1, or looked at it and decided it had some rough
edges, I highly recommend that you take another look.  A lot of work
has obviously gone into the new version, and while it may not be the
most powerful editor for the PC, it has a lot of nice features that
are easy to use.

First, rename the pe2.exe file so that debug treates it as a normal file:

	ren pe2.exe pe2 <CR>
	debug pe2 <CR>

At the debug prompt, display the registers and make note of the DS register
value.  In the following modifications, XXXX will denote the DS value, and
YYYY will denote that value plus 1000H (for example, if DS = 1234H, XXXX is
1234H, and YYYY is 2234H).

	-r <CR>

PE II has a "/q" switch to turn off the banner page/copyright logo.  The
first patch causes the banner page to default to off rather than on, and
alters the "/q" switch to turn the banner off into a "/v" switch to turn
the banner on:

	-e YYYY:09FA <CR>
	YYYY:09FA  01.00 <CR>

	-e XXXX:C469 <CR>
	XXXX:C469  71.76 <CR>

	-e XXXX:C470 <CR>
	XXXX:C470  00.01 <CR>

The second patch increases the default amount of space reserved at the
high end of memory.  I found that on my system with 576K memory, every
time I exited PE II, command.com was reloaded.  PE II has a "/rNNN" switch
which can be used to reserve space for the secondary (and initial) command
interpreters.  The documentation says that it isn't necessary to use this
switch, but I found that increasing it from the default of "/r2" to "/r18"
prevented command.com from having to reload (at least, it did for DOS 3.1).

The default value for "/r" is a word, so remember to enter the bytes in
reverse order.  18 decimal is 12 hex, so:

	-e XXXX:C55F <CR>
	XXXX:C55F  02.12 <SP>
	XXXX:C560  00.00 <CR>

Make sure that all the output you get from this patch (except for the XXXX
and YYYY, of course) is the same as that given above.  Also, make sure that
you don't patch your original pe2.  If you are certain everything went as
planned:

	-w <CR>
	Writing 11F00 bytes
	-q <CR>
	ren pe2 pe2.exe <CR>
								Roy Mongiovi
-- 
Roy J. Mongiovi.	Office of Computing Services.		User Services.
Georgia Institute of Technology.	Atlanta GA  30332.	(404) 894-6163
 ...!{akgua, allegra, amd, hplabs, ihnp4, masscomp, ut-ngp}!gatech!gitpyr!roy