DMG-CPU-Inside icon indicating copy to clipboard operation
DMG-CPU-Inside copied to clipboard

Sprite X matchers

Open paulb-nl opened this issue 4 years ago • 3 comments

Thanks for your work creating the schematics.

It looks like the 6th from the left sprite X matcher WUNU and WOFO signals are reversed. WOFO is the output when count is 4 from the 0-A counter but it goes into reset instead of clk.

Also is it correct that OAM_A_D7-0 is XOR'ed with inverted H7-0? How does that work?

paulb-nl avatar May 26 '20 09:05 paulb-nl

Also is it correct that OAM_A_D7-0 is XOR'ed with inverted H7-0? How does that work?

This works because OAM_A_D[7:0] and OAM_B_D[7:0] are also inverted. See #57. All data inside the OAM RAM is stored in inverted state.

msinger avatar Dec 08 '21 20:12 msinger

Thanks. That also explains why the reset to 0x00 works and doesn't put all sprites at X position 0.

paulb-nl avatar Dec 09 '21 12:12 paulb-nl

Yes, exactly

msinger avatar Dec 09 '21 19:12 msinger