rdp_stall.tst
867 Bytes
// Run a display list in a .rdram file through the rdp
// with stalls caused by ai DMA's
// config rdram
t 0000 00000000 00000000 00000000 00000000
// halt sp
t 0103 04040010 00000002 00000001 00000000
// Init Video Interface (VI) to get proper video clock signal into AI
t 0102 04400000 00000000 00000000 00000000
//
// increase the frequency of the AI DMAs for more stalls
t 0102 04400000 00000130 00000000 00000000
//
// Configure Ai (DAC rate, bit rate) with DMA enable
t 003 00000086 00000001 00000000 00000000
// DMA 20 Bytes (RDRAM -> AI) (8 byte aligned address & data)
// do as many of these as needed to introduce stalls
t 0043 00000000 000FFFF8 00000000 00000000
t 0043 00000000 000FFFF8 00000000 00000000
t 0043 00000000 000FFFF8 00000000 00000000
t 0043 00000000 000FFFF8 00000000 00000000
// Run DP list
t 0070 00000000 00000000 00000000 00000000
q