Mandelbrot on a vintage IBM1401

Gepostet vor 1 Jahr, 28 Tagen 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

Cool Coding Sticker: I hate Programming I love Programming!

I can relate. Gibt's auf Redbubble für 3 Euro. (via Sara Soueidan)

The HiFi-Book, 1981

Marc Fischer sammelt in seinem hervorragenden Public Collectors-Tumblr Bilder aus alten HiFi-Katalogen von 1979/1981: „From The Hifi Book, a catalog…

MuscularAnimeGirl[NSFW].jpg = IndustrialMusic.mp3

Cool Bug featuring „a muscular girl“.jpg, anime style („slighly NSFW“ [„it's the only sample I had“ – sure]) and Industrial…

Floppy Foo Fighters

Paweł Zadrożniaks Floppotron auf Nerdcore: 64 Floppy Drives spielen Last Christmas 64 Floppy Drives spielen Game of Thrones 64 Floppy…

Raymond Smullyan R.I.P.

Logiker Raymond Smullyan ist im stolzen Alter von 97 Jahren gestorben. Der Mann war neben seinen mathematischen und philosophischen Arbeiten…

Fractal Tree Generator

Lovely Browsertoy by Chris Harrison: Simple Fractal Tree Generator, Code on Github.

Keyboard Bling 😱

😱 😱 This shit exists: e-element 104 PBT Double Shot. 😱 This year already sucks as bad as the last…

PostScript-Malware manipulates Print-Jobs

Fefe hat gestern ein interessantes Sicherheits-Leck verlinkt mit dem lapidaren Satz: „Benutzt hier jemand Postscript-Drucker?“ This post is about manipulating…

2-Dimensional Mandelbrot made from 3-Dimensional Fractal

Ab dem zweiten Satz von Peter Karpov raff ich sein Posting nur noch so zu 10%, aber soweit ich das…

Alexander Graham Bell kissing his wife Mabel in a Tetrahedron

Alexander Graham Bell, Erfinder des Telefon, knutscht seine Frau in einem Tetraeder, der alte Polyeder-Fetischist. (via Archillect Links)

Polyglot Inception = JPEG = CSS = JS = HTML

JS-Wizard Martin Kleppe hat ein JPG, ein Stylesheet, ein Javascript und ein HTML in dasselbe Textfile gebacken: Polyglot Inception4. Levels…