[net.micro.cpm] M7LIB.COM bug fixed

W8SDZ@Simtel20.ARPA (04/08/84)

From:  Keith Petersen <W8SDZ@Simtel20.ARPA>

Irv Hoff has just released a revised M7LIB.COM.  It's now on
SIMTEL20, in place of the previous version.  Irv didn't change
the name, unfortunately.  There is a way of telling if you have
the new version though.  Here's Irv's info on the fixes:

---
TOPIC	: M7LIB FIX
FROM	: IRV HOFF W6FFC
DATE	: 06 APR 84

       NOTE: IF YOUR COPY OF M7LIB.COM SAYS 04/06/84
	     WHEN BROUGHT UP, IT HAS THE FOLLOWING
	     FIX INCORPORATED AND NEEDS NO CHANGES.

   BACKGROUND:	M7LIB.COM is used to alter phone numbers in the
		MDM730.COM modem program.  Unfortunately I based
		it on a buggy, obsolete program called CHGLIB v1.0
		dated Jan 82.

   PROBLEM   :	If the 'R' (re-read the phone listing) is typed at
		ANY TIME when using M7LIB.COM, it will only write
		back to disk about 2-1/4k of the 18-1/4k via 'W'.
		Obviously this is unacceptable.

   SOLUTION 1:	Do not use 'R' at any time.  Few apparently use it
		anyway, or this problem would have been noticed and
		fixed much sooner.

   SOLUTION 2:	Use DDT and change:

		026C  32 76 08	change to 00 00 00   then save 8.

	-	-	-	-	-	-	-	-

   HOW TO    :	If you are unfamiliar with using DDT, do this:

			A>DDT M7LIB.COM

			-S026C		(you add the S026C,  return)
			026C 32 00	(you add the 00, hit return)
			026D 76 00	(you add the 00, hit return)
			026E 08 00	(you add the 00, hit return)
			026F CD .	(you add the . then  return)
			-G0		(you add the G0,  it returns
					to CP/M prompt, then:

			A>SAVE 8 M7LIB.COM   (saves the fixed pgm)

	-	-	-	-	-	-	-	-
	
   COMMENT   :	I fixed my own in this manner, and it works normally now
		no matter if/how/when 'R' is used.  This had been tested
		when writing the program, but the associated problem was
		not noticed.

   NOTE      :	You can also use M7NM-6.ASM to change the library with
		your editor, etc.  That is an easier method if you want
		to make numerous changes or rewrite the phone library.
		M7LIB.COM is fast, easy and simple, intended to be used
		to change a few numbers occasionally.

					- Irv Hoff