[Coco] Assembly audio routines

Evan Wright evancwright at yahoo.com
Sun Mar 19 17:18:36 EDT 2017


Here is the github repository for the CoCo project I recently did.
https://github.com/evancwright/CoCo

If you look in floodit_cart.asm there is a routine which plays the intro melody to the game.  I never did get sound working in an unblocking fashion, though,  It looks like the ISR checks the values for the length and freq of the tone to play, then loops until the sound is done playing.
I used this as a reference...http://www.lomont.org/Software/Misc/CoCo/Lomont_CoCoHardware.pdf

Hope this is at least somewhat useful.
-Evan


  
|  
|   
|   
|   |    |

   |

  |
|  
|    |  
evancwright/CoCo
 TRS-80 CoCo Projects  |   |

  |

  |

 
 

    On Sunday, March 19, 2017 1:34 PM, Glen Hewlett <glen.hewlett at sympatico.ca> wrote:
 

 Hi All,

Does anyone have some example code for playing audio samples in an assembly program?  I’m making some nice speed improvements in my Pac Man transcode and I thought it would be nice to test with some sound added to the game.  If someone has some code I can take a look at that would be great.

Cheers,
Glen

-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


   


More information about the Coco mailing list