emu-russia / dmgcpu

DMG CPU Reverse Engineering
Creative Commons Zero v1.0 Universal
29 stars 4 forks source link

Check the behavior of memory items with the edge #140

Closed ogamespec closed 1 year ago

ogamespec commented 1 year ago

The SM83 has a number of DFFs that use negedge for the LoadEnable signal. We need to check how it reacts at all and whether it needs to be taken into account at all.

ogamespec commented 1 year ago

Make sense. Should fix.

image

ogamespec commented 1 year ago

Actually val changes when CLK=LD=1, and q changes when LD becomes 0. But I think that's fine.