Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party  ·  activity timestamp 2 days ago

Still just thinkin' about what to do.

- the oats game
- the bag quest game
- permacomputer project documentation and project refresh
- stellaris?
- have a nap?
- video games in assembly for 8 bit consoles
- build my own minimalist 6502 computer
- A CHIP-8 emulator in BASIC
- More things to put in the BASIC archive (archive.basiclang.solarpunk.au)

#retrocomputing #retrogaming #basic

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party  ·  activity timestamp 3 days ago

this was a really cool project for the Atari 2600 that i remember from the 2010s

it allows you to make games for the 2600 much, much faster than learning how to code in assembly language

https://github.com/batari-Basic/batari-Basic

#atari #atari2600 #retrocomputing

GitHub

GitHub - batari-Basic/batari-Basic: a BASIC-like language for creating games that run on the Atari 2600 console.

a BASIC-like language for creating games that run on the Atari 2600 console. - batari-Basic/batari-Basic
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party replied  ·  activity timestamp 2 days ago

https://www.randomterrain.com/atari-2600-bb-example-code.html

some code examples

#basic #atari #atari2600 #8bit #retrocomputing #retrogaming

batari Basic Example Code

For fast copying and pasting.
  • Copy link
  • Flag this comment
  • Block
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party  ·  activity timestamp 4 days ago

I used to think that 10-liner competitions were just for the arcane and esoteric, and I suppose they are--

but after having immersed myself in BASIC for the last few months, I can see the appeal, and it is definitely possible to go from n00b to expert in BASIC rather quickly.

It's in the name, I guess. If you were looking for a quick way to get started in programming, and have some feeling of having finished something early on, BASIC can do that for you.

#retrocomputing #basic #retrogaming

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party  ·  activity timestamp 5 days ago

I had a brain wave.

I only had time until after work now to write it out here.

CHIP-8 emulators have been written in BASIC.

How about a fugue on the idea of CHIP-8, in BASIC. A little VM for making games?

#retrocomputing #basic

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_ boosted
Digital Mark λ ☕️ 🕹 👽
Digital Mark λ ☕️ 🕹 👽
@mdhughes@appdot.net  ·  activity timestamp 7 days ago

For teaching programming, don't try to talk to "educators", go samizdat and punk zine. Slip kids illicit BASIC manuals and runtimes.

The Man will always stomp down on anything that empowers people, so don't tell them, just infect the next generation.

https://archive.org/search?query=creator%3A%22People%27s+Computer+Company%22&sort=title
#retrocomputing #basic #pcc

<protest march> PCC Lives
BASIC is the people's language!
Use computers FOR people, not against them!
No more FORTRAN!

<ship sailing into dawn>
Computers are mostly
used against people instead of for people
used to control people instead of to FREE them
time to change all that-
we need a
PEOPLE'S
COMPUTER
COMPANY
<protest march> PCC Lives BASIC is the people's language! Use computers FOR people, not against them! No more FORTRAN! <ship sailing into dawn> Computers are mostly used against people instead of for people used to control people instead of to FREE them time to change all that- we need a PEOPLE'S COMPUTER COMPANY
<protest march> PCC Lives BASIC is the people's language! Use computers FOR people, not against them! No more FORTRAN! <ship sailing into dawn> Computers are mostly used against people instead of for people used to control people instead of to FREE them time to change all that- we need a PEOPLE'S COMPUTER COMPANY

Internet Archive: Digital Library of Free & Borrowable Texts, Movies, Music & Wayback Machine

  • Copy link
  • Flag this post
  • Block
Digital Mark λ ☕️ 🕹 👽
Digital Mark λ ☕️ 🕹 👽
@mdhughes@appdot.net  ·  activity timestamp 7 days ago

For teaching programming, don't try to talk to "educators", go samizdat and punk zine. Slip kids illicit BASIC manuals and runtimes.

The Man will always stomp down on anything that empowers people, so don't tell them, just infect the next generation.

https://archive.org/search?query=creator%3A%22People%27s+Computer+Company%22&sort=title
#retrocomputing #basic #pcc

<protest march> PCC Lives
BASIC is the people's language!
Use computers FOR people, not against them!
No more FORTRAN!

