Tag Archives: Featured

The Skull Box

This article is the second in a multi-part series related to the vintage Macintosh computers of the late 1980s, about a HyperCard stack resurrected in 2019 from the memory of one made way back in 1990.
(
1 | 2 | 3 | Vintage Macintosh Resources )

My work partner Jerry and I had developed a habit of passing paper notes back and forth during our sometimes interminable team meetings.

Jerry had a very dry sense of humor, and after we’d been sitting in one of these meetings for a very long time he passed me a slip of paper with a small cartoon he’d drawn of eight skulls in a chocolate box, his commentary on our mutual plight.

Macintosh IIci
Macintosh IIci

This was circa 1990. Jerry’s job was to extract data from a large university database; my job was to process that data using what was at that time the most powerful desktop computer we could find: a Macintosh IIci with 8MB of RAM . The base price of one of these in today’s dollars would be about US$13,000, this for a computer that ran 6.3 MIPS (millions of instructions per second). By comparison, my 2013 iPhone 5s (which I purchased a few years ago for $265) runs at 20,500 MIPS. That’s about 3000 times faster for a computer that is 2% of the cost. Nowadays we of course take this for granted, Moore’s Law and all that…

Jerry was using COBOL to export data from the university’s “student master file”, extracting large (25MB!) text files where each student’s record was a 640 character wide line of columnated data that captured everything the university knew of their personal information, the classes they were taking, and their grades. There was actually only one student master file (the database itself), and it was changing constantly, so the university captured snapshots of the file five times per semester.

I processed the data using 4th Dimension, a Mac relational database. It had a built-in programming language that I’d extended with a scriptable macro language. This was used to perform searches and generate indexes from the data Jerry supplied. I’d start a script on Friday as I left for the weekend and the Mac would chug away to generate about 450 Excel spreadsheets, finishing up sometime on Sunday afternoon. Nowadays that same processing would take less than a few minutes.

…and then came HyperCard

I’d been working on Macs almost since the first model came out in 1984. One of the things I was most enthusiastic about was a software program called HyperCard, which was distributed along with every Macintosh, as free software.

It’s a bit hard to describe the impact of HyperCard to those who haven’t seen or used it. HyperCard combined a graphics program, an object-oriented database, and software development environment in such a way that almost anyone could create their own applications, called stacks (following the metaphor of a stack of 3×5 note cards), enabling non-programmers to create software applications that were only limited by their creator’s imaginations (well, and the limitations of the computers at that time). People made their own recipe catalogs, address books, databases, animation stacks, tools to help them with all manner of professional, academic and hobbyist needs.

Creating the Skull Box Stack

That evening I started work on the HyperCard stack.

The Chocolate Box

From Jerry’s sketch I drew an empty chocolate box, then created a new button and set its Style as Transparent. For the button I created a new icon to look like Jerry’s skull drawing. I made seven more copies of that button and placed them inside the chocolate box. This all within HyperCard.

The Skull Icon

I made a small handle icon and used that on a large Rectangle-style button as the lid of the chocolate box. I wanted to have the lid fly off when clicked on, then if a skull was clicked on it would bounce around on the screen. This meant that the HyperTalk script for animating the lid and the script to animate the skulls could be similar, apart from the bouncing.

The scripting was a bit trickier than I’d thought, but I delivered the finished stack to Jerry the next day. On a floppy disk.

While it’s certainly possible to do something like this nowadays as a web page with some JavaScript, the graphics application and web development prerequisites and the ability to upload and host a page are beyond the skills of most non-programmers, or at least what most non-programmers would ever bother to do… too much trouble.

By comparison, HyperCard allowed me to do this in one evening in an environment that melded both graphic tools and a simple, English-like programming language. HyperCard was admittedly more limited than a full-colour graphics application and a web development environment, but those limitations actually enabled it to be used by anyone. And it was fun.

Download the SkullBox Stack

The images posted here aren’t from that 1989 stack, which is sadly long lost to the floppy disks of history. Last week I used HyperCard and the vintage Macintosh emulator Mini vMac to recreate that 1989 SkullBox stack (from memory, i.e., my memory), with a few improvements. If you have a vintage Mac emulator available you can download a floppy disk file and try it out for yourself:

  • Download SkullBox stack (disk image file, 131K)
  • Download SkullBox stack, HyperCard 2.3.5, System 6.0.8, utilities (bootable disk image file, 10.5MB)

