home *** CD-ROM | disk | FTP | other *** search
-
- Brent's QBasic Toolkit
- (C) 1991 by Brent Ashley
-
-
- The QBasic interpreter bundled with DOS 5.0 is a subset of
- Microsoft's QuickBASIC compiler - one of the most powerful and
- easy-to-use programming environments available. The language is
- extremely well suited to modular, structured programming, and the
- integrated development environment with its threaded p-code
- interpreter, smart editor, and online hypertext help make it the
- most productive programming tool there is.
-
- While QuickBASIC is easily extended with external libraries for
- both the compiled and interpreted environments, QBasic's only link
- to external routines is via the little-known CALL ABSOLUTE procedure.
- With some understanding of the QBasic/Assembly language interface,
- it is really quite simple (well, assuming you know ASM) to extend
- QBasic and increase its power and speed dramatically.
-
- This package contains three assembly-language routines for
- QBasic, complete with source, each of which adds a new and
- powerful ability:
-
- IntCode - DOS/BIOS Interrupt calls
- SLBox - Fast box drawing
- MemCopy - Fast Memory Block copying
-
- The routines are saved as binary images in .BIN files, which
- need to be in the current directory (unless you change the LoadBin
- function to include their path) when the program is run. The
- DEMO.BAS program shows how these routines can be called and used,
- and provides the support routines necessary to load and run them.
- TEMPLATE.BAS contains the routines necessary to start writing a
- program that uses the BIN routines. The .ASM files are not
- necessary for the routines to run, but are included for
- educational purposes.
-
- The demo program uses the BIOS to print strings to the
- screen. The BIOS function it uses works only on AT machines, or
- XTs with BOS dated 1/10/86 or later, so PC and XT owners will miss
- out on some of the demo.
-
- These programs are yours to use - FREE. If you really need
- to send money, send it to your favourite charity instead. Learn
- from the source listings here, become a master programmer, and
- release your own freeware - maybe I'll find it useful, so we're
- even.
-
- I can be reached in the QuickBASIC conferences of NorthAmeriNet,
- InterLink, or RelayNet(RIME), or at my address below.
-
-
- Brent Ashley
- 8 Darnock Court,
- Brampton, Ontario
- L6Z 2X3
- CANADA
- (416)846-0541 evenings
-
- brent.ashley@canrem.uucp
-