static zstate_t zstate;
static volatile uint8_t timer; /* used for bus timeout */
+#if 0
+static volatile uint16_t req_cycles_ovl;
+
+ISR(TIMER4_COMPB_vect)
+{
+ req_cycles_ovl++;
+}
+#endif
+
/*---------------------------------------------------------*/
/* 10Hz timer interrupt generated by OC5A */
/*---------------------------------------------------------*/
z80_dbus_set_in();
z80_addrbus_set_in();
z80_reset_active();
+ _delay_us(10);
Z80_O_BUSREQ = 1;
timer = BUS_TO;
while (Z80_I_BUSACK == 0 && timer)
z80_dbus_set_in();
z80_addrbus_set_in();
z80_reset_active();
+ _delay_us(10);
Z80_O_BUSREQ = 1;
timer = BUS_TO;
while (Z80_I_BUSACK == 0 && timer)