Saturday, July 6, 2024

📚 Reminder: When you download BAM, make it your own !

Just a reminder that when you download BAM (and save it to a local storage device, or host your copy of BAM online with TiddlyHost.com or some other service), you can then make it your own.

Under the "Tools" menu, you'll find an "IDE Config" menu item that lets you alter the look of your copy of (i.e. your personal instance of) BASIC Anywhere Machine.

Put the "IDE Config" window side-by-side with your open instance of BAM, and experiment with the various configuration choices available.

Here's a screenshot of the "me playing around" results:


Although dated, you might find the following video useful:




🪲 IDE Editor scrolling via keyboard up/down keys: Issue fixed

Latest version of BAM

This was an issue in BAM right from the outset (i.e. since December of 2021).

When programs get so long as to not fit the height of the editor, requiring scrolling up/down, the caret in the text editor would go up/down past the border of the editor to a line above/below the editor's border, requiring some extra presses of up/down keys before (or mouse-wheel, or click on scrollbar) to bring the desired part of the program into view.

I finally figured out today the CSS override needed for the editor to properly and automatically scroll when trying to move the caret past the top/bottom visible line of text in the editor.

To compare the before and after behaviour, put the opened latest version of BAM next to any previous version (like the archived 2024-02-05 version of BAM) and see how caret navigation (up and down keys) past the top/bottom lines of a long program works.


Saturday, June 8, 2024

🖥 "Structured" World Map

 The recent 🖥 World Map program stands as a great example of a neat program created in an "unstructured" programming paradigm.

This alternative version of the program is a port of Tom Lake's QB64 program, a really great conversion of the "unstructured" program to a "structured" programming paradigm.

It is very cool to compare the various unstructured versions of World Map to Tom Lake's program (his QB64 version and this BAM port.)



Friday, June 7, 2024

🖥 Vampire Einstein

This BAM program is a port of a QBASIC program by Peter McGavin.

Peter McGavin's QBASIC program is an awesome port of an excellent BBC BASIC program by Richard Russell.




Thursday, June 6, 2024

🖥 World Map

From Tektronix BASIC program, to C64 Simon's BASIC program, to QB64 program, to BAM program.

  • BAM program by Charlie Veniot
  • QB64 program by Luis Alberto Migliorero
  • C64 program by Alvaro Alonso G.
  • Tektronix program (author unknown) hosted on Monty Mcgraw's GitHub site
Cool.

This BAM port and mod:
  • creates a custom screen size so that the map fills the browser window on a display with resolution of about 1371 x 771
  • animates the drawing of the map in an endless loop
  • once a map is drawn in some random colour, the program pauses for 2.5 seconds before the map gets retraced with a new random colour
  • Run the program
  • View the source code



🖥 Circular Sinusoidal Waves with DRAW and SIN

Run the program View the source code