flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > Hobby BASIC, a toy language interpreter written in fasm

Goto page Previous  1, 2, 3, 4, 5
Author
Thread Post new topic Reply to topic
386



Joined: 11 Nov 2023
Posts: 28
Location: Ukraine (Ruthenia)
386 15 Nov 2023, 23:10
Quote:
1 mb of memory ... More than enough for a simple toy interpreter.
Absolutely agree! 1 MB (or even 640k) ought to be enough for anybody! Smile

Anyway the users like to decide. So 1 MB could be default, but users would be able to choose.

I think, this would be super!


Last edited by 386 on 15 Nov 2023, 23:13; edited 2 times in total
Post 15 Nov 2023, 23:10
View user's profile Send private message Reply with quote
386



Joined: 11 Nov 2023
Posts: 28
Location: Ukraine (Ruthenia)
386 15 Nov 2023, 23:11
Picnic wrote:
It's easy to implement, i'll think about that. Thanks again for your feedback 386. Quite useful !
Your welcome, Picnic! Smile
Post 15 Nov 2023, 23:11
View user's profile Send private message Reply with quote
386



Joined: 11 Nov 2023
Posts: 28
Location: Ukraine (Ruthenia)
386 16 Nov 2023, 18:26
I think, some directive like MEM or MEMORY to define amount of memory in kilobytes should be fine.
Code:
MEM 640    
Code:
MEMORY 640    
Smile
Post 16 Nov 2023, 18:26
View user's profile Send private message Reply with quote
Carlopiza



Joined: 29 Jun 2007
Posts: 2
Carlopiza 24 Apr 2024, 13:27
Hi; Nice project; Are sources available for the interpreter?

Greets
Carlopiza
Post 24 Apr 2024, 13:27
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 25 Apr 2024, 19:22
Hi Carlopiza, thanks for the interest. It's still, a closed source project, unfortunately.

_________________
Hobby BASIC Interpreter
Post 25 Apr 2024, 19:22
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 25 Jul 2024, 08:19
Good day, everyone.

Google Chrome sometimes blocks Hobby BASIC downloads, saying that "This file is dangerous, so Chrome has blocked it".
The simplest workaround is to hit CTRL+J and indicate that you want to keep it.
Sometimes Windows also won't let you download it without disabling real-time protection first.

Hobby BASIC interpreter started in 2015 and continues to evolve until nowadays.
It is wrongly being flagged as a virus.
Don't be discouraged, try it.

Alternatively, try the mirror download link.

The interpreter is now being developed in a Windows 10 environment.
Many of the examples still run on Windows XP, (and, of course, on 7) but Hobby BASIC focuses on Windows 10 and 11.

_________________
Hobby BASIC Interpreter
Post 25 Jul 2024, 08:19
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 12 Oct 2024, 16:09
Hello everyone,

The latest version includes over 90 code samples, and among them many games.
In Windows 10, the 'Use Legacy Console' option is no longer necessary, (though it is recommended).

The only exception is DRAW, which is the ANSI drawing program written in Hobby BASIC.
Draw requires the 'Use Legacy Console' option to be enabled.

DRAW has been improved.
It uses the ASCII character set and the Extended ASCII character set.
It can load, edit, and save an image in ANSI encoding.
Ηobby BASIC companion programs and game graphics have been edited by DRAW; no other programs have been used.

Windows 10 console screenshots from Draw, and of some of the latest Hobby BASIC games.

Image Image Image Image Image Image

_________________
Hobby BASIC Interpreter
Post 12 Oct 2024, 16:09
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 10 Nov 2024, 13:22
Hello everyone,

​New puzzles for the Windows 10 console were added to the Hobby BASIC games folder.

Escape the Void is a short, simple Sokoban-like game, where you have to push (or pull) boxes.

In Mini Adventuring Squad, an adventuring party of three finds themselves in a dungeon.
With their unique skills and limitations, you must use snake-like movement to traverse a dungeon filled with tricks and traps.

In Paint Box, you and your friends must paint everything.


Hobby BASIC screenshots (Windows 10 console).

