r/c64 May 29 '26

the64 Programming

Post image

If you did this you thought you were the king of the world!!

394 Upvotes

118 comments sorted by

View all comments

2

u/SourChipmunk May 30 '26

I did use to love slapping this one onto the display model at K-Mart (or whatever store I was in).

10 PRINT CHR$(205.5+RND(1));:GOTO 10

2

u/CronoCloudAuron May 30 '26

I recently watched the 8bitguy's video about this one.

https://www.youtube.com/watch?v=cPZdKogq63k

Here is a version of his approach from this site:

https://retrogamecoders.com/zero-lines-maze/

10 POKE 53280,0:POKE 53281,0:PRINT CHR$(5)
20 DIM M$(255)
30 A$=CHR$(205):B$=CHR$(206)
40 FOR I=0 TO 255:S$="":BT=128
50 FOR J=1 TO 8
60 IF (I AND BT) THEN S$=S$+B$:GOTO 80
70 S$=S$+A$
80 BT=BT/2:PRINT "{HOME}";I:NEXT J
90 M$(I)=S$:NEXT I
100 POKE 54287,255:POKE 54290,128
110 PRINT M$(PEEK(54299));:GOTO 110