These are files uploaded by QBS members. The QBasic Station owners retains absolutely no responsibility whatsoever for the contents of these files and cannot be held responsible for anything bad or good that results from these files to anyone who downloads the files. This applies to all QBasic Station visitors through all the world from now until forever. (Blame someone else for your problems, if you must). Download at your own risk.
| Member Files -> Functions/Subs |
| |
Copy of CURDRIVE.zip 270 downloads By intmaster 27 Mar 2010 (not rated) | Have you ever wanted to get the FULL path to your current directory?(drive+directory)
This SUB uses an interrupt call to return the current default drive, and puts it into drive$. Use with CURDIR$ to return the FULL path to your current directory. |
| |
getkey.zip 97 downloads By intmaster 27 Mar 2010 (not rated) | Have you ever wanted to use the Windows key in your program?
This SUB reads a key from the PS/2 port, and puts the scancode(NOT ASCII) in scancode%. Windows key=91.
You may also see some wierd numbers when useing a PS/2 mouse, because the machine treats both PS/2 ports as the same port. I suppose you could use this method to make a mouse program that works without a driver.
This program works on DOS and Windows, however, Windows intercepts the Windows key, therefore, you cannot use it when running Windows. |
| |
Copy of complete mouse function package.zip 124 downloads By intmaster 27 Mar 2010 (not rated) | This is a complete package that includes the following mouse functions:
read cursor position, button status
show cursor
hide cursor
jump cursor to x,y position
limit cursor movement on x axis
limit cursor movement on y axis
get speed of cursor
set speed of cursor
check state of mouse driver
reinstall mouse driver
enable driver
disable driver
This package contains many useful functions that other mouse programs leave out. These functions can be used with ANY screen mode.
Each function is in an individual SUB, so its easy to copy+paste them into your program. The functions are combined into a complete functional program that demonstrates their use.(requires Basic that supports use of interrupts)
Have FUN. |
| |
BMPFAST.zip 212 downloads By Clippy 22 Jan 2010 (not rated) | A fast SCREEN 13 bitmap loader that uses InterruptX. Included code shows how to Open, Read and Close Binary or Random files. The Open procedure returns a DOS file handle if a filename is found. The handle is then used in the rest of the program. Uses QB4.5 with the Library loaded: QB.EXE /L
Does not create mistyped filenames or QB errors! 8 BPP(256 color) palettes only!
Great for loading 320 X 200 fullscreen bitmaps! |
| |
QB45.zip 458 downloads By Clippy 3 Nov 2009 (not rated) | The name says it all! Unzip to a NEW QB Folder. Click on QB.exe. At the welcome screen hit Escape key and goto the Options Menu. Set to Full Menu for all of the program menues to appear and get rid of the welcome screen forever!
This version of QuickBasic has a COMPILER to make EXE files!
Includes the QB Help Demo files. Added Money.bas, a financial demo. Updated some Demo examples 11-3-09.
Includes a FIX BAT file for NT or XP if Qbasic will not run properly ONLY.
Recommend Q-Basics.zip Demo in member files for new programmers! |
| |
DIR-PIPE.zip 367 downloads By burger2227 29 Apr 2009
 with 1 vote | Create your own FILES list that does not scroll too fast to read! This routine uses a DIR SHELL to pipe BAS filenames to a file. Then it converts the name data to a Screen 12 format that can display 156 files per page.
