flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > Hobby BASIC, a simple yet powerful BASIC interpreter

Goto page 1, 2, 3, 4, 5, 6, 7  Next
Author
Thread Post new topic Reply to topic
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 05 May 2013, 21:16
Image

What is Hobby BASIC?
Hobby BASIC is a modern, structured BASIC interpreter for the classic Windows console (CMD.EXE),
combining retro simplicity with ANSI graphics, networking, and direct Win32 API access.

Key Features:
🔹BASIC-like syntax with rich collection of specialized commands
🔹Full keyboard & mouse input in console
🔹ANSI-encoded graphics support
🔹UDP networking functions
🔹Standalone pseudo-executables
🔹Windows 7/8/10/11 compatible
🔹Draw - ANSI drawing tool fully written in Hobby BASIC
🔹FPU string math & Win32 API support
🔹Super Tiny BASIC included with full source code
🔹Runs flawlessly for 10+ years across Windows 7, 8, 10, and 11
🔹Developed in 32-bit x86 assembly

My goal has always been to create a simple, user-friendly language
designed for game development within the Windows console—and I believe it's progressing quite well!

Hobby BASIC is a small, unsigned executable.
Although some antivirus tools might falsely flag it due to its small size and lack of a digital signature, rest assured that it is 100% safe to use.

â–¶ Download -- Current version: 2.5.7 (uploaded May 2026).


Useful links:
🔹Online Guide — learn Hobby BASIC the easy way
🔹Full Feature Overview — all capabilities in one page
🔹YouTube Video Tour — see it in action
🔹Chrome blocking? — fix here


Showcase
From concept to console: A showcase of Hobby BASIC game development through the years, featuring ANSI graphics 📌 Notes on the games.

Image


Description: Hobby BASIC, a simple but surprisingly capable BASIC interpreter, developed in 32-bit x86 assembly.
Download
Filename: HB.zip
Filesize: 816.21 KB
Downloaded: 7812 Time(s)


_________________
Hobby BASIC Interpreter


Last edited by Picnic on 01 May 2026, 18:51; edited 508 times in total
Post 05 May 2013, 21:16
View user's profile Send private message Visit poster's website Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1798
Location: Toronto, Canada
AsmGuru62 05 May 2013, 22:15
Great stuff!
Things like that motivate beginners to start programming.
Post 05 May 2013, 22:15
View user's profile Send private message Send e-mail Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6113
Location: Poland
MHajduk 05 May 2013, 22:28
I suppose that the author's sentiment to QuickBasic was the main inspiration for this project. Nice thing. Smile
Post 05 May 2013, 22:28
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2893
Location: 0x77760000
typedef 07 May 2013, 04:31
Nice. This prompts me to make a CLI graphics library. Looks pretty neat.
Post 07 May 2013, 04:31
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 07 May 2013, 10:10
Post removed by author.

_________________
Hobby BASIC Interpreter


Last edited by Picnic on 27 Apr 2026, 09:59; edited 42 times in total
Post 07 May 2013, 10:10
View user's profile Send private message Visit poster's website Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 845
Location: Jakarta, Indonesia
TmX 07 May 2013, 15:45
This is very nice.
Reminiscent of DOS apps.

Mouse handling would be a nice addition, I think Wink
Post 07 May 2013, 15:45
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1178
Location: Unknown
HaHaAnonymous 07 May 2013, 20:58
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 20:54; edited 1 time in total
Post 07 May 2013, 20:58
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2893
Location: 0x77760000
typedef 07 May 2013, 23:30
Picnic wrote:
I am glad you like it, i had some concern whether it can be served as helpful example despite the lack of comments in source.


If it can be understood then no worries.

Besides not all examples are aimed at beginners.
Post 07 May 2013, 23:30
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 18 Aug 2013, 22:52
Post removed by author.

_________________
Hobby BASIC Interpreter


Last edited by Picnic on 27 Apr 2026, 09:59; edited 68 times in total
Post 18 Aug 2013, 22:52
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 15 Dec 2013, 01:37
Post removed by author.

_________________
Hobby BASIC Interpreter


Last edited by Picnic on 27 Apr 2026, 09:59; edited 58 times in total
Post 15 Dec 2013, 01:37
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2893
Location: 0x77760000
typedef 15 Dec 2013, 05:58
I get this when I run MOUSE

Image
Post 15 Dec 2013, 05:58
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 15 Dec 2013, 10:10
Post removed by author.

_________________
Hobby BASIC Interpreter


Last edited by Picnic on 27 Apr 2026, 09:59; edited 15 times in total
Post 15 Dec 2013, 10:10
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2893
Location: 0x77760000
typedef 15 Dec 2013, 14:27
Windows 7 64 bit. Actually all the programs except the binary and the the color ones. And why it says print I don't know
Post 15 Dec 2013, 14:27
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 15 Dec 2013, 17:28
Post removed by author.

_________________
Hobby BASIC Interpreter


Last edited by Picnic on 27 Apr 2026, 10:00; edited 14 times in total
Post 15 Dec 2013, 17:28
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2893
Location: 0x77760000
typedef 15 Dec 2013, 17:34
I see. It's a version difference thing.
Post 15 Dec 2013, 17:34
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 18 Dec 2013, 21:33
Post removed by author.

_________________
Hobby BASIC Interpreter


Last edited by Picnic on 27 Apr 2026, 10:00; edited 12 times in total
Post 18 Dec 2013, 21:33
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2893
Location: 0x77760000
typedef 18 Dec 2013, 22:53
They work now Very Happy. Care to share what was causing it to say that?
Post 18 Dec 2013, 22:53
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 19 Dec 2013, 21:09
Post removed by author.

_________________
Hobby BASIC Interpreter


Last edited by Picnic on 27 Apr 2026, 10:00; edited 12 times in total
Post 19 Dec 2013, 21:09
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2893
Location: 0x77760000
typedef 20 Dec 2013, 01:13
Picnic wrote:
Nice to hear!
Sure, it seems that an improper call to SetConsoleOutputCP function crush the program. By the way, i installed Windows 7.


Hmm. Nice, what Win7 version?
Post 20 Dec 2013, 01:13
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1460
Location: Piraeus, Greece
Picnic 20 Dec 2013, 20:37
Post removed by author.

_________________
Hobby BASIC Interpreter


Last edited by Picnic on 27 Apr 2026, 10:00; edited 50 times in total
Post 20 Dec 2013, 20:37
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2, 3, 4, 5, 6, 7  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.