Re:Print, a one-line BASIC program
by hdgvhicv on Thursday August 14, 2025 @02:18AM
(#44897269)
For those that don’t know ascii off the top of the head, it prints either a forward or backward slash repeatedly, which in the c64 font creates a pretty art piece like the graphic at the bottom of the screen.
[ Parent
| on HN ]
And for those who do know ASCII off the top of their head, it's actually PETSCII. 205 (0xcd) is a right diagonal and 206 (0xce) is a left diagonal.
ASCII / (0x2f) and \ (0x5c) has three problems:
1. They're not as conveniently located (chr$(47+(rnd(1)*45) isn't quite as pretty)
2. They don't fill up character cell so there are gaps in the "maze"
3. PETSCII doesn't have a \ (0x5c is £)