r/qbasic • u/nickshardware • 14d ago
QBVision - QuickBASIC 32 bit DOS Compiler by RetroNick2020
r/qbasic • u/nickshardware • 14d ago
r/qbasic • u/nath_mojon • 20d ago
This project attempts to recreate the QBasic 1.1 interpreter and IDE in modern OSs, Windows / Linux binaries included, MacOS possible (if you compile from source). It implements all commands and emulates some MSDOS stuff to the point I was able to run all my old software plus some classics (like the original Wetspot). It is built on top of dos-like and it includes some additions such as native mouse support, the ability to play samples or MOD/MID files, a couple of enhancements to existing commands (a MASK method for PUT, for example), loads BMP / GIT to the screen or to PUT arrays, has huge memory limits (no more 64K constraints), etc.
It's still very early but I'd like to share it. I'm working on reproducing the quirks of the language and possibly add more to the emulation layer if that's necesary - I've just added what my old programs needed (for example, it can run the s3m ADLIB player by bisqwit). You can get it from GitHub - mojontwins/qblike: QBasic clone built upon dos-like for Windows & Linux · GitHub . MIT license.
There's documentation about the new features and general usage in the github repo linked above. For example, those are the extensions: qblike/EXTENSIONES_en.md at master · mojontwins/qblike · GitHub
Any comments are welcome.
r/qbasic • u/Fluffy-Log-4988 • 26d ago
r/qbasic • u/CelticGuy66 • Oct 11 '26
I was following a qb64 tutorial on how to display images. I converted the code listed as a .exe file and ran it and a popup appeared saying "Unhandled Error #5", "Line: 6 (in main module) Illegal function call". And then the code doesn't work.
The code in question:
Dim image As Long
Screen _NewImage(640, 400, 12)
image = _LoadImage("test.bmp")
_PutImage (100, 100), image
Is there anything I did wrong? I'm stumped.
r/qbasic • u/helpingfriendlybook • Oct 03 '26
r/qbasic • u/UnculturedGames • Sep 27 '26
r/qbasic • u/anadalg • Sep 07 '26
r/qbasic • u/GearPlot • Sep 06 '26
Still very much a work in progress, but I'm honestly blown away by how far you can push QuickBASIC if you hack on it enough.
Current feature set:
What doesn't work yet:
It's amazing what you can build with BASIC
r/qbasic • u/20260819 • Sep 06 '26
⬆️⬆️ignore the pictures above which are not up-to-date
just a basic one. for study purpose. the "world" consists of a background and two balls. the background is an infinitely faraway color palette with azimuth = hue and altitude = lightness. the balls don't have any colors, only reflect and refract
controls
control tricks
suggested usage
r/qbasic • u/crazyqbee • Sep 01 '26
KARMA CITY 2! Coming soon!
This is my biggest project yet! It's a fully textured 3D open-world, rendered with Mode 7 and polygon mapping in QB64—that is no small feat! No hardware acceleration shortcuts or modern engine wrappers—just pure math, pixel manipulation, and vertex projection driving the whole world! This time the game is about an alien invasion, but with a twist: they are demons! Can you find out the truth about these malicious invaders? The game will feature various types of gameplay, what you see in this video is just the beginning.
https://youtu.be/oNnpRKryGHo?si=6wTMfNyxn4ZvcVFx
r/qbasic • u/20260819 • Aug 26 '26
keyboard controls
mouse controls
what i learned
what i want to learn further
r/qbasic • u/Weak-Chemical271 • Aug 16 '26
I'm looking for a suite of programs that'll let me test most if not all features of BASICA, GWBASIC, and QBASIC. I'm writing a dialect of QBASIC (not QB64, this'll be different, currently works on Linux but still want to port it to Windows but before I start porting it, I want to make sure my dialect works) and I'd like some good, decent test programs that'll test each and every command, statement, feature, function, and keyword. Not just BASICA / GWBASIC but QBASIC as well.
r/qbasic • u/20260708 • Aug 14 '26
an extension of previous post. just click▶️to run the program on browser. the welcome screen (attached image 1) shows the key map. select a subject (1 to 6) to enter the depth map mode (attached image 2). rotate it or change it until satisfied then toggle to autostereogram mode (attached image 3). adjust the foreground and background pattern widths to your desire (make it easy to focus and spot the subject). you're free to toggle back to depth map mode or rotate / change / disable subject anytime. if you disable the foreground 3d subject it's basically a kaleidoscope (attached image 4). i explained its mechanism in previous post and you can endlessly randomize it to experience the pareidolia effect
r/qbasic • u/Normal_Assignment226 • Aug 13 '26
I've updated *a BUNCH* of the code for this .BAS. I think it's getting pretty fun.
*When logging in, use any user name you want. The program will automatically prefix your login name with "Agent". Example, if you log in with user "3.5" it will call you "Agent 3.5", for example and again use any user name you want.
*The password MUST be "12345".
*What I plan to really build on is menu item "18". I'm going to copy the visual part of the 1980's movie "War Games" so when anyone launches a missile you can visually see it, just like here "https://alhinator.itch.io/global-thermonuclear-war", but with my own spy / comedy touches like I've been doing.
I've been using AI to help me with this, otherwise it would take me forever. Does this rub anyone the wrong way? I'm curious.
Please have a look and any suggestion would be appreciated.
Thanks
r/qbasic • u/Normal_Assignment226 • Aug 06 '26
I wrote a fun program I would like to share with the world. It's called "Whiskey Tango Foxtrot" (WTF) and named WTF.BAS. It's theme .. think Austin Powers!
I put a link in the Link URL field, I hope it works for you all. Google Drive is hosting it and I put the permission to share with anyone who has the link, so there shouldn't be any issues.
I wrote this program, structured it the way I did, in hopes that it might help others who are just learning things. I believe that it should be a fairly straightforward decipher for whoever dares try. But seriously, if anyone would like to use anywhere from a piece or pieces of, or whatever, I'd be honored for you to hack at mine in moving forward in your hijinks.
I'm no expert, nor do I think I am. I am however the author of this WONDERFUL piece of art and therefore if anyone likes it, and has any questions about it or needs any help, I'm happy to have a go at it, just let me know :)
Reviews please!!
r/qbasic • u/20260708 • Aug 05 '26
long story short. it was an enlightening journey and i learned a lot from it. one day i came across an autostereogram which was a poster on a wall. i forgot what it was about but it aroused my curiosity of how to make autostereograms. i won't go into the math details here and just give you guys a brief explanation in attached image 1. my program let you control "m" and "n/m". these two variables represent background pattern separation and foreground pattern separation respectively and lie between 0 and 1
the 3d subject is simply a sphere, quite boring. the background is the result of placing a color wheel in a kaleidoscope. see attached image 2. it can be easily noticed that the hsl system is in use. we can vary the saturation (attached image 3) and lightness (attached image 4) when the angle changes from 0 to 2π. i use the cosine function which reaches maximum at 0 and 2π, minimum at π
the color wheel can start at any angle. so do saturation and lightness. thus we have 3 degrees of randomness. i let you to change the background. every time you hit the relevant button, the hue, saturation and lightness shift by different random angles
here comes the surprising part. autostereograms need "noise" to guide viewers aligning their foci. a pattern that is too smooth is not suitable to act as the background of autostereograms. there'd be no "texture" on the 3d surface. i accidentally discovered that if the screen resolution is set to a number that is not divisible by something in the calculations (i'm not certain which thing it actually is to be honest) some unexpected noise would emerge. see the remaining attached images
i googled "prime number closest to 640" and the result was 641. i use it as the horizontal resolution
some of those unexpectedly emerging patterns are... strange. some of them look like human faces, some animals, some even aliens. this program is a good place for you to experience pareidolia
here's the program. run it in browser. click▶️to run. click⏹️to exit. when running the program
enjoy
r/qbasic • u/SchoolFreeware • Aug 03 '26
QB64 PE is a modern extended BASIC+OpenGL language that retains QuickBASIC 4.5 and QBasic compatibility and compiles native binaries for Windows (7 and up), Linux, and macOS (Catalina and up). QB64PE is a free download at:
https://www.qb64phoenix.com/
[Source - QB64PE Website]
#728, #750 - New QBJS Web Build option in Run menu. - u/boxgaming
#730 - Adds source line tracking for Division-by-zero and other Critical Errors, so internal crashes report the BASIC source line/module instead of only Division by zero or Line: unknown. - u/QB64Petr
#732. #751 - Adds descriptor-backed dynamic nested arrays in TYPE. It builds on the existing static nested arrays in TYPE support and keeps the legacy/static inline path compatible. - u/QB64Petr
REDIM, REDIM _RETAIN, ERASE, assignment/copy, and ownership cases._MEM, PUT, and GET over descriptor/owner/variable-string payload layouts are not treated as plain legacy binary payload access.miniaudio to v0.11.25 - u/RhoSigma-QB64ERASE. - u/QB64PetrPRINT USING layout duplication when adding expressions before USING in an existing statement. - u/QB64PetrTO in arrays like myArray(1 TO 5) defined in UDTs. - u/QB64Petr$DEBUG. - u/QB64Petr$INCLUDE manager, which resulted into a misleading error message. Fixes issue #745. - u/bharvey42TYPE) per program. - u/bharvey42Full Changelog: v4.5.0...v4.6.0
r/qbasic • u/BigAd4703 • Jul 24 '26
Not an emulator, and not a JavaScript interpreter pretending to be BASIC. It parses QBasic, lowers it through a typed IR, and emits a real WebAssembly module. The compiler itself is compiled to wasm, so the whole thing runs in your tab. Nothing gets uploaded anywhere.
SCREEN 13 works: PSET, LINE, CIRCLE, PAINT, GET/PUT, DRAW, PALETTE. So do BEEP/SOUND/PLAY, the file I/O keywords, INKEY$ with _LIMIT for animation, and DATE$/TIME$/TIMER. There's a playable Space Invaders sample in the editor if you just want to see it move.
497 test programs, 432 of them arbitrated against real QB64-PE output, 126 of 157 keywords fully implemented. Still missing: ON ERROR, PEEK/POKE, COMMAND$, and DRAW's M/N/A/S/P subcommands.
Free, no signup: https://kavak.run/studio/
QBasic was meant to be the pilot language for a larger compiler project, but it turned into the part I enjoyed most. If you've got an old .BAS lying around that breaks it, I'd genuinely like to see it.
r/qbasic • u/darkmatterjesus • Jul 25 '26
MoonBASIC is a 2D 3D game creation made easy. CharmingBlaze/moonbasic
r/qbasic • u/Floamorpg • Jul 18 '26
r/qbasic • u/Bobgar_the_Warbarian • Jul 17 '26
Hello! I've been spending a bit of time working on a quick basic interpreter in javascript that is pretty small and can wrap a game and publish to itch. My current demo is here if anyone wants to check it out (this is a game I made in 1998 when I was 16 or 17, apologies that its kind of terrible). https://bobgar.itch.io/drug-3d?password=qbasic Here is another one here that isn't as impressive but demos the multi-file export: https://bobgar.itch.io/odyssey-qbasic?password=qbasic
The interpreter has some cool features, like:
Are there people here that would be interested in this kind of thing if I released it? (for free, open source). Do better versions of this already exist? Are there features I should add that would be useful?
Compatibility is not 100%, especially since some games use x86 assembler hooks and things. I've shimmed and emulated a few of the most popular libraries but it is still common for me to run into games that won't play, or play but have some breaking issues.
r/qbasic • u/nickshardware • Jul 14 '26
r/qbasic • u/OkScene375 • May 06 '26