text: #ifndef __FEATURE_H__
  #define __FEATURE_H__
  
  // This file is autogenerated, do not edit
  
  #if defined(__CPM__)  && defined(__PX8__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__PX4__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__AUSSIE__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__CPC__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__PCW__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__EINSTEIN__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__ATTACHE__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__OSBORNE1__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__BONDWELL__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__BONDWELL2__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__KAYPROII__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__KAYPRO84__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__MZ2500__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__BEE__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 112
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__QX10__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__NASCOM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__TIKI100__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__DMV__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__COLECOADAM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__SMC777__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__PASOPIA__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__MSX__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPM__)  && defined(__BIC__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__EXCALI64__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__LYNX__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__SHARPX1__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__RC700__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__FP1100__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__ZXPLUS3__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)  && defined(__VECTOR06C__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__CPM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__ABC80__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__ABC800__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__ACE__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 32
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__ALPHATRO__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__ALTAIR8800__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__AQUARIUS__)  && defined(__ROM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__AQUARIUS__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__BEE__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 112
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__C128__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__C7420__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__COLECO__)  && defined(__ADAM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__COLECO__)  && defined(__BIT90__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__COLECO__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__CPC__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__DAI__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__ENTERPRISE__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__EXCALI64__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__FP1100__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__G800__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__GAL__)  && defined(__GALPLUSHIRES__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__GAL__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__GAMEBOY__)
  // #define __HAVE_KEYBOARD 0
  #define __HAVE_FGETC_CONS 1
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__GL__)  && defined(GL_TARGET_GL2000)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__GL__)  && defined(GL_TARGET_GL4000)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__GL__)  && defined(GL_TARGET_GL6000)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__HEMC__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__HGMC__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__HOMELAB__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__HOMELAB2__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__KC__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__KRAMERMC__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__KROKHA__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__LAMBDA__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__LASER500__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__LM80C__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__LVIV__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__LYNX__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__M100__)  && defined(__ROM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__M100__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__M5__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MC1000__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  #define __HAVE_VIDEO_MC6847 1
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MICRO8085__)
  // #define __HAVE_KEYBOARD 0
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX 0
  #define __HARDWARE_JOY2_INDEX 0
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__MIKRO80__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MSX__)  && defined(CLIB_MSXDOS1)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MSX__)  && defined(CLIB_MSXDOS2)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MSX__)  && defined(__ROM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MSX__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MTX__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MULTI8__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MYVISION__)
  // #define __HAVE_KEYBOARD 0
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SHARPMZ__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__MZ2500__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__NASCOM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__NC100__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__NEWBRAIN__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__ONDRA__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__OSCA__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__OZ__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__P2000__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PACMAN__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PASOPIA7__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__PC6001__)  && defined(__ROM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  #define __HAVE_VIDEO_MC6847 1
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PC6001__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  #define __HAVE_VIDEO_MC6847 1
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PC88__)  && defined(__ALLRAM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PC88__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PENCIL2__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PMD85__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SPRINTER__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__PRIMO__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PV1000__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__PV2000__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__RADIO86__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__REX__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__RX78__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__S1MP3__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__SAM__)  && defined(__ALLRAM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  #define __HAVE_PSG_SAA1099 1
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SAM__)  && defined(__HIGHRAM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  #define __HAVE_PSG_SAA1099 1
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SAM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  #define __HAVE_PSG_SAA1099 1
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__SC3000__)  && defined(__ROM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SC3000__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SMC777__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SMS__)  && defined(__GAMEGEAR__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SMS__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  #define __HAVE_PSG_SN76489 1
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SOL20__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX 0
  #define __HARDWARE_JOY2_INDEX 0
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SOS__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__SPC1000__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  #define __HAVE_VIDEO_MC6847 1
  // #define __HAVE_VIDEO_MC6845 0
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SPECIAL__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SORCERER__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 16
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SUPER80__)  && defined(__SUPER80_VDUEM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 112
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SUPER80__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SV8000__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  #define __HAVE_VIDEO_MC6847 1
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SVI__)  && defined(__ROM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SVI318__)  && defined(__ROM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SVI__)  && defined(__RAM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SVI__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  #define __HAVE_VIDEO_VDP 1
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TESTTARGET__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX 0
  #define __HARDWARE_JOY2_INDEX 0
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__TI82__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TI83__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TI85__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TI86__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TI8x__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TRS80__)  && defined(__EG2000__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 32
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TRS80__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  #define __HAVE_VIDEO_MC6845 1
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TS2068__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 1
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__TVC__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__VECTOR06C__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__VG5000__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 96
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__VZ200__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  #define __HAVE_VIDEO_MC6847 1
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__X07__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__X1__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__Z1013__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  // #define __HAVE_JOYSTICK 0
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__Z80TVGAME__)
  // #define __HAVE_KEYBOARD 0
  // #define __HAVE_FGETC_CONS 0
  // #define __HAVE_GETK 0
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__Z88__)  && defined(__Z88_APPLICATION)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  #define __HAVE_FILEIO 1
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__Z88__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  #define __HAVE_FILEIO 1
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__Z9001__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  #define __HAVE_ONEBITSOUND 1
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX 1
  #define __HARDWARE_JOY2_INDEX 2
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SPECTRUM__)  && defined(__ROM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__SPECTRUM__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 1
  #define __HAVE_RS232 1
  #define __HAVE_FILEIO 1
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__ZX80__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  // #define __HAVE_INKEY 0
  // #define __HAVE_ONEBITSOUND 0
  // #define __HAVE_PSG_AY 0
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  // #define __HAVE_GFX 0
  // #define __HAVE_GFX_COLOUR 0
  // #define __HAVE_GFX_POINTXY 0
  // #define __HAVE_GFX_XORPLOT 0
  
  #elif defined(__ZX81__)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  // #define __HAVE_PSG_AY_WYZ 0
  // #define __HAVE_PSG_AY_VT2 0
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  // #define __HAVE_RS232 0
  // #define __HAVE_FILEIO 0
  // #define __HAVE_TIME 0
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 0
  #define __HAVE_GFX 1
  // #define __HAVE_GFX_COLOUR 0
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__ZXNEXT)  && defined(__ESXDOS_DOT_COMMAND)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  // #define __HAVE_INTERRUPTS 0
  #define __NEED_INTERRUPT_INIT 0
  #define __HAVE_RS232 1
  #define __HAVE_FILEIO 1
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  
  #elif defined(__ZXNEXT)
  #define __HAVE_KEYBOARD 1
  #define __HAVE_FGETC_CONS 1
  #define __HAVE_GETK 1
  #define __HAVE_INKEY 1
  #define __HAVE_ONEBITSOUND 1
  #define __HAVE_PSG_AY 1
  #define __HAVE_PSG_AY_WYZ 1
  #define __HAVE_PSG_AY_VT2 1
  // #define __HAVE_PSG_SN76489 0
  // #define __HAVE_PSG_SAA1099 0
  #define __HAVE_INTERRUPTS 1
  #define __NEED_INTERRUPT_INIT 1
  #define __HAVE_RS232 1
  #define __HAVE_FILEIO 1
  #define __HAVE_TIME 1
  // #define __HAVE_VIDEO_MC6847 0
  // #define __HAVE_VIDEO_MC6845 0
  // #define __HAVE_VIDEO_VDP 0
  #define __HAVE_JOYSTICK 1
  #define __HARDWARE_JOY1_INDEX -1
  #define __HARDWARE_JOY2_INDEX -1
  #define __GENCON_MAX_UDGS 128
  #define __HAVE_GFX 1
  #define __HAVE_GFX_COLOUR 1
  #define __HAVE_GFX_POINTXY 1
  #define __HAVE_GFX_XORPLOT 1
  #endif
  
  #endif
  