You can change the SHELL statement to find any or all kinds of files. Each time the program is run, you get an updated list of files. Use Notepad to read the .DIR files. I may add a mouse click option to open a file by sending the filenames to a string array. You CAN use the filenames in ANY procedure! |
| |
videoprt.zip 487 downloads By burger2227 28 Mar 2009 (not rated) | A FIX for NT, XP and W2K 32 bit machines when you cannot use Qbasic's fullscreen modes. Will NOT work in Vista!
Get rid of having to use DOSBOX with this VESA fix! It actually is a problem created by some video drivers. |
| |
FakeIDE.zip 372 downloads By burger2227 23 Mar 2009 (not rated) | Text and graphic program that creates a fake Qbasic IDE in Screen 12. SUB programs can be used to create graphical text foreground overlays without the black PRINT background! You can even display black text.
TextSave places the 16 row byte settings as ASCII characters to the S string array. Can be set up to return ASCII codes 1 to 255! Only a few control characters (below 32) will not display! Only needs to be run once at start of program.
SetText converts the normal text row and column settings to graphics and places the appropriate pixels with PSET. The text value is any string or character that you might normally print. You could make your own SUB to use any graphic coordinates if you need to. |
| |
SnapShot.zip 513 downloads By burger2227 4 Jan 2009 (not rated) | Creates Screenshot Bitmaps of QB Screens 9, 12, or 13. Use the FourBit or EightBit SUB's in any program to get a screenshot. FourBit fullscreen takes about 8 seconds, but EightBit is only about one second. You can use the FourBit for 9, 12 or 13 (16 colors) bitmap images. EightBit is Screen 13 (256 colors) only. Includes Demo code in module.
Original program by Bob Seguin. Updated by me in 2008 for speed issues caused by POINT. |
| |
BICLOCK.zip 533 downloads By burger2227 30 Jun 2008 (not rated) | Binary Clock showing Hours, Minutes and Seconds in each row. A good way to learn how binary works with the transistor on - off switches used on computers.
Designed like a binary watch I found on web. Good screensaver too! |
| |
Ffiltro.zip 444 downloads By xkrouhn 19 May 2008 (not rated) | This is a filter of text / numbers / chars.
a$: the text to filter
b$: the text patron
|
| |
WEEKDAY.zip 632 downloads By burger2227 10 Nov 2007 (not rated) | Two modules find the weekday name for Gregorian calendar years over 1582.
WEEKDAY.BAS has a string Function that can show today's day or any date day you enter. It needs Integer values for the month, day, and year. If a year is under 1582 function returns "Invalid Year".
WEEKDAY2 is just a condensed version of the formula and only finds today's day name.
EASTER.BAS module for Easter date by year.
|
| |
IMouse.zip 661 downloads By burger2227 8 Nov 2007 (not rated) | This is an Interrupt routine that directly replaces an Absolute Mouse using a NEW MouseDriver SUB. Works with QuickBasic 4 up and requires that the Library is Loaded (QB.EXE /L)
Add EX to the SUB parameters if you have a lot of old Absolute calls from the original MouseDriver SUB (AX, BX, CX, DX, LB, RB, EX). It won't use it however.
Has full explanation of all the MouseDriver calls |
| |
DMESSAGE.ZIP 542 downloads By MarineDon 26 Oct 2007 (not rated) | DisplayMessage may be used as (1) a SUB which can be used to pop up a message box in a running program, (2) a stand-alone program as a text browser and (3) a text browser compiled with FreeBASIC 0.17. With the latter, there are simply NO memory problems.
View the screen shot at:
http://www.smithselfgen.com/QuickBasic/DisplayMessage.Htm
View the BAS code at:
http://www.smithselfgen.com/QuickBasic/DMESSAGE.TXT
Regards, MarineDon |
| |
DOSBox0.72-win32-installer.zip 633 downloads By burger2227 13 Sep 2007 (not rated) | A virtual DOS system set up for Qbasic users that have problems running Qbasic and QB graphics fullscreen.
If you are using an XP, NT or W2K 32 bit OS then try the Videoprt ZIP program above FIRST!
Newest version supports 64 bit PC's too. Allows QB graphics (non screen 0) programs to work on XP, NT, and VISTA. |
| |
NewMouse.zip 650 downloads By burger2227 13 Sep 2007 (not rated) | This program adds an Absolute mouse routine to an existing BAS file or one it creates. I advise creating your new BAS file with this and then add your code or you will need to edit it! Qbasic will set the SUB when it is opened. USE the LIBRARY to run the program in QB4 or above! QBasic does not need a library.
There is also a batch file to run QB4.5 with the library in XP or Win 9x. Edit out the wrong OS with REM. There is a display at the top for button locations and other mouse functions.
Uses PRINT # to write the BAS file and will work in any QB version. |
| |
GLASSES.zip 525 downloads By debiani386 7 Jul 2007 (not rated) | A glasses object.
Note this one has a red background to aid in bringing out the black frames.
(i used the line command to draw out the background because this object uses screen 13) |
| |
blueball.zip 528 downloads By debiani386 5 Jul 2007 (not rated) | this is a blue ball sprite |
| |
PAPER.zip 530 downloads By debiani386 4 Jul 2007 (not rated) | a little paper object. |
| |
BALLOBJ.zip 473 downloads By debiani386 4 Jul 2007 (not rated) | this is a little ball object |
| |
RPGSprite2.zip 479 downloads By debiani386 4 Jul 2007 (not rated) | this is my second RPG sprite. |
| |
Rpgsprite.zip 517 downloads By debiani386 4 Jul 2007 (not rated) | This is part 1 of my my RPG sprite series. |
| |
TEXT FUNCTION.zip 496 downloads By debiani386 4 Jul 2007 (not rated) | this text function is a spin-off of jacks "prnt". This one is more commented then jacks, however it doesnt have the custom font like jacks does. |
| |
ABSMouse.zip 651 downloads By burger2227 7 Apr 2007 (not rated) | ABSOLUTE mouse routines for SCREEN 0 and 12 using PEEK and POKE. SCREEN 0 is for text only and 12 has the highest graphics resolution. Includes Library.bat to start QBasic with the library(2 options are for XP / NT or Win 9x). Just edit the bat file.
You can also try to sketch a drawing in them with the left mouse button down!
Note: Screens 7 and 13 will need to divide H by 2 in the PSET. This mouse can only show, hide or get the coordinates and button clicks! 4/7/07 |
| |
RelLibv5.zip 565 downloads By burger2227 28 Feb 2007 (not rated) | A graphics QB4.5 library I found that may be of use for games. Includes everything from sprite manipulation to using XMS. For Windows 9x or DOS only!
I would appreciate any comments about this library! Contact Burger2227. 2/28/07 |
| |
peekpoke.zip 763 downloads By burger2227 25 Feb 2007 (not rated) | Information about the DOS BIOS and PEEK and POKE routines. Everything from the keyboard scan codes to port settings. NOTE: XP and NT will not allow POKE to change some settings! Windows 95 to ME will.
Two text files that can be used in notepad to transfer the code to a QB text saved module also opened in notepad. |
| |
chalsrc.zip 568 downloads By mik3ca 12 Feb 2007
 with 1 vote | Was Burger's programming challenge too hard?