<ship sailing into dawn>
Computers are mostly
used against people instead of for people
used to control people instead of to FREE them
time to change all that-
we need a
PEOPLE'S
COMPUTER
COMPANY
<protest march> PCC Lives BASIC is the people's language! Use computers FOR people, not against them! No more FORTRAN! <ship sailing into dawn> Computers are mostly used against people instead of for people used to control people instead of to FREE them time to change all that- we need a PEOPLE'S COMPUTER COMPANY
<protest march> PCC Lives BASIC is the people's language! Use computers FOR people, not against them! No more FORTRAN! <ship sailing into dawn> Computers are mostly used against people instead of for people used to control people instead of to FREE them time to change all that- we need a PEOPLE'S COMPUTER COMPANY

Internet Archive: Digital Library of Free & Borrowable Texts, Movies, Music & Wayback Machine

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party  ·  activity timestamp 2 weeks ago

I could make a little zine with perhaps four or so type in games that all come in under 4K.

GOBLINS would be an entry, as would CHASE, perhaps a 20 questions game, and a little virtual pet?

#retrocomputing #basic

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_ boosted
Digital Mark λ ☕️ 🕹 👽
Digital Mark λ ☕️ 🕹 👽
@mdhughes@appdot.net  ·  activity timestamp 2 weeks ago

In the final hours of Goblins Week, I unleash
GOBLINS ADVENTURE

IN THE CYBER HOLE
https://cyberhole.online/basic/?run=goblins.bas

(yeah, that's all there is. More to come.)

Usual release phlog on
gopher://cyberhole.online/

#cyberhole #basic #retrocomputing #gopher #goblinweek #goblin #goblins

                       __ _  _           __
                     /__/ \|_)|  | |\ |(_
                     \_|\_/|_)|_ | | \|__)
                      _      _     ___     _  _
                  /\ | \\  /|_ |\ | | | | |_)|_
                 /--\|_/ \/ |_ | \| | |_| | \|_
                      by Mark Damon Hughes
                        cyberhole.online
_______________________________________________________________
Creating your new goblin:
Name:   Budush
Race:   Goblin          Class:  Goblin
Level:  1               Exp:    0
Color:  lime
Height: 38 in           Weight: 19 lbs
Strength:        8
Dexterity:       7
Constitution:    7      Hit Points:      3 [ 3]
Intellect:       7
Willpower:       8
Charisma:        2
Cash: PP: 0     GP: 0   SP: 0   CP: 8
_______________________________________________________________
Another Goblin?
__ _ _ __ /__/ \|_)| | |\ |(_ \_|\_/|_)|_ | | \|__) _ _ ___ _ _ /\ | \\ /|_ |\ | | | | |_)|_ /--\|_/ \/ |_ | \| | |_| | \|_ by Mark Damon Hughes cyberhole.online _______________________________________________________________ Creating your new goblin: Name: Budush Race: Goblin Class: Goblin Level: 1 Exp: 0 Color: lime Height: 38 in Weight: 19 lbs Strength: 8 Dexterity: 7 Constitution: 7 Hit Points: 3 [ 3] Intellect: 7 Willpower: 8 Charisma: 2 Cash: PP: 0 GP: 0 SP: 0 CP: 8 _______________________________________________________________ Another Goblin?
__ _ _ __ /__/ \|_)| | |\ |(_ \_|\_/|_)|_ | | \|__) _ _ ___ _ _ /\ | \\ /|_ |\ | | | | |_)|_ /--\|_/ \/ |_ | \| | |_| | \|_ by Mark Damon Hughes cyberhole.online _______________________________________________________________ Creating your new goblin: Name: Budush Race: Goblin Class: Goblin Level: 1 Exp: 0 Color: lime Height: 38 in Weight: 19 lbs Strength: 8 Dexterity: 7 Constitution: 7 Hit Points: 3 [ 3] Intellect: 7 Willpower: 8 Charisma: 2 Cash: PP: 0 GP: 0 SP: 0 CP: 8 _______________________________________________________________ Another Goblin?

TinyBasicWeb

  • Copy link
  • Flag this post
  • Block
Digital Mark λ ☕️ 🕹 👽
Digital Mark λ ☕️ 🕹 👽
@mdhughes@appdot.net  ·  activity timestamp 2 weeks ago

In the final hours of Goblins Week, I unleash
GOBLINS ADVENTURE

IN THE CYBER HOLE
https://cyberhole.online/basic/?run=goblins.bas

