The Boston Diaries

The ongoing saga of a programmer who doesn't live in Boston, nor does he even like Boston, but yet named his weblog/journal “The Boston Diaries.”

Go figure.

Thursday, Debtember 01, 2011

It took me five hours to build a five minute tool

I've heard of HyperCard, but having gotten into the Apple Mac scene just recently (like in the past two years) I've never seen it in action. I've heard great things about it and the types of stacks (which is what a HyperCard “program” is called) that have been created with it.

So I'm reading about why HyperCard had to die, which is more than just about HyperCard needing to die. It's also a tutorial about running HyperCard. I thought how hard could this be? So I start downloading …

Five hours later …

Oh. That hard.

I failed to get the Basilisk II binary for Mac OS X (as the site that hosts that appears to be down). Compiling it from source failed in the linking stage with an undefined reference to __gxx_personality_v0 and frankly, I'm just curious about HyperCard; I am not interested in debugging a build problem with a Macintosh emulator.

.

I then tried Executor, but given that I needed to run the GNU autotools prior to compiling and having that fail meant I discarded that solution; I am not interested in debugging an autotool problem with a Macintosh emulator.

It was at this time I found Mini vMac. There was an existing Mac OS-X executable (so nothing to build). Older Mac OS systems are freely available from Apple, leaving only the Macintosh ROMs to procure. I happen to have a Macintosh Classic, so I'll skip the details on extracting the ROM images from a machine I have no way of transferring any data from and that in no way involves using an Internet search engine to find a ROM image I could use. Nope. Did it the hard way. Tin cans. String. In the snow. Up hill. Both ways. That's my story, and I'm sticking to it.

So now I can start up the Mac emulator with the ROM image I totally copied from the Macintosh Classic I have (cough cough—sorry about that) and it's asking for a disk image to use.

Then came the issue of extracting the disk images from the Apple site. The modern Mac's default extracting program can't deal with the format. Existing free programs to do so under Linux don't work (I tried two different packages that are so old, they're shar files) and most Mac based programs want money. I did find one free program that can extract Mac-based archives and that worked beautifully.

It then took another hour or so to get System 7.0.1 installed (hint: you may find these blank disk images helpful to have someplace to install the software).

And finally, I can run HyperCard!

[Welcome to HyperCard]

I then was able to finish the tutorial and ended up with a working calculator in less than five minutes time.

[a small calculator in HyperCard]

And just for comparison, here is a screen shot with the system calculator:

[A HyperCard calculator and the system calculator]

Now, HyperCard is more than just a precursor to Visual Basic, but at least now I can play around with it and see what all the hype was about.

[I told you I own a Macintosh Classic!]

See! I told you I own a Macintosh Classic!

Obligatory Picture

[It's the most wonderful time of the year!]

Obligatory Links

Obligatory Miscellaneous

You have my permission to link freely to any entry here. Go ahead, I won't bite. I promise.

The dates are the permanent links to that day's entries (or entry, if there is only one entry). The titles are the permanent links to that entry only. The format for the links are simple: Start with the base link for this site: http://boston.conman.org/, then add the date you are interested in, say 2000/08/01, so that would make the final URL:

http://boston.conman.org/2000/08/01

You can also specify the entire month by leaving off the day portion. You can even select an arbitrary portion of time.

You may also note subtle shading of the links and that's intentional: the “closer” the link is (relative to the page) the “brighter” it appears. It's an experiment in using color shading to denote the distance a link is from here. If you don't notice it, don't worry; it's not all that important.

It is assumed that every brand name, slogan, corporate name, symbol, design element, et cetera mentioned in these pages is a protected and/or trademarked entity, the sole property of its owner(s), and acknowledgement of this status is implied.

Copyright © 1999-2019 by Sean Conner. All Rights Reserved.