The CompuServe IBMPC SIG Users Group ------------------------------------ PATCHES FOR IBM DOS 3.3 ----------------------- ************************************************************************ Note: In the patches which follow, it is assumed the user is familiar with the use of DEBUG. The notation "xxxx" means "anything is ok". The notation means press Enter. ************************************************************************ DISABLE EDLIN AUTOMATIC .BAK FILE CREATION This patch will disable the automatic .BAK file when using EDLIN. Using DEBUG proceed as follows: DEBUG EDLIN.COM -E 0CD8 xxxx:0CD8 56.41 -W -Q ********************************************************** AUTOMATIC INSTALLATION OF PRINTER FOR DOS PRINT This patch obviates the need to type the desired printer port when installing PRINT.COM. If the printer port is LPT1, then using DEBUG proceed as follows: DEBUG PRINT.COM -E 1936 xxxx:1936 E8.90 CD.90 02.90 -E 1948 xxxx:1948 CD.90 21.90 -W -Q If the printer port is LPT2 then the following address must ALSO be modified as follows: -E 11F1 4 "LPT2" ********************************************************* ECHO OFF I have patched COMMAND.COM to set the default to echo off to to obviate the need for the ECHO OFF and CLS statements at the beginning of a batch file. DEBUG COMMAND.COM -E 1D68 xxxx:1D68 01.00 -W -Q Note 1: The default for AUTOEXEC.BAT files will still be ECHO OFF. Note 2: If the last thing done in a .BAT file is to do ECHO ON, then you will get two prompts at exit. To set ECHO OFF in your AUTOEXEC.BAT file. DEBUG COMMAND.COM -E 1304 xxxx:1304 03.02 -W -Q ********************************************************** PERMIT MORE THEN 10 MISMATCHES IN COMP.COM I have patched COMP.COM to permit 50 mismatches as follows: DEBUG COMP.COM -E 0AF3 xxxx:0AF3 0A.32 -E 0E09 xxxx:0E09 31.35 -W -Q ********************************************************** FORMAT: Add BEEP at completion of formatting This patch produces a BEEP when FORMAT.COM is done. The patch is most easily made with a disk editor. Using a disk editor look for the exact string: Format another (Y/N)? It begins at offset 2085h (Note: This NOT a Debug address!) If you are using DISMOD, the address is record 0020 byte 85h Enter the following exact string (omit quotes), ^G means Ctrl-G: "Do another (Y/N) ?^G " (Note that one blank space follows ^G) If you wish to use Debug then: DEBUG FORMAT.COM -D 2185 L20 ;Displays "Format another..." -E 2185 "Do another (Y/N) ?",07," " ;Quotes must be included -D 2185 L20 ;Displays your entry. -w -q The 07h (^G) does the BEEP. Below is what you should see after the first D command above. DEBUG FORMAT.COM -D 2185 L20 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 ^^ ^ NOTE: THE 00H MUST NOT BE DISTURBED!!! ********************************************************** SCREEN SCROLLING From Ward Christensen, the ANSI.SYS scrolling patches to disable the wait for retrace and the screen blanking have new addresses but they work just fine. Using DEBUG, proceed as follows: DEBUG ANSI.SYS -E 02E3 xxxx:02E3 74.90 FB.90 -E 02EA xxxx:02EA EE.90 -W -Q ********************************************************** DISABLE AUTOMATIC HEADER IN FIND.EXE OUTPUT The FIND program puts an automatic header ---------- filename in the output listing. To disable this header, patch FIND.EXE as follows: REN FIND.EXE FIND.TMP DEBUG FIND.TMP -E 0425 xxxx:0425 03.2C -W -Q REN FIND.TMP FIND.EXE ********************************************************** Comments to: -- Ted Eyrick [72446,317] CIS, IBMPC SIG --