MiSTer-devel / TurboGrafx16_MiSTer

TurboGrafx-16 CD / PC Engine CD for MiSTer
94 stars 57 forks source link

Fix incorrect TIMER interrupt acknowledge condition - to fix issue #186 #187

Closed dshadoff closed 1 year ago

dshadoff commented 1 year ago

TIMER interrupts are acknowledged by writes to $1403; this code was also acknowledging them when addressing $1402 in a "non-write" state (read, I guess, but possibly others).

Official documentation makes no mention of acknowledgement other than writes to $1403. Removal of the $1402 acknowledgement seems to fix the issue.