comparison segacd.c @ 2427:8b948cf23557

Remove extra clear of DSR
author Michael Pavone <pavone@retrodev.com>
date Thu, 25 Jan 2024 22:18:46 -0800
parents cde4ea2b4929
children
comparison
equal deleted inserted replaced
2426:cde4ea2b4929 2427:8b948cf23557
854 } 854 }
855 calculate_target_cycle(m68k); 855 calculate_target_cycle(m68k);
856 } 856 }
857 cd->gate_array[GA_CDC_DMA_ADDR] = 0; 857 cd->gate_array[GA_CDC_DMA_ADDR] = 0;
858 cd->cdc_dst_low = 0; 858 cd->cdc_dst_low = 0;
859 //TODO: Confirm if DSR is cleared here on hardware
860 cd->gate_array[GA_CDC_CTRL] &= ~BIT_DSR;
861 break; 859 break;
862 } 860 }
863 case GA_CDC_REG_DATA: 861 case GA_CDC_REG_DATA:
864 cdd_run(cd, m68k->current_cycle); 862 cdd_run(cd, m68k->current_cycle);
865 printf("CDC write %X: %X @ %u\n", cd->cdc.ar, value, m68k->current_cycle); 863 printf("CDC write %X: %X @ %u\n", cd->cdc.ar, value, m68k->current_cycle);