Image Image Image

_________________
Hobby BASIC Interpreter
Post 10 Nov 2024, 13:22
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 24 Nov 2024, 22:12
Hello everyone,

​New puzzles for the Windows 10 console were added to the Hobby BASIC games folder.

Mandy Crush is a match-3 puzzle game with a character that swaps places with the items.

Rygar eats Cake is a short puzzle game about moving boxes and eating cake.

Flow is a puzzle where you have to guide the water to the target field.

Pullkoban is a small Sokoban type puzzle.

Heartstone is an engaging block-pushing puzzle set within the depths of a dungeon.

Most games are either remakes of PuzzleScript games or inspired by them.


Hobby BASIC screenshots (Windows 10 console).

Image Image Image Image Image

_________________
Hobby BASIC Interpreter
Post 24 Nov 2024, 22:12
View user's profile Send private message Visit poster's website Reply with quote
MatQuasar3



Joined: 04 Nov 2024
Posts: 44
MatQuasar3 06 Dec 2024, 09:37
I saw your animated GIF of HeartStone.bas, looks interesting.

Your mirror link can be used to download HB.zip without issue.


Description: I was stuck here, still figuring out.
Filesize: 23.83 KB
Viewed: 976 Time(s)

Capture.PNG


Description:
Filesize: 8.78 KB
Viewed: 976 Time(s)

Capture.PNG


Post 06 Dec 2024, 09:37
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 06 Dec 2024, 09:43
Hi MatQuasar3,

Thank you for the feedback and the screenshots.

Tip for Room 3:
The red boxes should be pulled (not pushed).
If you stand next to it and move in the opposite direction it will follow you.

_________________
Hobby BASIC Interpreter
Post 06 Dec 2024, 09:43
View user's profile Send private message Visit poster's website Reply with quote
MatQuasar3



Joined: 04 Nov 2024
Posts: 44
MatQuasar3 06 Dec 2024, 10:00
Picnic wrote:
Tip for Room 3:
The red boxes should be pulled (not pushed).
If you stand next to it and move in the opposite direction it will follow you.


Yes!!
EDIT: Have to pull more than one time, or else the player trapped inside.
Post 06 Dec 2024, 10:00
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 06 Dec 2024, 10:49
Of course, you have to calculate and create spaces. Things get more difficult (and tighter) later. Press key 4 to undo a move. Razz

_________________
Hobby BASIC Interpreter
Post 06 Dec 2024, 10:49
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 16 Dec 2024, 23:22
Hello everyone,

​New puzzles for the Windows 10 console were added to the Hobby BASIC games folder.

Gravibox is a challenging puzzle game where you push "gravity" blocks.

Kaima is an arcade-style puzzle game where you need to consume all the tiles in each area before teleporting to the next one.

Sokoban is a Sokoban-inspired game featuring 15 challenging push-pull levels.

Magnets is a fast-paced arcade puzzle game featuring 5 distinct worlds and 51 rooms to explore.
The game includes 16 colors, ANSI graphics, sound effects, and music, offering a unique experience on the Windows console.

2DWorld is a small prototype that demonstrates random procedural world generation.
There’s no specific goal—just explore and enjoy the randomness.
You can find it in the MISC folder under the title 2DWORLD.BAS.

SokoRGBan is a Sokoban-inspired puzzle game where you push crates into one another to merge their colors.


Hobby BASIC screenshots (Windows 10 console).

Image Image Image Image Image Image



Notes on The Games

In the WIN10 folder, you will find puzzle games that are either remakes or inspired by games originally created in PuzzleScript.
These are small games with simple yet clever ideas, which I am adapting to Hobby BASIC to create a compact library of games.
I am not familiar with how PuzzleScript works; all Hobby BASIC games are written entirely from scratch.
The ideas behind these games belong to their original creators, the developers who crafted them.
I strive to maintain high standards and adapt these games with the utmost respect for their creators.

_________________
Hobby BASIC Interpreter
Post 16 Dec 2024, 23:22
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 Previous  1, 2, 3, 4, 5

< 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.