Microsoft KB Archive/34812

From BetaArchive Wiki
Knowledge Base

How to Make QuickBASIC Smaller to Fit on Bootable Floppy Disk

Article ID: 34812

Article Last Modified on 1/8/2003


  • Microsoft QuickBasic Compiler for Macintosh 1.0

This article was previously published under Q34812


QuickBASIC for Macintosh is not shipped on a bootable disk. On a hard disk, there is room to put both the System Folder and QuickBASIC on the same drive. With no hard disk, first boot the Macintosh from an Apple System disk in one floppy drive, and then run QuickBASIC from another floppy drive.

QuickBASIC is fairly large, and you may have difficulty putting it onto a single bootable floppy disk. The binary (b) version of QuickBASIC is too large to fit on an 800K disk with System 6.0 and Finder 6.1. The decimal (d) version is smaller because it only has one MBRL resource, whereas the binary version has two. You can use Resedit to make QuickBASIC smaller by removing resources you do not need, as explained below. Before using Resedit to remove the resources, be sure you are working on a backup version of QuickBASIC. Never use Resedit on files located on the original distribution disks.


If you do not need support for the 68881 (the math coprocessor chip available on the Apple Macintosh II), you can remove the MBRL id=2 resource from the binary version of QuickBASIC. This will free up 42K. This should be sufficient to put Microsoft QuickBASIC (b), System 6.00, and Finder 6.10 all on one 800K disk. Alternatively, you could make a 68881-only version by deleting the MBRL id=0 resource from Microsoft QuickBASIC (b).

If you do not need the online help features of QuickBASIC, you can remove the MBKI resource that contains help information on reserved words (10K) and the MBTI resource that has information on library routines (12K). If you are really desperate for disk space, you can remove the MBLC library routines you do not plan on using (22K).

Additional query words: MQuickB

Keywords: KB34812