Subversion Repositories zxusbnet

Rev

Rev 152 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

  1.  
  2. #include <intrz80.h>
  3. #define set_evo_rtc(rtc_ad,rtc_val)     {output((unsigned short)0xdef7,rtc_ad); output((unsigned short)0xbef7,rtc_val);}
  4. //#define get_evo_rtc(rtc_ad)             {output((unsigned short)0xdef7,rtc_ad); input((unsigned short)0xbef7);}
  5.  
  6. void mcu_soft_reset(void);
  7. unsigned char get_evo_rtc(unsigned char addr);
  8. void wiz_reset(void);  
  9. void DelayMs(unsigned char nFactor);
  10. unsigned char getkey(void);
  11.  
  12. #define SL811_RESET() output(0x82ab,input(0x82ab)&0xbf);output(0x83ab,0x20);halt()