| 484 | } |
| 485 | |
| 486 | void dmaSPR1() // toSPR |
| 487 | { |
| 488 | SPR_LOG("dmaSPR1 chcr = 0x%x, madr = 0x%x, qwc = 0x%x\n" |
| 489 | " tadr = 0x%x, sadr = 0x%x", |
| 490 | spr1ch.chcr._u32, spr1ch.madr, spr1ch.qwc, |
| 491 | spr1ch.tadr, spr1ch.sadr); |
| 492 | |
| 493 | spr1finished = false; // Init |
| 494 | |
| 495 | if(spr1ch.chcr.MOD == CHAIN_MODE && spr1ch.qwc > 0) |
| 496 | { |
| 497 | //DevCon.Warning(L"SPR1 QWC on Chain " + spr1ch.chcr.desc()); |
| 498 | if ((spr1ch.chcr.tag().ID == TAG_END) || (spr1ch.chcr.tag().ID == TAG_REFE) || (spr1ch.chcr.tag().IRQ && spr1ch.chcr.TIE)) |
| 499 | { |
| 500 | spr1finished = true; |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | SPRTOinterrupt(); |
| 505 | } |
| 506 | |
| 507 | void SPRTOinterrupt() |
| 508 | { |
nothing calls this directly
no test coverage detected