• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

10 Print for Macintosh

AndiS

Well-known member
10 PRINT CHR$(205.5+RND(1)); : GOTO 10

This simple oneliner in Commodore BASIC has become quite famous for its nice complex output:

C64-Screenshot.gif

For this year's #MARCHintosh I asked myself, why should only the 8-bitters have all the fun? Sure, the Mac promised to not ever bother users with all that cryptic commandline stuff. But hey, that has been long ago and I don't care anyway ;-)

So I dowloaded the BASIC interpreter I considered to be easiest to learn (Chipmunk Basic) and started coding - here's the result on a Mac Classic:

Classic-Screenshot.gif

To be honest, this needed more than one line of code, but it is still nice. And look, there's some System ROM (?) content visible to the right of the graphics window ;-)

I wrote something up and also have the code for download on my Retro-Browser compatible web archive: https://archiv.sonnenmulde.at/MARCHintosh-2024/index.html

Enjoy!
 
Top