fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

xt-hdc: Add a short delay to the "write buffer" command

Hampa Hug d1b62656 7a1c596e

+16 -9
+16 -9
src/devices/hdc.c
··· 801 801 /* Command 0F: write buffer */ 802 802 803 803 static 804 + void hdc_cmd_wr_buf_delay (hdc_t *hdc) 805 + { 806 + hdc->buf_idx = 0; 807 + hdc->buf_cnt = 512; 808 + 809 + hdc->delay = 0; 810 + hdc->cont = hdc_cmd_done; 811 + 812 + hdc_set_result (hdc, 0, 0x00); 813 + 814 + hdc_request_data (hdc, 0); 815 + } 816 + 817 + static 804 818 void hdc_cmd_wr_buf (hdc_t *hdc) 805 819 { 806 820 #if DEBUG_HDC >= 1 ··· 809 823 ); 810 824 #endif 811 825 812 - hdc->buf_idx = 0; 813 - hdc->buf_cnt = 512; 814 - 815 - hdc_set_result (hdc, 0, 0x00); 816 - 817 - hdc->delay = 0; 818 - hdc->cont = hdc_cmd_done; 819 - 820 - hdc_request_data (hdc, 0); 826 + hdc->delay = 4096; 827 + hdc->cont = hdc_cmd_wr_buf_delay; 821 828 } 822 829 823 830