BRAINSTAR64
Author: Wil / VCC
Category: Christmas Challenge
System: C64
Language: Brainfuck64
Len source code: 1060 bytes
Len exe file: 1073 bytes
Len code only: 939 bytes (pure brainfuck code)
Instructions:
To run the code,
(i) drag the file brainstar64.d64 onto the emulator (or insert this disk in a real system and load and start the first file)
(ii) wait for brainfuck64 to boot
(iii) enter LOAD"BRAINSTAR64.BF",8 and press return
(iv) enter RUN, press return and enjoy the result
The sourcecode is also the executable file. Brainfuck is a simple-to-understand but hard-to-use programming language. Printing the star from the Christmas challenge involves a lot of math to calculate the PETSCII values of the output correctly. The program consists of 26 lines of pure brainfuck code. For example, line 1 contains the code to print five spaces and a single asterisk.
Comments:
This work was done for the Vintage Computing Christmas Challenge 2022: https://logiker.com/Vintage-Computing-Christmas-Challenge-2022
The Brainfuck64 system is available here https://csdb.dk/release/?id=223936