tyfkda / nesemu

NES Emulator written in TypeScript
https://tyfkda.github.io/nesemu/
MIT License
65 stars 14 forks source link

about mapper065 irq #36

Closed citee520 closed 1 year ago

citee520 commented 1 year ago

I want to implement mapper65, follow as link to implement it, found some game can't run, some game break photo, I think the problem is related to the interrupter, I have no idea how to implement function "ProcessCpuClock", do you have any idea?? https://github.com/SourMesen/Mesen/blob/master/Core/IremH3001.h

tyfkda commented 1 year ago

@citee520 This emulator code doesn't have a method on a mapper to handle CPU cycles. What you have available is an onHblnak method that is called every horizontal blanking interval.

citee520 commented 1 year ago

OK, I will try your way to implement IRQ function.