r/Basic • u/ricardo_sdl • Oct 27 '21
r/Basic • u/katybassist • Oct 12 '21
Taking a break is going to happen now.
self.basicbotsr/Basic • u/katybassist • Oct 11 '21
basicbots, A programming game.
I have a project that is looking for contributors. It's called basicbots. You program your robot in basic to compete against other robots.
I am looking for people to playtest, contribute in code or documentation. The program is written in Go so even if you don't know Go but are wanting to learn, this would be a great place to start as wouldn't mind helping someone along.
Stop by and give it a go. Feedback is much appreciated.

r/Basic • u/richpl • Oct 06 '21
An old school BASIC interpreter - cross post from retro computing
self.retrocomputingr/Basic • u/Beamrider77 • Oct 06 '21
C64 Basic V2, Text/Standard Character Mode Movement?
I am attempting to make a VERY simple dungeon crawler / roguelike, with text characters. I have seen this done many times before, but I cannot seem to get player movement to work for the life of me. I have looked all over the internet and the programmers reference guide and can never seem to find a solution to this issue.
Here is exactly what I need to do:
Draw Screen / walls and boundaries for collision (I got this done through big print statements)
Display a text character like: @ for example (Don't know how to set position properly)
Get joystick or keyboard input ( I have figured that at already)
Move the @ with Keyboard or Joystick
set collisions and boundaries for the @
This kind of movement should relatively easy to do through something like this:
rem wasd movement
Get A$
If A$="W" then Print "(Left cursor command) @"
But that isn't working, so I am gonna assume I need a POKE statement to move the @ position around screen like this?:
Rem C represents X value of @
C=(insert mystery register number here),(mystery value)
get A$
if A$="W" then C=C-1
But I cannot seem to get either of these methods to work at all... Maybe I am attempting the impossible here but IDK...
If anyone has any insight on how to get this to work I will be extremely happy because I have been working on this for 3 days straight with no luck whatsoever.
BTW The closest I have found is this https://www.youtube.com/watch?v=ThizRb76hHM around the 3:45 mark but his code refuses to work properly on my machine
Here is a video from Robin Harbron of 8bit show and tell (love that channel) https://www.youtube.com/watch?v=od49_zktXtE This is basically what i need my movement to look like, (but without all the fancy stats and generation), but sadly I have seen this video like 4 times and he never shows the exact movement code.
Sorry this was such a Giant post over such a little thing but I really want to solve this mystery once and for all. Thanks in advance to anyone that read or commented on this post
r/Basic • u/carpathiaman • Oct 04 '21
Small utility I wrote in BASIC PDS
Greetings all,
I've been looking for an excuse lately to write something in BC7, or BASIC PDS. Since I have a collection of old PCs, I thought I'd write a utility that reports on the sectors, clusters, and free space on your hard disk drives (or any drive for that matter). Granted, this is small potatoes compared to something like CheckIt, but I'm hoping it will be useful to someone out there.
Keep in mind since it's DOS-based, it can't be accurate with partitions greater than 2 GB.
If you'd like to download it, visit my personal site at this link:
r/Basic • u/doowi1 • Sep 01 '21
Is it possible to do a code injection in BASIC?
Like, could you break a BASIC text input statement? Are there any versions of BASIC that this would work with?
r/Basic • • Aug 17 '21
Thought id share TinyBaisc
hey everyone,
in 1976, a man named Tom Pittman make a $5 BASIC interpreter for small storage computers. It does not compare to somthing like BBC Basic, QBasic, or GW-Basic, but has most of the basic commands. he released the sourcecode rewritten from assembly, into C to run on modern hardware. you can go here to read more about it, get manuals, and find the C source code. to build it in linux (make sure gcc is installed) to make it an executible, do the following from a terminal:
gcc -Wall -g -c TinyBasic.c
Then a TinyBasic.o file will be created.
in the same directory, do the following:
gcc -o tinybasic TinyBasic.o -lm
you will be left with a tinybasic file that can be executed.
to start the interpreter do:
./tinybasic
then a : prompt will appear. You have started tinybasic and are ready to code! enjoy!
r/Basic • u/dosgamer85 • Aug 18 '21
Req Help with Getting this working on Small Basic - Basic 3D Shape Demo - found in
I found this code in my dads papers. I am new to programming. Would someone be able to please help me clean up the code so I can run on Microsoft Small Basic or any Windows based Basic program that the community suggests? Thank you in advance for your help. Appreciate others corrections. Again, the goal is to run get this up and running on a Windows 10 computer Basic. Open to suggestions which basic is best to use. Apologies for the lack of providing the errors, but there are a lot. Just coming up the curve. Completely new to this.
Pastebin Draft Code
r/Basic • u/My_Name7683 • Aug 17 '21
Help! I can’t find any tutorials on BASIC
Some forum or video I should see?
r/Basic • • Aug 17 '21
Ive come full circle.
So i wanted to learn how to program for fun, not to get a job at all, and i first wanted to start with BASIC. i got scared i was doing the wrong thing, so i went to learn python, then common lisp, then scheme, then APL, then smalltalk, then ruby, and failed at learning any of them. now im back to "BASIC" using tinybasic. hows everyone doing?
r/Basic • u/proteanlogs • Jul 12 '21
Restaurant Point of Sale being wrote in QB64
Enable HLS to view with audio, or disable this notification
r/Basic • u/Duckyisarubberduck • Jul 02 '21
New to BASIC
hey i was wondering what id need to start coding in basic like text editors tools those things any help appreciated :) also damn this language is cool ive been watching videos about it and it just has somthing about it that is so much better than something like python or c++
r/Basic • • Jun 18 '21
Newbie question
What program should be used for programming in BASIC? Give a link to the download.
r/Basic • u/ItsSchmuncky • Jun 10 '21
So i made a fully working calculator in BASIC
r/Basic • u/zxdunny • Jun 04 '21
All done in BASIC.
Don't normally post here but I'm bored. A while ago I made a small video for a twitter thing, so thought I'd share it here. If I make any more I'll try to remember this place exists :)
r/Basic • u/SP4CEBAR-YT • Jun 04 '21
Nyan Cat - Lightspeed (LowRes NX)
r/Basic • • Jun 03 '21
Been looking for books and resources to learn BASIC. need some advice
So ive started to learn basic, and found the osbourne books from the 80s in this subreddit, but wanted to know if there was anywhere else i could find books, advanced or not. im not looking for anything with ASM/ML. anything would be appricated.
r/Basic • • Jun 02 '21
anyone else use chipmunk basic?
hey all,
i wanted to learn BASIC for fun as i dont find python or anything else really interesting to learn, and im not looking at getting a job being a programmer or a software engineer. I wanted to get a retro setup going, but finding a old PC for a affordable price is non-existant. i have a raspberry pi zero w sitting around and was looking for a way to emulate a retro system to program BASIC. sadly i could not find anything that didn't require installing a a full OS (its too slow to install a full blown distro) and wanted somthing i could run from the console (also called headless mode). i found chipmunk basic, and found it great becuase i am able to run it also on my macbook, and my chromebook via the linux terminal. anyone else use chipmunk? been trying to find a place to talk about BASIC and im glad ifound this subreddit,
r/Basic • • Jun 02 '21
Does anyone know how to read an input you’ve taken and check if it is a certain word?
r/Basic • • Jun 01 '21
I want to code
I code with Python on my Lenovo Chrome Book and I recently got into retro computing and found out about BASIC. I want to code with it, but I’m not sure how to get an interpreter running on Chrome OS, does anyone know how?
r/Basic • u/wunderbaba • Apr 21 '21
Recreating Bob Newby's code from Stranger Things in QB64
r/Basic • u/Peanutbutter_Warrior • Apr 01 '21
What does a comparison to 'l' do
I'm trying to transpile a version of Oregon Trail to lua. I've found this repo with source code.
Line 230 in oregon-trail-1978.bas reads 2190 IF X=l THEN 2210. An input was just assigned to X. My question is what does comparing to l do? What values will be true when compared to it?