A children’s game for building “funny faces” with the joystick: you change the face, the ears, the mouth or the nose, and the magazine says over 3,700 different faces can be made. A finished face can be copied to the printer.
Written by Eric Boisvert for Byte Power, October 1986, where it is listed as a children’s game loading in 2 minutes 45 seconds.
Program Analysis
The tape file FunnyFaces is a 29,887-byte BASIC program. Line 0 is a DATA statement that holds the machine code and the face graphics. Line 10 starts the code with RANDOMIZE USR 52547; when it returns to BASIC, line 30 does a COPY of the screen to the printer and line 40 re-enters the code at 53693, so the printer copy is handled by a BASIC loop around the machine code. If system variable 23681 is 0, line 1 lists the save line and stops instead. The code itself has not been disassembled.
Notable Techniques
- Machine code hidden in a
DATAline rather than the usual REM. - Printing left to BASIC’s
COPYcommand between two machine-code entry points.
As with every Byte Power program, the magazine’s copy instructions say to POKE 23681,0 before loading so that the program stops after loading and line 9999 can save a backup. The program has no download of its own; it is on the Byte Power October 1986 tape.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.
