r/qbasic • • Nov 30 '21

Can someone help me with a school project??๐Ÿ™๐Ÿป๐Ÿ™๐Ÿป

0 Upvotes

r/qbasic • • Apr 04 '24

Building a computer OS on BASIC

1 Upvotes

I am new to BASIC and I know a little bit of the basics of BASIC and I decided I am going to build a computer OS I am not going to use visual basic just plain qb64 if anyone has any tips pls give them to me thank you for your time and good day


r/qbasic • • Aug 10 '25

Anyone using AI to code in Basic? Qb64/Qbasic/Quickbasic/Freebasic

Thumbnail
gallery
3 Upvotes

Wow.. This is pretty cool.

I got it to write a really neat fractal lab explorer program with like 15 fractals, including ones I hadn't seen before. 32bit colour and high res.

Eventually though, the code becomes too complex and AI shits itself. It also seems to make quite a lot of typos and mistakes that it doesn't do in other languages nearly as often. Python it's just cut and paste usually. Often I have get four or five revisions to get it pretty good and some bug hunting as well by myself. It would be nice if the interpreter found all the mistakes and line numbers so I could just cut and paste to AI, or the interpreter just called the AI API itself and fixed it.. But things that would take hours can be done in mere minutes.

What was great was being able to to code from scratch from just an idea.. Cool graphics routines, demos, etc. Adding features was also good, particularly if it was just a new sub and you could just keep it simple and cut and paste it in..

Some ideas for you to try:

  • Fractal generators - Wow, modern hardware make this very fast. I remember these on 386s and 68020 macs taking forever.. Now they literally just grow right in front of you out of the darkness. I used linear single colour 255 palettes, over writes increase in intensity, then have options for palette cycling. I have a couple of different programs now, written by different AI's, they all tend to have their different preferred fractals..

  • Demo effects, like flames, bouncing text etc. Star fields etc.

  • Chatbot - AI writing its own chatbot in basic. Maybe start of more of an eliza type, or markov chain improvement

  • Sound programs - AI writing musics..

  • 3D graphics - Coding this stuff always hurt my head, particularly coding off the top of your mind, no planning or anything. But 3D graphics with out 3D libraries, like DOS style.. terrain generators, spinning pyramids, wire frame etc..

  • AI text and fonts.. Getting AI to write a whole routine for converting text into hardcoded font made up of pset or line statements. Getting AI to put a bunch of data into data statements is nice, I never really used data statements before, but now, AI can generate stuff so I don't need other files or anything.

I would love to hear what other people are doing that is cool. AI seems to be pretty knowledgeable about programming in general, so things that were popular to do in other languages can now be easily ported to basic.


r/qbasic • • Sep 16 '20

does anyone know why this is a syntax error

Post image
4 Upvotes

r/qbasic • • Dec 06 '22

Pattern Printing help

Post image
2 Upvotes

r/qbasic • • 26d ago

please come to the Quack dos project i need some people

Thumbnail reddit.com
2 Upvotes

r/qbasic • • Jan 21 '24

QB64 Issue

0 Upvotes

When I try to run a program with Shell, it ope-closes.


r/qbasic • • Nov 13 '23

Codin' a shell

0 Upvotes

Hi! I'm coding a shell in QBasic, but please help me... Here's my code and what commads you be in. Help debug etc..

'SymphonySoft, quickOS 1996

Print "quickOS [version 1.0]"

Print "(c) 1996 SymphonySoft, Adam El."

'Commands

Print

Print "Type help to print on screen a list of all commands"

Print

Input usr_com$

If usr_com$ = "help" Then

Print "sysInfo; diskInfo; msg; script(code); time; tree; vol; set; label; rmdir; mkdir, del; find; recover; path; quit; cls;"

End If

Print

If usr_com$ = "msg" Then

msg = input

Print msg

End If

Print

Input usr_com$


r/qbasic • • Nov 30 '23

Do a paste system in qbasic

0 Upvotes

I have just 3 more things to finish FBD. But now, the first of the 3, how to make a copy&paste system in qb64 ?? Like you go in the console, you copied text from a document or other and you want to paste it in console ? How to please.. And copy text from it (console).


r/qbasic • • Dec 04 '23

Do a paste System with qbasic.

0 Upvotes

[UPDATEDD] Hey!! How to use qbasic to do a paste system with _CLIPBOARD and the mouse ? (Like, when we press one of 2 buttons of the mouse it pastes). It's for FBD. and QuickOS.

'FunnyBones Departement

Rem Init Code

$ExeIcon:'./pngkit.ico'

Const bio$ = "FunnyBones Broadcast, 2015"

_Title bio$

Const initial = "1996 10 12"

Const revision = "2023 11 15"

