social.solarpunk.au

social.solarpunk.au

Been thinking about BASIC, and the little BASIC interpreter I want to fit into 2K RAM on a lil micro-controller.

I have not updated @permacomputer with any of the noodling I have been doing on BASIC, primarily because I want that fedi account to present high quality posts that include results, instead of mere tinkering.

replies
1
announces
1
likes
2

@permacomputer really the BASIC interpreter is for the Arduino Nano and Arduino Uno.

I felt very overwhelmed by having to refresh my assembly language skills, but the more I think about the project the more it seems achievable.

In ROM, we are looking at a segment of about 512B to 1K, and it is certainly possible to have the interpreter leave about 1K RAM free while in memory running.

That means I am severely constrained with what BASIC keywords I can actually put into the interpreter, but it also reduces the total amount of code I need to actually write, given such a small program.

Tiny BASICs such as this are actually very well understood. I am going to need to reproduce all the links I have gathered for the project once I can formalise a lot more.