GeirS VCCC2023 MEGA65 BASIC 88 Author: Geir Straume Category: Christmas Challenge System: MEGA65 Language: BASIC Len source code: 105 chars (as LIST'ed on screen) Len exe file: 90 bytes Len code only: 88 bytes (excl. load address) Instructions: Install the Xemu emulator (https://github.lgb.hu/xemu/), drag and drop the code.prg file into it. Description: The code displays the shape on the screen by drawing diagonal lines, reversing directions when edges are reached. For the entire shape to be drawn, some "random" direction changes are also done. The code loops forever, drawing the shape over and over. It uses the predefined T@& byte array in BASIC 65 for direct access to screen memory. Comments: - File result.png is a screenshot from the Xemu emulator - File result-nexys.png is a screenshot from the MEGA65 core running on a Nexys A7 FPGA (screenshot taken via the m65 tool)