It's ok, because the answer is here, in source code. Just download this zip, and run the BAS file in any Qbasic IDE.
Run it, and it will function exactly the same as the EXE from chal.zip. |
| |
WMouse.zip 631 downloads By burger2227 7 Feb 2007
 with 1 vote | Mouse program that finds a circular shape when pointer is over it or clicked on. I made this program for circular mouse buttons using a special routine. SINe-COSine in CMOUSE.BAS and distance routines included in WMOUSE.BAS! The SIN-COS routine is also used to highlight the button. Includes LIBRARY.BAT to load library! Thanks to Seabiscuit for distance routine idea! UPDATE: WMOUSE shows distance calculations and hypotenuse of the distance triangle made at mouse click. BAS and EXE. 9/17/07 |
| |
QB45.zip 983 downloads By burger2227 4 Feb 2007
 with 2 votes | The name says it all! Unzip to a NEW QB Folder. Click on QB.exe. After the welcome screen hit Escape key and goto the Options Menu. Set to Full Menu for all of the program menues to appear and get rid of the welcome screen!
This version has a COMPILER to make EXE files!
Includes the QB Help Demo files. Added Money.bas, a financial demo.
Includes a FIX BAT file for NT or XP if Qbasic will not run properly ONLY.
Recommend Q-Basics.zip Demo in member files for new programmers! |
| |
chal.zip 480 downloads By mik3ca 22 Jan 2007 (not rated) | This is a compiled program that satisfies Burger2227's programming challenge. See:
http://qbasicstation.com/index.php?c=f_forum&messageid=1750
for more info.
The source is NOT included because the challenge is not yet over. Once it is, I will provide the algorithm. Until then, you can run the EXE's.
As an added bonus, I included another EXE that uses the same algorithm but involves symbols instead of numbers!
All of this works in text mode. |
| |
WordSplit.zip 674 downloads By 1 Jan 2007 (not rated) | This is a sub-routine I wrote to seperate every single word in a sentence or user input so they can be put into an array or anything you like. |
| |
QBSUBFUN.zip 879 downloads By 1 Jan 2007
 with 1 vote | Many misc subs |
| |
Mouse.zip 795 downloads By 1 Jan 2007 (not rated) | Sub-routine to add a mouse to any program you wish to use it in. |
| |
fraction.zip 599 downloads By QBS_Admin 18 Sep 2006
 with 1 vote | Here is a function that will convert any number into its whole and decimal parts and represent the decimal with a fraction. Accurate to 1/1000, this program will show some strange fractions.
It is by no means very efficient, but when this is a program for school, it is good enough. |
| |
fract.zip 535 downloads By Cammaaron 18 Sep 2006 (not rated) | Its a program I made with a little help from the forums. You put in a number and it shows it as a mixed fraction. |
| |
porttalk22.zip 886 downloads By burger2227 27 Jul 2006
 with 1 vote | Helps XP or NT users with QB programs to access their ports. Can access serial, parallel and game ports. Make an alarm system that calls police using a port sensor. Once a port is accessed, you do not need to use this again until you close the Windows session! Follow my instructions in Readme text file. Port information can be found in the Member Files, Demo program Q-Basics chapter 11. Updated 9/24/06 |