Skip to content

Complete zero-QWC terminal DMA chains - #223

Open
GTTeancum wants to merge 1 commit into
ran-j:mainfrom
GTTeancum:fix/zero-qwc-dma-chain-completion
Open

Complete zero-QWC terminal DMA chains#223
GTTeancum wants to merge 1 commit into
ran-j:mainfrom
GTTeancum:fix/zero-qwc-dma-chain-completion

Conversation

@GTTeancum

Copy link
Copy Markdown

Summary

  • complete terminal GIF DMA chains even when their END tag has zero QWC
  • avoid submitting an empty GIF packet while still clearing CHCR.STR and raising D_STAT
  • add a regression test covering the terminal tag state and interrupt

Why

A zero-QWC END tag currently leaves the channel active forever because no pending transfer is queued when the accumulated payload is empty. The terminal tag is still a completed DMA operation and needs the normal completion bookkeeping.

Testing

  • 426/426 ps2x_tests passed (Release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant