void devices_rethink(void) { rethink_cias (); #ifdef A2065 rethink_a2065 (); #endif #ifdef A2091 rethink_a2091 (); #endif #ifdef CDTV rethink_cdtv(); rethink_cdtvcr(); #endif #ifdef CD32 rethink_akiko (); rethink_cd32fmv(); #endif #ifdef NCR ncr_rethink(); #endif #ifdef NCR9X ncr9x_rethink(); #endif ncr80_rethink(); #ifdef WITH_PCI pci_rethink(); #endif #ifdef WITH_TOCCATA sndboard_rethink(); #endif rethink_gayle (); idecontroller_rethink(); /* cpuboard_rethink must be last */ cpuboard_rethink(); }
static void cdtvcr_4510_do_something(void) { if (cdtvcr_4510_ram[CDTVCR_INTACK]) { cdtvcr_4510_ram[CDTVCR_INTACK] = 0; rethink_cdtvcr(); } if (cdtvcr_4510_ram[CDTVCR_CD_CMD_DO]) { cdtvcr_4510_ram[CDTVCR_CD_CMD_DO] = 0; cdtvcr_4510_ram[CDTVCR_SYS_STATE] |= 2; write_comm_pipe_u32 (&requests, 0x0100, 1); } }