Microsoft KB Archive/35357

From BetaArchive Wiki
Knowledge Base

BLOAD Can Fail with Older Monochrome Cards; Newer Cards OK

Article ID: 35357

Article Last Modified on 11/21/2006

This article was previously published under Q35357


On older monochrome cards, BLOAD may not work correctly. The symptoms are that BLOAD displays only the first four lines of the screen and then garbage or nothing else. These symptoms are caused by a problem in the monochrome card. Updating the monochrome display card should solve the problem.

With Microsoft QuickBasic versions 4.00 and 4.00b and Microsoft Basic Compiler versions 6.00 and 6.00b, the problem occurs when loading either text (SCREEN 0) or graphics (Hercules SCREEN 3) with BLOAD. One customer also reported this behavior for Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10.

Code Example

'Note that this problem can also occur in screen 0:
DEF SEG = &HB000   ' &HB000 is starting paragraph of monochrome memory
SCREEN 3, , 0, 0
LINE (100, 100)-(300, 300)
BSAVE "test.img", 0, &H8000  ' &H8000 hex is 32,767 decimal
BLOAD "test.img", 0

Additional query words: QuickBas BasicCom

Keywords: KB35357