Mandelbrot on a vintage IBM1401

Gepostet vor 1 Jahr, 6 Monaten in #Misc #Tech #Coding #Fractals #Hardware #Mathematics #Retrotech

Share: Twitter Facebook Mail

mand1

Ken Shirriff hat im Computer History Museum in San Francisco einen ollen, aber funktionierenden IBM1401-Rechner gefunden. Also hat er dafür ein Mandelbrot-Apfelmännchen in Assembler programmiert, das Programm auf ebenso olle Lochkarten gestanzt, das Teil einmal durchrattern lassen – „The cards fly through the reader at the remarkable speed of 800 cards per minute so the Mandelbrot program loads in just over a second“ – und das ganze schließlich auf ’nem Zeilendrucker ausgegeben. Nice! (via Visualizing Math)

mand2

The program fits onto just 16 cards, but the card format is a bit unusual. The machine code for the Mandelbrot program is punched into the left half of the each card, with code such as M384417A395417. An interesting thing about the 1401 is the machine code is almost human-readable. M384417 means Move field from address 384 to address 417. A395417 means Add the number at address 395 to the number at address 417. The text on these cards is the actual machine code that gets executed, not the assembly code. Since the machine is character-based, not binary, there's no difference between the characters "428" and the address 428.

If you look at the right half of the cards, there's something totally different going on, with text like L033540,515522,5259534. There's no operating system, so, incredibly, each card has code to copy its contents into the right place in memory (L instruction), add the word marks (, instruction), and load the next card. In other words, the right hand side of each card is a program that runs card-by-card to load into memory the program on the left hand side of the card deck, which is executed after the last card is loaded.

To run the program, first you hit the "Power On" button on the IBM 1401 console. Relays clunk for a moment to power up the system and then the computer is ready to go (unlike modern computers that take so long to boot). You put the cards into the card reader and hit the "Load" button. The cards fly through the reader at the remarkable speed of 800 cards per minute so the Mandelbrot program loads in just over a second. The console starts flickering as the program runs, and every few seconds the line printer hammers out another line of the fractal. After 12 minutes of execution, the fractal is done.

mand3

Beyond Cyberpunk Hypercard-Archive

HyperCard war eine frühe Version (vor HTML) der Hypertext-Programmierung auf dem Mac. Die Software war damals relativ weit verbreitet, wurde…

10 PRINT CHR$ (205.5 + RND (1)); on a Commodore Pet

10 PRINT CHR$ (205.5 + RND (1)); 20 GOTO 10 ist sowas wie ein Miniatur-Programm in Basic für Generative Graphics,…

Monospaced Programming Fonts with Ligatures

Didn't know these exist, love it: Monospaced Programming Fonts with Ligatures. Three of the most interesting and thoughtful monospaced programming…

Cellular Automata Cube

Cubes.io: Conways Game of Life als 3D-Spielzeug mit Cubes und Spheres und Schnickschnack als Evolution-Nullpunkt, von wo aus die ganzen…

Superconducting Quantum Levitation on a 3π Möbius Strip

„Quantum levitation on a 3π Möbius strip track! Watch the superconductor levitate above the track and suspend below the track,…

Stereographic Torus Knot

I'm not sure what's going on here but I like it: „This is very similar to Rise Up, though with…

Generative Pearls

Cool fractal and generative art by Julien Leonard. I dig his explanation from his about-page: „I create algorithms that connect…

4D Monkey Dust

Henry Segerman erklärt vierdimensionale Affen und Stereoprojektion: Die 3D-Prints von Segerman habt ihr sicher schon irgendwo gesehen, er macht diese…

Hyperkin Ataribox

Hyperkin haben anscheinend ihre Flashbak-Atari-Konsolen neu aufgestellt und zeigten auf der E3 das HD-fähige RetroN77 vor. Aus Hyperkins E3-Listing: „The…

Charles Thacker R.I.P.

Charles Thacker, Chefdesigner des Xerox Alto und Erfinder des Ethernet, ist nach kurzer Krankheit verstorben. Thackers Alto ging 1976 als…

Balis Rice Fields are self-optimizing, fractal Patterns

Super interesting findings from Stephen Lansing (Nanyang Technological University) and Stefan Thurner (Complexity Science Hub Vienna): The Patterns of the…