text: /*
   ___________________________________________________________
  /               __           _                              \
  |              / _|         (_)                             |
  |             | |_ _   _ ___ _  ___  _ __                   |
  |             |  _| | | / __| |/ _ \| '_ \                  |
  |             | | | |_| \__ \ | (_) | | | |                 |
  |             |_|  \__,_|___/_|\___/|_| |_| *               |
  |                                                           |
  |               The MSX C Library for SDCC                  |
  |                   V1.0 - 09-10-11 2018                    |
  |                                                           |
  |                Eric Boez &  Fernando Garcia               |
  |                                                           |
  |          C   &   A S M    S O U R C E   C O D E           |
  |                                                           |
  |                                                           |
  \___________________________________________________________/
  */
  /* Silencepsg =============================================================================
     SDCC AY-3-8910 PSG Functions Library (object type)
     Version: 1.0
     Date: 16/06/2018
     Author: mvac7/303bcn
     Architecture: MSX
     Format: C Object (SDCC .rel)
     Programming language: C
     WEB: 
     mail: mvac7303b@gmail.com
  
     Description:                                                           
  
  ============================================================================= */
  #include "../../header/psg.h"
  
  //intern MSX AY
  #define AY0index 0xA0
  #define AY0write 0xA1
  #define AY0read  0xA2
  
  //AY from MEGAFLASHROM-SCC+
  //#define AY1index 0x10
  //#define AY1write 0x11
  //#define AY1read  0x12
  
  
  
  /* =============================================================================
   SilencePSG
  
   Function : Silence the three PSG channels.
   Input    : -
   Output   : -
  ============================================================================= */
  void SilencePSG()
  {
    char i;
    for(i=8;i<11;i++) Sound(i,0); // put volume registers to zero (8,9 & 10)
  } //Enjoy the silence
  
  
  