(yeah, that's all there is. More to come.)

Usual release phlog on
gopher://cyberhole.online/

#cyberhole #basic #retrocomputing #gopher #goblinweek #goblin #goblins

                       __ _  _           __
                     /__/ \|_)|  | |\ |(_
                     \_|\_/|_)|_ | | \|__)
                      _      _     ___     _  _
                  /\ | \\  /|_ |\ | | | | |_)|_
                 /--\|_/ \/ |_ | \| | |_| | \|_
                      by Mark Damon Hughes
                        cyberhole.online
_______________________________________________________________
Creating your new goblin:
Name:   Budush
Race:   Goblin          Class:  Goblin
Level:  1               Exp:    0
Color:  lime
Height: 38 in           Weight: 19 lbs
Strength:        8
Dexterity:       7
Constitution:    7      Hit Points:      3 [ 3]
Intellect:       7
Willpower:       8
Charisma:        2
Cash: PP: 0     GP: 0   SP: 0   CP: 8
_______________________________________________________________
Another Goblin?
__ _ _ __ /__/ \|_)| | |\ |(_ \_|\_/|_)|_ | | \|__) _ _ ___ _ _ /\ | \\ /|_ |\ | | | | |_)|_ /--\|_/ \/ |_ | \| | |_| | \|_ by Mark Damon Hughes cyberhole.online _______________________________________________________________ Creating your new goblin: Name: Budush Race: Goblin Class: Goblin Level: 1 Exp: 0 Color: lime Height: 38 in Weight: 19 lbs Strength: 8 Dexterity: 7 Constitution: 7 Hit Points: 3 [ 3] Intellect: 7 Willpower: 8 Charisma: 2 Cash: PP: 0 GP: 0 SP: 0 CP: 8 _______________________________________________________________ Another Goblin?
__ _ _ __ /__/ \|_)| | |\ |(_ \_|\_/|_)|_ | | \|__) _ _ ___ _ _ /\ | \\ /|_ |\ | | | | |_)|_ /--\|_/ \/ |_ | \| | |_| | \|_ by Mark Damon Hughes cyberhole.online _______________________________________________________________ Creating your new goblin: Name: Budush Race: Goblin Class: Goblin Level: 1 Exp: 0 Color: lime Height: 38 in Weight: 19 lbs Strength: 8 Dexterity: 7 Constitution: 7 Hit Points: 3 [ 3] Intellect: 7 Willpower: 8 Charisma: 2 Cash: PP: 0 GP: 0 SP: 0 CP: 8 _______________________________________________________________ Another Goblin?

TinyBasicWeb

  • Copy link
  • Flag this post
  • Block
Chip Butty boosted
Paolo Amoroso
Paolo Amoroso
@amoroso@fosstodon.org  ·  activity timestamp 2 years ago

Those who dismiss or deride BASIC don't go beyond the language. Guillaume Chereau points out there's more to BASIC as on early microcomputers it provided a full development environment too, almost an IDE.

I'd say BASIC also supported a REPL-based, exploratory programming style similar to Lisp's.

https://gcher.com/posts/2023-12-24-basic/

#basic #retrocomputing

Guillaume Chereau Website

BASIC was not just a programming language

BASIC is often dismissed as an inferior language compared to its successors. Common complaints are its use of line numbers, its heavy reliance on GOTO for execution flow, and its lack of a stack for local variables. What many critics overlook is that at the time of its use (during the first wave of home computers), BASIC was not just a programming language; it was a full development environment, akin to an IDE.
  • Copy link
  • Flag this post
  • Block
Profoundly Nerdy
Profoundly Nerdy
@profoundlynerdy@bitbang.social  ·  activity timestamp 2 weeks ago

Do any BASIC dialects have a future that isn't just nostalgia for the early days of microcomputers? #BASIC #programming

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_ boosted
Digital Mark λ ☕️ 🕹 👽
Digital Mark λ ☕️ 🕹 👽
@mdhughes@appdot.net  ·  activity timestamp 3 weeks ago

Was reading the latest (fairly bad) old adventure on Regna in Blue:
https://bluerenga.blog/2026/01/18/sword-of-raschkil-1981-1983/

And that led to "Adventure in 1K"!
https://bluerenga.blog/2025/10/01/adventure-in-1k-1983/

So I've put it
ON THE CYBER HOLE
https://cyberhole.online/basic/?run=adv1k.bas

I'm sorry, but not really. You can hit ^Z, list to see how it works.