The first download is a disk image containing only the SkullBox stack. The second download is a bootable disk and contains System 6.0.8 and a copy of HyperCard 2.3.5 so it can be used to start up a Mac emulator as well as run the SkullBox stack. You can even make your own stacks.

This article was composed using MacWrite 4.6 on an emulated Mac SE. Next time I’ll describe how to set up your own Mini vMac emulator.

Previous article: HyperCard Lives!

  • † interestingly, the developer of 4th Dimension, Laurent Ribardière, went on to develop Wakanda, a JavaScript platform to develop and run web or mobile apps. 4D is still available in 2019.
  • ‡ *.img or *.dsk files can be drag-and-dropped onto an open Mini vMac window to be mounted as floppy disks. They can also be double-clicked on Mac OS X and Linux to mount as read-only disks. Linux only seems to recognise the *.img file extension (as application/octet-stream), not *.dsk. But of course you’ll need a vintage Mac emulator to actually open a HyperCard stack.
Facebooktwitterpinteresttumblr

The Terrible Screaming Has Stopped

I was prototyping a circuit last week, spending many hours sitting in front of the breadboard, consumed in the truly fiddly task of cutting and wire-stripping a lot of tiny wires, managed to get it all together and the first time I fired it up it and plugged it into an amplifier all I could hear was screaming.

Well, as in software sometimes the bugs are an easy fix, particularly if you RTFM. In this case it turned out not to be related to the filter I was building at all — it was the power supply. I’m using a TC1044S charge pump, a tiny bit of magic that converts a positive 9 volt power supply (as used in most guitar pedals) into a negative 9 volt supply:TC1044SWell, the 1044 uses a 10kHz oscillator to do its magic and I was pretty certain I was hearing one of the harmonics of 10kHz. I tried disconnecting the power to the 1044 and the screaming stopped.

It turns out the engineers that designed this chip had thought that a fixed frequency might be a problem in certain applications, and by connecting the mysteriously named “Boost” pin 1 to V+ it increases the oscillator’s frequency to 45kHz, well beyond the range of human hearing, though apparently not past that of quite a lot of animals, such as the humble hedgehog (45kHz), the rabbit (49kHz), gerbil (60kHz), and bats (115kHz). So the 1044 could be a real irritant if say a hedgehog or a dolphin were the one designing guitar pedals.

Dolphins’ hearing extends all the way into their sonar range (150kHz) which I assume means their hearing is the same as their sonar. Given this is also the same as their vocal range it would seem they could potentially vocalise what they’re “seeing” via sonar, so that rather than saying to their buddy, “look out, here comes a shark!” they could yell out the sonar image of a shark. Dolphin music would be pretty incredible. Maybe it is.

I was a bit surprised to learn that the common house cat has a hearing range up to 77kHz. Mice up to 79kHz. Just what are cats and mice listening to up there? Makes you wonder.

hedgehog image courtesy Wikimedia Commons

Facebooktwitterpinteresttumblr

You gotta start somewhere…

flattened-akio
Akio plumb worn out after very seriously watching birds all morning

Starting a guitar effects company must rank up there with opening restaurants as one of the riskier of business ventures, well, before we head into the territory of loan sharks and bomb disposal (everything is relative). People often invent things to solve their own problems — in my case I’m looking to create sounds from a guitar for Barkhausen that can’t be created by existing pedals (yes, I am doing this out of a fundamental need).

I’ve got quite a number of design ideas, just figuring out how to focus on one of them is a challenge. My plan is to initially produce an initial build of twenty pedals of a first design sometime in the first half of 2016.

I’ll be blogging about the progress of my first pedal design over the coming months. I hope you’ll tune in.

— Murray

PS. the pink box (the featured image above with sixteen knobs) is a modified 4ms Sweptoner I built over the winter. I added a PT2399-based echo (the white knobs) into the mix. Successfully tackling such a difficult build was one of the reasons I thought about doing my own thing. I’ll cover building the Sweptoner in a future post…Facebooktwitterpinteresttumblr