VOGONS


First post, by keenmaster486

User metadata
Rank l33t
Rank
l33t

Made a YouTube channel to documents some of the projects I do.

First video here: Writing a Sorting Algorithm Visualizer in Quick Basic on an IBM PC/AT 286

May interest some of you. Hope you enjoy it. I like doing relaxing small projects like this. It's nothing special, and my code isn't great or anything, but it's a good way to have some fun with these old machines after getting them running again.

Source code from the video here: https://pastebin.com/zrmrgF75

Last edited by keenmaster486 on 2023-05-11, 00:21. Edited 1 time in total.

World's foremost 486 enjoyer.

Reply 1 of 6, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Cool, I like it! 😃👍 As a child, I was watching COMPRESS doing its job (COMPRESS was like DEFRAG). It had an hypnotic effect on me, kind of.
Thumbs up for using QBasic/QB, too! 😊👍

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 2 of 6, by Disruptor

User metadata
Rank Oldbie
Rank
Oldbie

Ha. And I could not wait for the sound from Norton's SpeedDisk.

Reply 3 of 6, by doshea

User metadata
Rank Oldbie
Rank
Oldbie

Cool! QuickBASIC 4.5 actually came with an example very much like this (SORTDEMO.BAS), but doing it yourself is much more interesting and now I'm tempted to try it out too, but I'd need to get out my algorithms textbook from university to actually remember what the different sorting algorithms are 😁

Reply 4 of 6, by keenmaster486

User metadata
Rank l33t
Rank
l33t
doshea wrote on 2023-04-04, 01:37:

Cool! QuickBASIC 4.5 actually came with an example very much like this (SORTDEMO.BAS)

Oh, wow. I didn't know that. My old copy of QB45 didn't come with that program! Just downloaded it and tried, much more refined than my version of course. Interesting.

World's foremost 486 enjoyer.

Reply 5 of 6, by Jo22

User metadata
Rank l33t++
Rank
l33t++

There were different versions of QB4.x, apparently. Version 4.0, 4.5, 4.51..

Also worth a try are Visual Basic for DOS and PDS Basic 7.x, I think.

VB DOS is directly based on QB45, but got a form designer and some extra Syntax from VB/Win.
However, these features are optional. It's possible to open *.BAS files as it was possible in QB45.
With a few exceptions (no Olivetti graphics mode anymore), it can compile QB45 programs without modifications.

PDS 7.x.. It's not based on Quick Basic. It relates more to M-BASIC, the professional predecessor to GW-BASIC/QuickBasic.
It can use Expanded Memory, can compile OS/2 compatible programs, etc pp.

Edit: There's also Turbo Basic / Power BASIC. Quick Basic's dark nemesis!
It can optimize for different CPUs, use different types of floating math etc.
But beware, the CGA support is flakey (Power BASIC). I ran and quit a CGA application multiple times, then it no longer worked correctly. Anyway, just saying. 😅

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//