QB Program Can Hang if Coprocessor Switch Is Set Incorrectly (32098)
The information in this article applies to:
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
This article was previously published under Q32098 SUMMARY
QuickBasic versions 4.0b and 4.5 for MS-DOS, and programs compiled
with Microsoft Basic Compiler versions 6.0 and 6.0b for MS OS/2 and
MS-DOS or its copy of QuickBasic, detect the presence or absence of a
math coprocessor differently than QuickBasic version 4.0 does.
QuickBasic version 4.0 loads and runs on a standard IBM PC even when
the coprocessor switch on the PC motherboard is incorrectly set to
indicate the presence of a math coprocessor when one is not actually
present. Programs run in QuickBasic versions later than 4.0 (in the
QB.EXE editor or from an executable .EXE program) will hang under
these same conditions.
If you suspect that the hardware switch for the coprocessor is set
incorrectly, type the following DOS command to turn off coprocessor
checking and try the program again:
set NO87="Coprocessor has now been disabled."
If the program now runs without hanging, then the hardware switch for
the coprocessor is probably incorrectly set to indicate that a
coprocessor is installed when one is not actually present. Another
possibility is that the installed coprocessor incorrectly has a speed
(megahertz) rating faster than the CPU (central processing unit) --
the coprocessor's speed must be equal to or less than the speed of
the CPU.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | KB32098 |
---|
|