3 ms·
Only somewhat related, in 1986 or so computer labs at University of Pittsburgh had giant printers, like 8 feet long with a maze like paper path. They were howe
by sliken 6y ago
Only somewhat related, in 1986 or so computer labs at University of Pittsburgh had giant printers, like 8 feet long with a maze like paper path. They were however rather fast, something like 60-90 pages a minute. The pages being spit out was a common sound in the labs. They were however overwhelmingly used for ASCII. The first page would be your username spelled large on the first page out of ASCII.
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).
- FpUser 6y agoOne of the first programs that I wrote and that went commercial was written in Turbo Pascal as well. It also had a GUI system with EGA/VGA drivers where most of the performance critical code was done using built-in assembly. Turbo Pascal was mighty good and productive environment. Turbo Pascal's built-in assembly was also used to implement preemptive multithreading in the same program.
- azalemeth 6y agoThe physics department I did my undergrad at had a rule -- you could do your computing practicals in whatever language you liked, but they only officially "supported" a few (C, fortran, etc) -- if you wanted help in others, tough. 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".
- sliken 6y agoHeh, did they mean don't send a factal images to the printer? Or don't send a postscript file that generates a fractal to the printer?