Document STAT interrupt oddities
- Dominant language
- Markdown
- Stars
- 783
- Forks
- 134
- Avg merge
- 6h 54m
- Merged PRs (30d)
- 3
Description
> \ Mode 2 works differently in terms of interrupts because it's only checked at a single, specific M-cycle
> \ Meaning, enabling Mode 2 interrupt during Mode 2 will not trigger an interrupt
> \ and similarly, mode 2 cannot block interrupts
> \ So enabling the LYC interrupt during mode 2 can trigger an interrupt even if Mode 2's interrupt is already enabled
> \ Also, wasn't LY=LYC immune to being blocked by Mode 0 due to some delay?
> \ I think there's something like that but I'd have to check SameBoy's source
Contributor guide
Research direction
Start by checking SameBoy's source, which the discussion identifies as the place to verify the STAT interrupt behavior. Document the confirmed Mode 2 and LY=LYC interrupt oddities in the pandocs reference, with the work complete when those cases are accurately described.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100