INSTRUCTIONS (02/15/2005)
------------
The first section describes the compiler library dtr patch.

The second section describes the fatal error patch.

FILES:
------
Patch the runtime libraries which are linked in when compiling with /O,
and the runtime executables which are used when /O is not used:

  For QB 2.0/3.0/4.0/BASCOM 6.0 patch the files:

    BCOMx0.LIB  standalone library
    BRUNx0.EXE  runtime module, where x is the QB version.

PATCH (section 1)
-----
When exiting from the standard executable program, the dtr is lowered.

This patch prevents this.

Look for the string:

"83 C2 04 32 C0 EE"

with any hex editor.

In assembly code:

83 C2 04  ADD DX,4
32 C0     XOR AL,AL
EE        OUT DX,AL

Change XOR AL,AL to MOV AL,1:

Edit "32 C0" to "B0 01".

Make this change in both places where the string occurs.

If the string is not found then read Patch2.txt

PATCH (section 2)
-----
Normally, BASIC says "Press a key to continue", or
"Hit any key to return to system" during any fatal error.

This patch will prevent BASIC from pausing on a fatal error.

If you have QuickBASIC 2.01 or 3.0,

Search the files for the following string:

"E2 F8 E8 00 00 E8 00 00 E8 00 00 C3"

Change the MIDDLE "E8 00 00" to "C3 90 90".

If the string is not found then read Patch3.txt

-end-
