#include "config.h"
#include "types.h"
#include "prefs.h"
#include "z80.h"
#include "crtc.h"
#include "ppi.h"
#include "fdc.h"
#include "psg.h"
#include "gatearray.h"
#include "memman.h"
#include "keyboard.h"
#include "colours.h"
#include "sound.h"
#include "vdu.h"
Go to the source code of this file.
|  | 
|  | cpcx | 
|  | Namespace for all CPC components. 
 | 
|  | 
Value:{ \
   tUBYTE control = mPsg.control() & 0xc0;  \
   if (control == 0xc0) {  \
      mPsg.setSelected(mPsg_data);  \
} else if (control == 0x80) {  \
      if (mPsg.selected() < 16) {  \
         mSound.setAYRegister(mPsg.selected(), mPsg_data); \
} \
} \
}
Referenced by Cpc::z80_out_handler().