: Once that's done, I'll probably go wild and start doing sound-effect
: support... oh boy... but I'll probably leave the callback out as well.
: (It's really not worth writing the full Z-machine interrupt support.
: Especially since I'd probably get it wrong.)
I just put the callback in my Amiga interpreter over the weekend, and
provided that your operating system can tell you when a sound has finished
it's easy. Testing is simple - it's used in Sherlock when you summon a cab;
the sound of the cab approaching is played three times, in increasing
volume.
BTW, I'd expect that the Amiga sound effects can be played on the Mac,
provided you xor the data with 0x80 (which is what is required to turn the
Mac Sherlock sounds into something the Amiga can cope with).
David