Rem Main Part, contains main code

Cls

Print bio$

Print "Undertale Jokes, that's all. Except for some Game Dev.."

Print

Dim t As String, c As String

Dim i As Integer

Do

Print ">";

If _MouseButton(1) = True Then

'Code Logic

End If

Line Input t

i = InStr(t, " ")

If i Then c = Left$(t, i - 1) Else c = t

Select Case LCase$(c)

Case "fuck": Print "Pap': Kids are watching !"

Case "bastards": Print "Pap': Kids are watching !"

Case "dickhead": Print "Pap': Kids are watching !"

Case "bastard": Print "Pap': Kids are watching !"

Case "jerk": Print "Like you and Chara"

Case "trash": Print "Like you, and Alphys"

Case "Asshole": Print "Like you"

Case "bitch": Print "Stop."

Case "Gaster": Exit Do

Case "Woshua": Print "Clean Name"

Case "echo": Print Mid$(t, i + 1)

Case "hnd": Shell "Software Enhaced Help.hnd"

Case "exit": Exit Do

Case "cls": Cls

Case "issue": Print "Go to github.com/EvrestRGB/FBD/issues"

Case "puns": Shell "max20_puns.exe"

Case "sans": Shell "max20_sans.exe"

Case "ver": Print "revision: "; revision: Print ""

Case "conduct": Shell "CODE_OF_CONDUCT.md"

Case "links": Shell "links.txt"

Case "ftp": Shell "ftp.exe"

Case "time": Print Time$

Case "links":

Case "duck":

Print "I see.."

Shell "updated_dack.exe"

Case "help":

Print "EXIT - exit the shell"

Print "CLS - clear the screen"

Print "ECHO - displays written message in Console"

Print "FTP - opens FTP mode"

Print "PUNS - display puns"

Print "SANS - display sans and toriel jokes"

Print "LINKS - display some links"

Print "VER - display version"

Print "HELP - display this help"

Print "HND - advanced software help"

Print "ISSUE - display issue methods"

Print "CONDUCT - Displays code of conduct"

Print

Case Else

Print "Bad command. Running files not implemented yet.": Print

End Select

Loop

System


r/qbasic • • Nov 24 '23

SERCH SOMEONE TO MAKE AN AUTHENTICATION SYSTEM

0 Upvotes

Hello! I have multiple projects at same time but that'll finish (FBD, quickOS and this). By this, I mean a BBS.. I am coding a BBS, where we can share files, post messages, download shared files and run a bunch of pre-integered softares (like FBD will be) with FTP. Everything will be in my web server.

OKAY. I already have the FTP client and server. Now, just create an authentication system that'll create a file and auto-send it to the FTP server. This file will be a simple DAT file containing username and password. To authenticate, the program will compare the file to the server, and after it is verified, you can connect. Code this with QB64.


r/qbasic • • 14d ago

QBVision - QuickBASIC 32 bit DOS Compiler by RetroNick2020

Thumbnail
retronick2020.itch.io
11 Upvotes

r/qbasic • • Nov 29 '23

WHY EVERYTHING CLOSE

1 Upvotes

I code programs. Why when I execute and runs a command to open in any programs it open-closes ? Here is a code expl.

'FunnyBones Departement

$ExeIcon:'C:\Dev\qb64_dev\FBD\BEEp.ico'
Const bio$ = "FunnyBones Broadcast, 2015"
_Title bio$

Const initial = "1996 10 12"
Const revision = "2023 11 15"

Cls
Print bio$
Print "Undertale Jokes, that's all. Except for some Game Dev.."
Print

Dim t As String, c As String
Dim i As Integer

Do
    Print ">";
    Line Input t
    i = InStr(t, " ")
    If i Then c = Left$(t, i - 1) Else c = t
    Select Case LCase$(c)
        Case "hnd": Shell "Software Enhaced Help.hnd"
        Case "exit": Exit Do
        Case "cls": Cls
        Case "issue": Print "Go to github.com/EvrestRGB/FBD/issues"
        Case "puns": Shell "max20_puns.exe"
        Case "sans": Shell "max20_sans.exe"
        Case "ver": Print "revision: "; revision: Print ""
        Case "conduct": Shell "CODE_OF_CONDUCT.md"
        Case "time": Print Time$
        Case "duck"
            Print "I see.."
            Shell "updated_dack.exe"
        Case "help"
            Print "EXIT - exit the shell"
            Print "CLS - clear the screen"
            Print "PUNS - display puns"
            Print "SANS - display sans and toriel jokes"
            Print "VER - display version"
            Print "HELP - display this help"
            Print "HND - advanced software help"
            Print "ISSUE - display issue methods"
            Print "CONDUCT - Displays code of conduct"
            Print
        Case Else
            Print "Bad command. Running files not implemented yet.": Print
    End Select
