src/mame/machine/n64.c
| r14601 | r14602 | |
| 1562 | 1562 | pi_dma_dir = 0; |
| 1563 | 1563 | pi_status |= 1; |
| 1564 | 1564 | |
| 1565 | | attotime dma_period = attotime::from_hz(93750000) * (int)((float)(pi_rd_len + 1) * 3.0f); |
| 1565 | attotime dma_period = attotime::from_hz(93750000) * (int)((float)(pi_rd_len + 1) * 6.08f); // Measured as between 2.53 cycles per byte and 2.55 cycles per byte |
| 1566 | 1566 | //printf("want read dma in %d\n", (pi_rd_len + 1)); |
| 1567 | 1567 | pi_dma_timer->adjust(dma_period); |
| 1568 | 1568 | //pi_dma_tick(); |
| r14601 | r14602 | |
| 1575 | 1575 | pi_dma_dir = 1; |
| 1576 | 1576 | pi_status |= 1; |
| 1577 | 1577 | |
| 1578 | | attotime dma_period = attotime::from_hz(93750000) * (int)((float)(pi_wr_len + 1) * 3.0f); |
| 1578 | attotime dma_period = attotime::from_hz(93750000) * (int)((float)(pi_wr_len + 1) * 6.08f); // Measured as between 2.53 cycles per byte and 2.55 cycles per byte |
| 1579 | 1579 | //printf("want write dma in %d\n", (pi_wr_len + 1)); |
| 1580 | 1580 | pi_dma_timer->adjust(dma_period); |
| 1581 | 1581 | |