From: Donna L. Arellano Date: 15 Apr 87 20:15:23 GMT Subject: DOS 3.3 Patches Organization: UNC-Chapel Hill We've had our hands on a PS/2 model 60 for a few days now. Wow! Anyway, we've found some of the DOS 3.3 addresses for patches that have been posted in the past for DOS 3.2/3.1. In the following list, all addresses are for DEBUG; subtract 0100h for the real addresses. Here goes --> 1. Increase Environment Size: Not needed -> use the SHELL command in CONFIG.SYS with the /P and /E parameters. 2. Automatic Installation of printer for PRINT: Not needed -> use the new /D parameter the first time PRINT is invoked. 3. Disable EDLIN from making .BAK files: File=EDLIN.COM 3.1 Addr=0CD5 3.3 Addr=0CD8 Change 56 -> 41 4. Allow 50 mismatches in COMP before terminating: File=COMP.COM 3.1 Addr=08E2 3.3 Addr=0AF3 Change 0A -> 32 3.1 Addr=0BF8 3.3 Addr=0E09 Change 31 -> 35 5. ECHObb produces a blank line from a .BAT file: File=COMMAND.COM 3.1 Addr=3878 3.3 Addr=3F29 Change E8 20 00 74 -> 83 F9 02 72 This allows you to put ECHO followed by two spaces in a .BAT file to print a blank line on the screen. 6. Default to ECHO OFF: File=COMMAND.COM 3.1 Addr=1967 3.3 Addr=1D68 Change 01 -> 00 7. Sound a BEEP at the end of a FORMAT: File=FORMAT.COM 3.1 Addr=152F 3.3 Addr=2185 Enter the following DEBUG commands: -D 2185 l20 -E 2185 "Do another (Y/N) ?",07," " -D 2185 l20 -W -Q Be sure to include the quotes and spaces in the E command. The 07 does the beep. Below is the result of the first D command: xxxx:2180 46 6F 72 6D 61 74 20 61 6E 6F 74 Format anot xxxx:2190 68 65 72 20 28 59 2F 4E 29 3F 00 49 6E 73 65 72 her (Y/N)?.Inser xxxx:21A0 74 20 44 4F 53 t DOS The 00 at 219A must not be disturbed! Note: We use a prompt which remembers the cursor position, displays the date, time and some other stuff on line one of the screen, and then goes back where the cursor was and prints C>. After we changed COMMAND.COM to default to ECHO OFF, we found that if we executed a .BAT file that had CLS as its final command, the cursor remained on line one of the screen. Seems that DOS is executing CLS differ- ently than before. Small fix: follow the CLS with ECHObb in all .BAT files. Works just fine. Hope this comes in handy for some people. If anyone knows of any other patches, please post. Donna Arellano !(backbone)!mcnc!ecsvax!dlg Univ. of North Carolina