MOD files as a sound library with channels in MMBasic

Music and effects running side by side without cutting each other off. The path I took uses PLAY MODSAMPLE and a small set of fixed channels.

Rotating vectors in MMBasic without a FOR loop

Rotating each vertex by hand with COS and SIN is the obvious move. MATH V_ROTATE does the same job faster, with no per-point loop.

Initialising arrays in MMBasic without a FOR loop

Setting an entire array to a single value, no loop. MATH SET is the quiet little command I now reach for more often than anything else in the MATH family.

One MMBasic source for both CMM2 and MMB4L

MMB4L and CMM2 look similar, but the graphics commands aren't the same. How I keep both platforms running from a single source file.