3 ms·
Back in the day there was a business graphics program called Zenographics Mirage. Think a very primitive PowerPoint that you could use to print to actual slides
by bitwize 5y ago
Back in the day there was a business graphics program called Zenographics Mirage. Think a very primitive PowerPoint that you could use to print to actual slides, as in the things you loaded into a slide projector.
Mirage had three major components: Chart, Ego, and Autumn. Chart was a menu-driven business chart package. Bar charts, pie charts, bullet lists, standard stuff. Notably, it made it very easy to add gradients, which Mirage called "sweeps", to your chart, because it was the style at the time. Ego stood for "Edit Graphic Objects" and was menu- or command-driven, like AutoCAD, and served as a general vector graphics editor. I forgot what Autumn did, something about importing data? Like from spreadsheets and stuff?
One of the features of Ego was that it could be scripted. Zenographics provided some example scripts, and some of them had really odd commands, just DO with numbers after them.
It turns out that "Mirage" was the runtime and abstract machine, and Chart, Ego, and Autumn were applications running on it. The numbers in the DO commands were opcodes for their VM's instruction set, which was called "MAD" for Mirage Application Development. MAD had primitives for doing stuff like picking stuff from the screen with the mouse, menus, and so on. Mirage could be put into a debug mode that flashed the opcodes as they were being executed. Using the information that provided, as well as the numbers from the example scripts, I was able to figure out what some of the opcodes did and use that to write new commands. Like I added a rectangle command to Ego that worked much like the built-in rectangle command, but it created a rectangle that could be rotated. (It created a four-segment polyline rather than a rectangle object defined by diagonally opposite corners.)
Mirage was a fascinating program but it is little known today. Zenographics got out of the application software business to focus on printer drivers a long time ago. Today they are a subsidiary of Marvell, the chip company.