Previous 15994 Revisions Next

r14602 Friday 24th February, 2012 at 02:58:20 UTC by MooglyGuy
[N64] Change PI DMA speed from 3 cycles/word to 6.08 cycles, as average PI speed is between 2.53 and 2.55 cycles/byte. [Ryan Holtz]
[src/mame/machine]n64.c

src/mame/machine/n64.c
r14601r14602
15621562         pi_dma_dir = 0;
15631563         pi_status |= 1;
15641564
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
15661566         //printf("want read dma in %d\n", (pi_rd_len + 1));
15671567         pi_dma_timer->adjust(dma_period);
15681568         //pi_dma_tick();
r14601r14602
15751575         pi_dma_dir = 1;
15761576         pi_status |= 1;
15771577
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
15791579         //printf("want write dma in %d\n", (pi_wr_len + 1));
15801580         pi_dma_timer->adjust(dma_period);
15811581

Previous 15994 Revisions Next


© 1998-2018 The MESS Team