STAR.BAS
Author: dadecoza
Category: Christmas Challenge
System: CP/M (Z80)
Language: BASIC-80 (MBASIC)
Len source code: 905
Len exe file: 0
Len code only: 768
Instructions: Put the code in the same folder as mbasic, basica, pc-basic, or gwbasic from within the basic interpreter type LOAD"STAR.BAS" followed by the RUN command.
Description: The code is written for dumb terminals, meaning we can't place the characters on the screen anywhere we like (there is no "AT" or "LOCATE") and as such, we need to draw the star one line at a time starting at the top left.
Comments: The code was tested on MBASIC running under emulated CP/M 3 using z80pack. The host computer is a Raspberry Pi 1 B using the internal UART with a MAX232 and connected to a 1982 Hazeltine Esprit III serial terminal.