- SCREEN _NEWIMAGE (to setup custom screen size for the specified mode)
- CIRCLE
- PAINT
- PRESET
- IFF
- FOR NEXT
- _DISPLAY (forces refresh of the screen; otherwise, the browser page locks up, going into an infinite loop)
- XMAX and YMAX
Wednesday, December 27, 2023
đĽ Mouse Tester program
Sunday, December 24, 2023
đĽ VC2023 Logiker
Saturday, December 23, 2023
đĽ GOTO Tester (Enhancements in the works)
(As of this writing, these are changes that exist only in the development version of BAM.)
Summary of enhancements to GOTO
- ignore leading zeroes in line numbers
- (this is a change to referenced line numbers referenced in GOTO statements and to declared line numbers (i.e. line numbers at the start of lines)
- new "EVAL clause"
- (can be used to evaluate either line numbers or line labels)
The test program
đĽ Which Weekday (Port and mod of an "80's BASIC" program)
Carlos Mencia shared a nice little "80's BASIC" program that takes an input date (day, month, year values) and returns the related weekday. (See this Facebook post.)
Although this BAM port is a significant mod, you'll find the all-important smarts of the program left untouched. This wee porting/modding task demonstrates one way of giving some good old BASIC code a new lease on life as a browser-based BASIC program, stored locally or hosted on the web, that should run on pretty much any modern device (even touch screen).
- run the program
- view the code (original code at the very bottom)
Wednesday, December 20, 2023
đĽ Koch curve (FreeBASIC program ported to BAM)
Monday, December 18, 2023
đ Syntax for Line Numbers
- GOTO and ON..GOTO
- GOSUB and ON..GOSUB
- RESTORE and ON...RESTORE
Saturday, December 16, 2023
đĽ Festive Skull (A SpecBAS to GW-BASIC to BAM port and mod)
ron77 ported ZXDunny's skull program from SpecBAS to GW-BASIC.
At first, I ported ron77's program with no changes except for some things that BAM does not support:
- DEF FN function identifiers that are the same as identifiers for variables
- Array identifiers that are the same as identifiers for variables
- screen mode 23 for rgb colours
- random colours
- infinite loop to generate a new skull for every loop
- animation: transitions between skulls (a skull is displayed for about 3 seconds before the transition to a new skull
đĽ 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 ...
-
Drawing regular polygons is pretty easy when using DRAW to generate the points of the polygon, using specified coordinates for the center of...
-
This program is a port and mod of Steve Justice's program presented in the "Fractals in Focus" article found in the May 1985 i...
-
This program by Charlie Veniot is a port and mod of Ian Witham's C64 program found in this YouTube video. New colours are randomly proje...