Also that page has links to several other less-useless TRS-80 adventures, which I may look at.

#cyberhole #basic #retrocomputing #interactiveFiction

TinyBasicWeb

Renga in Blue

Adventure in 1K (1983)

Today’s post you could think of as a “bonus game”. It appears in the April 1983 edition of Personal Computer World, followed by the first issue of Personal Computer Games that sum…
Renga in Blue

Sword of Raschkil (1981 / 1983)

Written in 1981, not published until 1983. Take your pick. I didn’t have this one on any of my lists but El Explorador de RPG recently pointed it out; since it was not preserved otherwise, gs…
  • Copy link
  • Flag this post
  • Block
Digital Mark λ ☕️ 🕹 👽
Digital Mark λ ☕️ 🕹 👽
@mdhughes@appdot.net  ·  activity timestamp 3 weeks ago

Was reading the latest (fairly bad) old adventure on Regna in Blue:
https://bluerenga.blog/2026/01/18/sword-of-raschkil-1981-1983/

And that led to "Adventure in 1K"!
https://bluerenga.blog/2025/10/01/adventure-in-1k-1983/

So I've put it
ON THE CYBER HOLE
https://cyberhole.online/basic/?run=adv1k.bas

I'm sorry, but not really. You can hit ^Z, list to see how it works.

Also that page has links to several other less-useless TRS-80 adventures, which I may look at.

#cyberhole #basic #retrocomputing #interactiveFiction

TinyBasicWeb

Renga in Blue

Adventure in 1K (1983)

Today’s post you could think of as a “bonus game”. It appears in the April 1983 edition of Personal Computer World, followed by the first issue of Personal Computer Games that sum…
Renga in Blue

Sword of Raschkil (1981 / 1983)

Written in 1981, not published until 1983. Take your pick. I didn’t have this one on any of my lists but El Explorador de RPG recently pointed it out; since it was not preserved otherwise, gs…
  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party  ·  activity timestamp 4 weeks ago

BASIC ideas:

- BASIC written in Arduino assembly again
- BASIC written in Common Lisp
- yet another 6502 BASIC

Common Lisp (SBCL) ideas:

- a line editor in Common Lisp
- a static site generator the way i actually like to do it... in Common Lisp

special mention:

- try and remove the C primitives from emacs again
- look into guilemacs again

#ideas #showerthoughts #daydreaming #commonlisp #basic #6502 #arduino #emacs #lisp #elisp #commonlisp #projects #passionprojects #hobbies #guile

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_ boosted
Digital Mark λ ☕️ 🕹 👽
Digital Mark λ ☕️ 🕹 👽
@mdhughes@appdot.net  ·  activity timestamp last month

Poking thru Compute!, March 1983, there's a mini-language designed by Bill Wilkinson! (BASIC XL, Action!, C/65)
https://archive.org/details/1983-03-compute-magazine/page/192/mode/2up

Bill shares my loathing of algebraic math in mini-languages: "No precedence of operators."

#retrocomputing #basic #atari

3 media
INSIGHT Atari
Bill Wilkinson
Almost BASIC
BAIT Statements
INSIGHT Atari Bill Wilkinson Almost BASIC BAIT Statements
INSIGHT Atari Bill Wilkinson Almost BASIC BAIT Statements
This Month's Listing
This Month's Listing
This Month's Listing
listing, 1 page
listing, 1 page
listing, 1 page
  • Copy link
  • Flag this post
  • Block
Digital Mark λ ☕️ 🕹 👽
Digital Mark λ ☕️ 🕹 👽
@mdhughes@appdot.net  ·  activity timestamp last month

Poking thru Compute!, March 1983, there's a mini-language designed by Bill Wilkinson! (BASIC XL, Action!, C/65)
https://archive.org/details/1983-03-compute-magazine/page/192/mode/2up

Bill shares my loathing of algebraic math in mini-languages: "No precedence of operators."

#retrocomputing #basic #atari

3 media
INSIGHT Atari
Bill Wilkinson
Almost BASIC
BAIT Statements
INSIGHT Atari Bill Wilkinson Almost BASIC BAIT Statements
INSIGHT Atari Bill Wilkinson Almost BASIC BAIT Statements
This Month's Listing
This Month's Listing
This Month's Listing
listing, 1 page
listing, 1 page
listing, 1 page
  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_ boosted
