Pds dtr-patch

 BBS: Inland Empire Archive
Date: 05-31-92 (06:53)             Number: 193
From: RONNIE PIERCE                Refer#: NONE
  To: MARK BUTLER                   Recvd: NO  
Subj: Pds dtr-patch                  Conf: (2) Quik_Bas
MB> I have a DTR patch for 7.0, but the critical information should be
MB> the same for 7.1 (if it doesn't work for you, let me know (preferably
MB> via Netmail since I usually don't frequent this echo) and I will
MB> track it down for you).  As you know, to increase the efficiency of
MB> the compiled code several different libraries are used, and the patch
MB> should be applied to all of the following:  BCL7xAFR.LIB,
MB> BCL7xANR.LIB, and BCL7xEFR.LIB, BCL7xENR.LIB.
MB>
MB> Search for the sequence of "B8 07 0C CD 21", and patch it to read
MB> "B8 07 0C 90 90".  Basically, you are just NOPing out the interrupt
MB>21
MB> call.

      Mark (and all others), I think the above patch is for
the "Hit any key to return to system" patch to prevent a
QB\PDS program from waiting for a keypress after a
'crash'.  This is quite useful if one avoids on error and
has an elusive boo-boo that occasionally bites.  I believe
the DTR patch is :
  Look for this sequence:
  B0 00 E3 01 40 83 C2 04 EE
         change to ...
  B0 01 E3 01 90 83 C2 04 EE

Both of these should most likely be used in any program out
of the development stage.  Most any hex editor can be used
to locate the strings.  Note that some hex editors search
by ROWS on the screen, so if you do not find the search
pattern, adjust the search pattern a bit until you have
success.

                    Ron Pierce

--- VP [DOS] V4.09e
 * Origin: The Programmer's Inn - FeatherNet Home (619)446-4506 HST (1:10/301)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET