An editor for redesigning the 96-character set. At the start you give the address where the character set will be kept (50000 by default). A cursor moves over the character set, and four commands are chosen by their first letter: Edit draws the character under the cursor on an enlarged grid, Next stores the edited character and moves to the next one, Move shifts the cursor without changing the character being worked on, and File loads, saves or clears the set or quits. The joystick or the keys Q, A, O and P with SPACE for the button move the cursor and draw.
Character Set Definer is by Eric Boisvert and was published on the September 1986 tape of Byte Power (#63045). A sample set, TYPE STYLE, follows it on the tape and can be loaded through the File option.
Program Analysis
The tape file is one 3,954-byte BASIC program; the editor is machine code in line 0, entered with GO TO USR 27119. The file menu is BASIC: lines 1000–1030 load a set and 2000–2040 save one as 768 bytes (96 characters of 8 bytes) with VERIFY, then return to the editor at 27554. Line 3000 reads the address chosen by the machine code from PEEK 23728+256*PEEK 23729. Quit is NEW.
Notable Techniques
- The machine code passes the character-set address to BASIC through the system variable bytes at 23728–23729.
- Sets are saved and loaded with
SAVE n$ CODE ADDR,768, so a set can be loaded back to any address. - Line 1 checks
PEEK 23681: Byte Power told readers toPOKE 23681,0before loading a program so that it stops after loading and can be saved with line 9999 as a personal backup; otherwise the program starts the code.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.

