Name of Release: STAR_11 (as file into archive, huh) Author: reddie Category: Christmas Challenge 2022 System: BK-0010/11M (PDP11-compatible Soviet computer) Language: Assembler (BKTurbo8) Len source code: 215 bytes, file "STAR_11.txt" Len exe file: 42 bytes (STAR_11.bin, including 4-bytes header) Len code only: 38 bytes Instructions: (on real hardware) load&start STAR_11.bin from BK-0010 Monitor or any DOS for BK10/11M); (in emulator) use "bkemu" emulator, it can be downloaded at https://gid.pdp-11.ru/bkemu.html run "BK_x64.exe", then drag&n&drop file "STAR_11.bin" into it's main window, and it's load&start the code automatically. Description(how the code works): the program builds a star from four triangles, in two passes, two triangles in each. In turn, the triangles are drawn by the "lines", using the ROM program to print the characters. Before the second pass, the code is patched to change the direction of rendering. The compilation address is selected so that the PC register can be used as a data pointer at the same time as the address for the patch (stored in the R0 register) Comments: I'm newbie to programming on BK, but 38 bytes it's not bad =) reddie, 2022-dec-06