News for hackers. Stuff that matters.
Re:Prince of Persia source code released (Apple II assembly) by Someone on Tuesday April 17, 2012 @01:16PM (#3853742)
I think you will be interested in the design of the Macintosh video/audio hardware, too, then; http://www.folklore.org/StoryView.py?story=Sound_By_Monday.t... gives some details.

IIRC, things were even better. There were two (740 byte, IIRC) buffers from which samples were taken at every horizontal refresh.

The sound driver used one to get samples to send to the speaker; the disk driver used the other to control the rotation speed of the disk drive (using pulse-width modulation).

There are no comments on this comment yet.