Skip to content

Latest commit

 

History

History
100 lines (64 loc) · 7.4 KB

qb.md

File metadata and controls

100 lines (64 loc) · 7.4 KB

HomeVB 7+VB 1-6FBQB64 • QB45 • GW-BASICMicroRetro

Microsoft QuickBASIC, PDS BASIC and QBasic

Where can you find a download?

Tutorials

Third-Party Extensions

The following products from the company formally known as Crescent Software and Full Moon Software have all been generously made freely available (meaning public domain) (with source) via GitHub (linked below). You can also find more details on this directly from the original author (and, dare I say, legend) Ethan Winer.

There are many, many, many others that provided third-party tools...

  • Fastgraph for DOS: Assembly language graphics powerhouse providing not only raw speed but ease of doing so. This is an amazing product the deserves a solid mention for the DOS BASIC developer. Will also mention when combined with Fastgraph/Fonts and Fastgraph/Image you could pretty much accomplish anything in BASIC that could be done in any language available for DOS.

Resources

  • QB45.org: About programming in QBasic/QuickBASIC, the programming language that was developed by Microsoft.

Communities

Interesting Projects

GW-BASIC to QBasic

Summary

To run a GW-Basic program under QBasic, do the following:

  1. Convert the program in GW-Basic to ASCII format.
  2. Run QBasic with the /MBF switch.
  3. Load the program into QBasic.

Details

All QBasic programs must be in ASCII format. The GW-Basic program editor can save programs in the format QBasic requires. The file must be saved with the A option in GW-Basic. Otherwise, GW-Basic compresses the text of your program into a format that QBasic cannot read.

To convert the file to the QBasic format, do the following:

  1. Run GW-Basic.
  2. Use the LOAD command to load your GW-Basic program.
  3. Use the LIST command to verify your program's contents.
  4. Use the SAVE command with the A option to save the program. The A switch causes the program to be saved in ASCII format. For example:

save"",a

  1. Exit GW-Basic by typing SYSTEM at the GW-Basic prompt.

Once you have saved the program in ASCII format, you can then load the program in QBasic using the /MBF switch. MBF stands for Microsoft Binary Format, which is used for floating point numbers and calculations. It allows you to use your old programs and data without rewriting your programs or changing your files. For example, type the following command and press ENTER:

qbasic /mbf

You can determine if your program is in ASCII format by loading the program into QBasic. If it has strange characters or IBM extended character set characters, the program is probably not in ASCII format. End your QBasic session and save the file in ASCII format using the steps above.

To run the program in QBasic, from the Run menu, choose Start. If the program is converted to ASCII, it should run normally.

Libraries

QuickPak Professional is a programmer's toolbox of more than 500 BASIC and assembly language subroutines, designed to help developers improve the quality of their programs and complete them faster. Included are routines for windowing, access to DOS and BIOS services, searching and sorting any type of BASIC array, creating pull-down and Lotus(r) style menus, accepting data input, and much more. Extensive documentation (700 pages) is provided with additional tutorials on files, arrays, subprograms, sorting, compiling and linking, plus many other related topics. The manual is clearly written, and includes a wealth of information useful and pertinent for programmers at all levels of experience. We provide pre-built Quick and linking libraries for use with all current versions of Microsoft BASIC for DOS--simply load the appropriate library, and you're ready to go. The high-level routines written in BASIC are easily loaded as source modules.

Thanks to Gene Buckle for purchasing and releasing all of Full Moon Software's (aka Crescent Software's) tools to the public domain.

SUPER COOL PROJECTS!