12-minute Mandelbrot: fractals on a 50-year-old IBM 1401 mainframe
righto.com
righto.com
I got interested in the Mandelbrot set, wrote it in pascal from the original Scientific American article. Trick is I had no way to view it. File quotas on the campus VAX were limited, so I wrote a simple RLE compression. I looked into the Postscript standard so I could write it myself, but was somewhat horrified at the complexity. I had written PCL before. But I did find a nice Fortran library. So I wrote some Fortran to read the RLE picture file and output PostScript.
Some afternoon near Xmas, I tried it out. I had no idea if it would work since I couldn't debug it, there was no postscript viewers (or graphical terminals) available. I printed the postscript file and the printers sudden page per second stopped. After a few seconds the operator jumped up and was about to reset the printer. I pleaded my case for a few minutes, the operator agreed, and a 300 DPI Mandelbrot was spit out. The operator went "Woah!", a few more people in the lab saw it and impressed. I explained what a fractal was and that you could zoom in infinitely. Several people wanted copies, so I printed them. The entire process took many minutes (pascal to generate, fortran to render, and print to print). These days you can zoom way deeper and get at least 60 FPS.
Later I wrote a EGA driver in Turbo Pascal, primarily for Mandelbrot viewing and a few simple games I wrote. I was able to do so from an article in the PC Tech Journal which printed the entire EGA card spec. Later I wrote the ASM for an 8087, then a HP-730 (PA-RISC 1.0) and a small tweak for the HP-735 (PA-RISC 1.1).
Naturally, this led to some people writing answers in less common languages, like, say, 4-bit assembly for a custom CPU, metafont, and a particularly memorable Ising model in postscript (just print it, and the number of pages is the number of iterations!). It wasn't soon after the last one that a nice little laminated notice appeared saying "please do not send fractals to this printer".
The wet dream of chipmakers today, no doubt. Most recent example that occurs to me is the VideoCore bullshit on Raspi, afaik the effect was few paid for a license and that hardware feature mostly went unused before it went obsolete.
It sucked at the time, but thankfully the later Raspberry Pi 3B was powerful enough that that wasn’t needed anymore (it was still available on the 3B, but IDK about the 4B).
For instance, the multiply/divide feature cost $333 per month (in 1960s dollars), but it required the installation of 183 circuit boards (each the size of a playing card) so you were getting your money's worth.
More curious was the Sterling currency option, which provided arithmetic in pounds/shillings/pence. (I.e. 12 pence to the shilling, 20 shillings to the pound.) This required 508 new circuit boards, but made it much easier to do currency math in England. Keep in mind this is transistor circuitry to do math in hardware.
"The program was introduced in September 2010 for the Clarkdale-based Pentium G6951 desktop processor [...] For a $50 fee, this processor could have one additional megabyte of cache enabled, as well hyper-threading"
I always admired Mandelbrot pictures. First picture, that came to light was a program I ran on a C64 I ran before bed time. The next morning the magic came to light.
Here’s a review if anyone wants to explore it and get the full book:
https://fredlybrand.com/2019/10/01/benoit-mandelbrots-the-fr...