[stella] C64 MakeWav

Subject: [stella] C64 MakeWav
From: Bill Heineman <burger@xxxxxxxxxxxxx>
Date: Fri, 29 Aug 1997 08:46:07 -0700
To play the audio, first shut off the video display to prevent timing
problems with Sprite and Screen DMA.

Then turn off interrupts with a SEI instruction.

Turn on the sid chip to output a high frequency SQUARE wave to establish a
carrier tone.

Now, using tight precisely timed code, store into the VOLUME register the
"WAV" file data at the proper frequency (11025 stores per second) to play
the data.

Restore the system to normal.

Not trivial, but not impossible.

Burger



--
Archives updated once/day at http://www.biglist.com/lists/stella/archives/
Unsubscribing and other info at http://www.biglist.com/lists/stella/stella.html

Current Thread