Article View: comp.dsp
Article #1188Double-buffered SSI on M56001
From: Steve - Happy Hacker!
Date: Sat, 07 Nov 1992 20:28
Date: Sat, 07 Nov 1992 20:28
22 lines
1359 bytes
1359 bytes
I am trying to optimize some high-speed audio code for the Motorola 56001 DSP, and it seems that I could save a good amount of time by writing a better SSI (audio sample) interrupt handler. Since our processing is buffer oriented and not per-sample, it would help to have the incoming samples deposited in a double-buffering system. Ideally, I would like the ISR to fill up one buffer, set a flag for the main loop, and then start filling the other buffer. A main loop running at lower priority would process each buffer when the flag is set. It seems like the kind of thing that would have been done before, but I haven't seen any code that does this. If anyone knows of any available code or pointers to literature, please post or Email. Thanks! -Steve Steve Haehnichen --- PGP public key available upon request. --- shaehnic@ucsd.edu (FTP pub/crypt/unix_pgp20.tar.Z from ghost.dsi.unimi.it)
Technical Details
Message-ID:
<40697@sdcc12.ucsd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!sdcc12!sdcc13!shaehnicShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!sdcc12!sdcc13!shaehnic From: shaehnic@sdcc13.ucsd.edu (Steve - Happy Hacker!) Newsgroups: comp.dsp Subject: Double-buffered SSI on M56001 Message-ID: <40697@sdcc12.ucsd.edu> Date: 7 Nov 92 20:28:03 GMT Sender: news@sdcc12.ucsd.edu Reply-To: shaehnic@ucsd.edu Organization: HyperHack - San Diego, CA. Lines: 22 Nntp-Posting-Host: sdcc13.ucsd.edu