Re: Qb And Locked Com Por

 BBS: Inland Empire Archive
Date: 12-14-92 (11:19)             Number: 260
From: BRYAN LEGGO                  Refer#: NONE
  To: RICK STERLING                 Recvd: NO  
Subj: Re: Qb And Locked Com Por      Conf: (2) Quik_Bas
I doubt initialization strings make much difference in the lockup
problem. But did you see the recent discussuion here about how some
computer BIOS, when using standard QB com i/o routines will lock up when
the modem is on COM2 and it detects nothing on COM1? This is apparently
one of the things that has been causing ME problems. I missed the
original message with the solution but this code appears to have fixed
THAT problem....

DEF SEG = &H40
IF PEEK(2) + PEEK(3) = 0 THEN POKE 2, PEEK(0) : POKE 3, PEEK(1)

After this open the "Com" normally.

--- RBBSMail 17.3A
 * Origin: PCUG BBS - San Francisco HST/V.32 415-621-2609 (RBBS 1:125/41.0)
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