(Word Processing Tip) RESETTING DISKS IN PERFECT WRITER [If you use Perfect Writer, you've known the frustration of needing to reset the disk in the B drive. Maybe you've written off more than the disk can chew; or maybe you simply have a file which you'd like to write onto more than one disk. The effect is the same: PW won't let you save to a second disk without first exiting to CP/M and executing a "warm boot." Users of that ingenious program, Pluperfect Writer, don't have that worry; a disk reset command is among its many clever features. Now, however, there is relief for users of plain vanilla PW. This tip appeared first in the @UX{Kappa Hacker}, newsletter of the XXXX KUG (Karen--get name from Diana). We've tried it, and it works. And it's easy to do. -- LL.] Why Perfect Writer left out a disk reset is a mystery to me: nothing is easier to program than the BDOS 13 call (Note: the BDOS 13 call in CP/M is a built-in function to reset disks.) Below is a patch to insert a disk reset to replace one of the present Perfect Writer commands... 1. Look at Appendix A-43 in the PW manual and find a function that you do not use. The example below uses -x s = "MGOSPELL", because I don't use Perfect Speller. If you do use it, select another function from the Appendix. 2. Find the HEX address of the function command: @ux{(Note: this step is only for those choosing a different function command. If you are using @P[-x s], you won't need to bother.)) Put your PW Installation disk in Drive A and enter: @P[PW.SYM] Be prepared to use -s to stop the screen's scrolling. You'll see columns of function names with numbers which are the HEX addresses of PW's routines. Find the replaceable function you want, and write down the HEX number. The HEX address of @P[-x] s is 5EC9. 3. Now put your CP/M disk in Drive A and a working copy of PW.COM in Drive B. After logging onto the B drive, type: @P[a:ddt pw.com] Presently, your screen will read: DDT VER 2.2 NEXT PC 8800 0100 - 4. Type @P[a] followed by the HEX address of the command you want changed. For our example, you'd type: -@P[a5EC9] Note the lower case "a" and the upper case "E." From here on, you must type upper and lower case exactly as printed here. 5. You will be given a series of addresses, to which you must reply exactly as written. We have numbered them for clarity. (The addresses are printed in regular type; your replies are printed in boldface.) (Note again that the first address (5EC9) is for replacing and will be different if you've chosen a different command to change.) Here we go: 1. 5EC9 @P[LXI B,000D] 2. 5ECC @P[CALL 005] 3. 5ECF @P[LXI B,000E] 4. 5ED2 @P[LXI D,0001] 5. 5ED5 @P[CALL 005] 6. 5ED8 @P[RET] (you type the letters "RET", not a .) 7. 5ED9 @P[.] (you type a period.) For safety, I ordinarily work on Drive B in PW. If you wish the default drive to be Drive A, change the 4th command to: 5ED2 @P[LXI D,0000] 6. At the @P[-] prompt, type: -@P[g0] (lower case g; zero) You'll get a "warm boot message." 7. Save all the changes by typing: A>@P[save 137 pw.com] That's all. Try it out by putting the PW disk in A and a data disk in B. Call up a file. Take the disk out of B and insert a new one. Type @P[-x s], then give the save command (@P[-s]. If PW writes the file to the new disk, you're in business. Don't forget to copy the new version of PW onto every disk or user area where you have the old version installed. 6. 5ED8 @P[RET] (you type the