psf
psf
@psf@oldbytes.space  ·  activity timestamp last month

While I was working on this, the article Python Numbers Every Programmer Should Know appeared on the orange website. In #LuaLang, and on a 16-bit target, these overheads are less -- for example, a number weighs 10 bytes instead of 24 bytes -- but overheads don't have much place to hide on a small, slow machine.

(Btw numbers cost 7 bytes each in 8-bit Microsoft BASIC so Lua isn't gratuitously inefficient here, even by the standards of 50 years ago.)

One place that makes overhead really obvious: a 64K segment holds a table of length, at most, 4,096 entries. That's 40,960 bytes, and Lua's strategy is to double allocation size every time it wants to grow the table. 2 x 40,960 exceeds a 64K segment, so 4,096 entries is the growth limit.

On a 640K machine, after deducting the ~250K (!) size of the interpreter (which is also fully loaded into RAM), you'll get maybe five full segments free if you're lucky. So that's like maybe 20,000 datums total, split across five tables.

Meanwhile a tiny-model #Forth / assembly / C program could handle 20,000 datums in a single segment without breaking too much of a sweat!

The efficiency has costs to programmer time, of course. Worrying about data types, limits, overflows, etc. The kinds of things I was hoping to avoid by using Lua on this hardware -- and to its credit, it does a good job insulating me from them. Its cost is that programs must be rewritten for speed in some other language once out of the rapid prototyping phase and having reasonable speed / data capacity becomes important.

I'd estimate the threshold where traditional interpreters like Lua become okay for finished/polished software of any significant scope, is somewhere around 2MB RAM / 16MHz. So think, like, a base model 386. Maybe this is why the bulk of interpreters available in DOS are via DJGPP which requires a 386 or better anyway.

#BASIC was of course used on much smaller hardware, but was famously unsuited to speed or to large programs / data.

I know success stories for #Lisp in kilobytes of memory, but I'm not quite sure how they do it / to what extent the size of the interpreter, and overhead of data representation (tags + cons representation), eats into available memory and limits the scope of the program, as seen with other traditional interpreters.

This is beginning to explain why #Forth has such a niche on small systems. It has damn near zero size overhead on data structures. (The only overhead is for the interpreter core (a few K) and storing string names in the dictionary (which can be eliminated via various tricks)). ~1x size and ~10x speed overhead is the bargain of the century to unlock #repl based development. However, you're still stuck with the agonizing pain of manual memory management and numeric range problems / overflows. Which is probably why the world didn't stop with Forth, but continued on to bigger interpreters.

#retrocomputing

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_ boosted
Federation Bot
Federation Bot
@Federation_Bot  ·  activity timestamp last month

Esta es otra forma de programar en Basic ZX Spectrum.

Redacto el programa en Basic en un editor de texto como nano y lo convierto en cassette de formato .tap con bas2tap, un programita genial hecho por Martijn van der Heide, el creador de la web World of Spectrum.

Es mucho más cómodo programar con el portátil desde GNU/Linux que con el The Spectrum.

#Basic #TheSpectrum #bas2tap

Imagen de la terminal de GNU/Linux en la que converto un programa de Basic en archivo de cassette de formato .tap para Spectrum con el programa bas2tap de Martijn van der Heide y se ve el contenido del programa en Basic.
Imagen de la terminal de GNU/Linux en la que converto un programa de Basic en archivo de cassette de formato .tap para Spectrum con el programa bas2tap de Martijn van der Heide y se ve el contenido del programa en Basic.
Imagen de la terminal de GNU/Linux en la que converto un programa de Basic en archivo de cassette de formato .tap para Spectrum con el programa bas2tap de Martijn van der Heide y se ve el contenido del programa en Basic.
  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party  ·  activity timestamp last month

i think the little game i have been coding in BASIC has been coming together quite well

https://git.sr.ht/~vidak/oats-for-my-goats

#basic #programming #gamedev

  • Copy link
  • Flag this post
  • Block
'(vidak) _(:3」∠)_
'(vidak) _(:3」∠)_
@dirtycommo@anticapitalist.party  ·  activity timestamp last month

Arrays and string arrays in BASIC are simple and powerful.

I like the syntax-- A(B,C) or S$(B).

Makes me wonder. Writing a BASIC interpreter with a strong focus on the power of DIM and array operations would be interesting.

#retrocode #retrogame #retrogaming #basic #coding

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct