Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : LIBPATCH.DOC

 
Output of file : LIBPATCH.DOC contained in archive : QBFAQR01.ZIP
Date: 04-12-92 (19:51)
From: TOM HANLIN
Subj: QB PATCHES
------------------------------------------------------------------------

I spent some time today digging through the BCOM45.LIB code. Funny way
to get your kicks, I know. I took the opportunity to develop a few
fixes for things that irritate me about QuickBASIC. I've tested these
patches on my own system, but of course I can't guarantee 'em. They
appear to work fine with BCOM45.LIB (QuickBASIC 4.5 stand-alone .EXE
runtime support). They will quite probably also work with QuickBASIC
4.0-4.5 and BASCOM/PDS 6.0-7.1, but I haven't tried it. Anyway...

1) MAKE A BACKUP COPY of your BCOM45.LIB or whatever you plan to patch,
just in case.

2) Dig out your favorite debugger or disk editor. Haven't got one?
Pick up FED (File EDitor) at your local BBS.

3) Install patches of choice.

To prevent the COMMAND$ function from capitalizing the command line,
SEEK: 3C 61 72 06 3C 7A 77 02 34 20
MAKE: EB 08 90 90 90 90 90 90 90 90

To prevent OPEN "COM..." from destroying the BIOS comm data area,
SEEK: 1E 33 D2 8E DA 87 95 00 04 1F
MAKE: 1E 33 D2 8E DA 8B 95 00 04 1F
SEEK: 1E 33 D2 8E DA 89 9D 00 04 1F
MAKE: 90 33 D2 90 90 90 90 90 90 90

To prevent CLOSE or END from lowering the DTR on comm ports,
SEEK: B0 00 E3 01 40 83 C2 04 EE
MAKE: B0 00 90 90 40 83 C2 04 EE

Be advised that if you install that last patch, you will need to drop
the DTR manually if you want it lowered. My PBClone library can do
that for you.


  3 Responses to “Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : LIBPATCH.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/