1 #include "includes" 2 clock_oscillator(void)3void clock_oscillator(void) 4 { /* here we can send one tic to other (not CPU) hardware */ 5 #ifdef Z80_CTC 6 send_pulse_to_ctc(clk); 7 #endif 8 #ifdef LOGIC_ANALYZER 9 send_pulse_to_analyzer(); 10 #endif 11 #ifdef PORT_BUFFER 12 send_pulse_to_port_buffer(); 13 #endif 14 } 15 16 clock_frequency(void)17unsigned clock_frequency(void) 18 { 19 /* return 2500000; Z80 quartz */ 20 return 4000000; /* Z80A quartz */ 21 /* return 6000000; Z80B quartz */ 22 /* return 8000000; Z80H quartz */ 23 } 24