Loop
System

Like here it's puns.txt or ..


r/qbasic • • Dec 12 '23

2. Open a file (qb64)

0 Upvotes

In this code ..

'20 lines and more

_Title "FBD Broadcast Reader"
Open "./puns.txt" For Input As #1
10
For x% = 1 To 20
    Line Input #1, line$ ' A way to loop threw until the 1st 20 lines area read in
    Print line$
Next x%

Input "Read more or Quit"; responce$
If responce$ = "Go On" Then
    Cls
    GoTo 10 'starts over and gets the next 20
Else
    Close #1
    System
End If

Why it says file not found when I run ? The file exists and it is in the same directory.


r/qbasic • • Dec 11 '23

Why it closes ?

0 Upvotes

I have a 3/4 finished program, a bbs, FBD. Everytime I do a Shell command, it open-closes. Like in here I shell other program and they open, but closes at the same second.


r/qbasic • • Nov 17 '23

In QB64, do I need to put direct path ?

1 Upvotes

By direct path, I mean like "C:\Dev\qb64_dev\FBD\puns.txt" ?

Can't I just do "./puns.txt" if the program is in the same dir like in Python or JS ? I tested and it says file not found.

'20 lines and more

_Title "FBD Broadcast Reader"

Open "C:\Dev\qb64_dev\FBD\puns.txt" For Input As #1

10

For x% = 1 To 20

Line Input #1, line$ ' A way to loop threw until the 1st 20 lines area read in

Print line$

Next x%

Input "Read more or Quit"; responce$

If responce$ = "Go On" Then

Cls

GoTo 10 'starts over and gets the next 20

Else

Close #1

System

End If


r/qbasic • • Feb 05 '13

Any Love For How I Remember, "Qbasic."

Thumbnail
qkme.me
7 Upvotes

r/qbasic • • Nov 15 '23

In QB64, how to set tile and image

2 Upvotes

I want to make my program look more professionnal. How to set title and image. And for image, is it .bmp ?


r/qbasic • • Nov 18 '23

Who could convert me this JS to qb64

2 Upvotes

// Create a list of characters with rarity levels

const characters = [

{ name: "Alice", rarity: "Common" },

{ name: "Bob", rarity: "Rare" },

{ name: "Charlie", rarity: "Epic" },

];

// Define a function to perform a gacha pull

function gachaPull() {

// Generate a random number between 0 and 1

const randomValue = Math.random();

// Determine the rarity of the character based on the random value

let characterRarity = "Common";

if (randomValue > 0.75) {

characterRarity = "Rare";

} else if (randomValue > 0.9) {

characterRarity = "Epic";

}

// Select a random character from the list matching the rarity

let selectedCharacter = null;

for (let i = 0; i < characters.length; i++) {

if (characters[i].rarity === characterRarity) {

selectedCharacter = characters[i];

break;

}

}

// Display the result of the gacha pull

console.log(\You pulled a ${characterRarity} character: ${[selectedCharacter.name](https://selectedCharacter.name)}`);`

}

// Perform a gacha pull

gachaPull();


r/qbasic • • Nov 23 '23

As y' know, I'm coding an OS

2 Upvotes

As you know, I'm coding an OS. So, could anyone help me for the veryyy technical part that is the rest of the coding (exluding QBasic coding, so). It's like ASM, Kernels, Compilers etc..


r/qbasic • • Dec 23 '23

I'm Back. Now, wanna add an anonymous messaging system. (QB64)

0 Upvotes

Hello! I need to know how to code a general messaging system. I mean like, a CLI app, where I, user, send a message. Everyone receive it, and can send one. Which technology use ? Telnet ? SSH ? PLEASE HELPP


r/qbasic • • Jan 01 '25

Any good websites to use to run QBasic that aren't replit?

2 Upvotes

r/qbasic • • May 31 '20

Anybody have time on their hands to help a student out?

2 Upvotes

So I took a computer science class that uses the system QB64 or Q-Basoc for short. My final project is due on June 3rd and I have no idea where to start. I chose the idea of pong for my final project and I need some help. My teacher is being extremely vague about the tips and i'm not exactly an expert on coding. If anybody can make a super simple version of pong(2 blocks a ball and the scoreboard up top with player 1 and player 2) and sent the codes here that would be sick.


r/qbasic • • May 27 '23

Raster Master v1.5 R82 ยท Sprite / Map Editor

Thumbnail self.retronick
2 Upvotes

r/qbasic • • Feb 25 '18

Hello! Does any one still use this reddit? I am in dire need of logic help. Please let me know if anyone is still here! (Plz help)

2 Upvotes

Question regarding logic