Saturday, November 15, 2025

πŸ–₯ Rolling Clock

Do I ever enjoy investigating/prototyping something that answers the thought (usually from way out in left field): "how would I do this/that in BASIC ?

The question: how would I program a rolling clock?  (A "smooth rolling" clock.)

Well, since I couldn't commit to the full guacamole, I decided to not do the "smooth" bit right away.  Instead, I decided to get the bits I think I'll need for "smooth", while just aiming for a working "choppy" prototype.




Sunday, November 9, 2025

πŸ–₯Deep Field

 This program is a port and mod of a QBJS program by (correction! bplus) dbox shared with the QB64pe community via this post.  bplus' program is z port and mod of a SPECBAS program by ZXDunny.

The program's screen will, upon program startup, adjust its size/dimensions to fit the size and dimensions of the browser window.  At any time, resize your browser window and hit the browser's refresh button to cause the program to restart with new dimensions.

Once graphic-generation is done, the program pauses for about ten seconds before clearing the screen and generating a new diagram.  You will know the program is pausing before clearing the screen when you hear some slow ticking sounds.











Tuesday, October 14, 2025

πŸ–₯ Spiralling Text (old-school sine wave)

This is a mod of a program Richard Keijzer wrote in TRS-80 Level II BASIC (44 years ago) and recently shared with the BASIC Programming Language Facebook group.

As per usual, I like to port (well, there wasn't any "porting" to do with this program) old-school BASIC programs, and then mod them with some color and animation, and other small enhancements (things I wish existed in BASIC dialects of the early 80's.





Sunday, August 10, 2025

πŸ–₯ Ardi's Graph

A port and mod of a program shared by Ardi Ardi with the "BASIC Programming Language" Facebook group via this post.

This program seems to have some history, with other versions floating around (called "halftone2" ?) over the years.  For example, here's a SpecBAS version by ZXDunny.  The original version of this program may have been authored by Uwe Grelken.




Sunday, July 27, 2025

πŸ“š Goals/benefits of BASIC Anywhere Machine

A quick and dirty summary:

The ability to program in BASIC without installing any software (all you need is a modern standards-compliant web browser.)

  • So, in regards to requirements: BAM is OS-agnostic and device-agnostic.

Put BAM where you want it and personalize it to any degree,

  • Put it on the web to use it from any online device
  • Store it locally to use it offline
  • i.e. manage/store/use it in whatever way any TiddlyWiki can be managed/stored/used

The ability to share programs with an audience without any special requirements other than having a standards-compliant web browser.

  • So, in regards to requirements: BAM is again OS-agnostic and device-agostic
  • A shared program is small, as it is (via TW’s Transclusion prowess) exported as a single HTML file that contains only the BASIC program bound to the BASIC transpiler
  • Example program: Keijzer Graph
  • The small exported program can be emailed, can be put on a static web server, can be stored locally (for offline use), can be embedded in any other Web page (with iframe HTML elements)

Primary use cases:

  • hobby programming (I.e. particularly for the children of the 70’s / 80’s and liked programming in BASIC on those home computers), whether you want to program in good old “unstructured” BASIC or “structured” BASIC, and whether or not you want to make use of some BAM-specific features
  • teaching fundamental programming concepts/constructs/elements with a language (BASIC) that isn’t cluttered with annoying distractions
  • creating self-contained “Web gadgets” in BASIC (because you either cannot stand the “usual suspect” programming languages for “Web gadgets”, or you could not be bothered to learn those other languages, or because you simply have a soft-spot for BASIC.)
  • Example: Digital Clock

Constraints:

  • BAM is not meant for “web-programming” (at most, you can create a small “Web gadget” that at most interacts with input from a user, but it will not interact with Web servers or anything outside of the BASIC program)
  • BAM programs cannot interact with local file systems; however, a BAM program hosted in a TiddlyWiki instance can interact with that TiddlyWiki via local storage AND/OR parameters passed from TiddlyWiki to the BAM program (causing the BASIC program to restart via the TW refresh mechanism)

BAM is really useful for giving old BASIC programs (old-school BASIC games, for example) a new lease on life, and is really good for graphics programming (or any kind of program that does not deal with a local file system, I.e. using files for input and/or output.)



Friday, July 18, 2025

πŸ–₯ Keijzer Graph

This program is a port and mod of a PC-BASIC program by Richard Keijzer shared with the "BASIC Programming Language" Facebook group.

Although the PC-BASIC program worked in BAM as-is, I made some additions/changes to suit my fondness for animated creation of graphs and for random colours.

πŸ–₯ Rolling Clock

Do I ever enjoy investigating/prototyping something that answers the thought (usually from way out in left field): "how would I do this...