-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
twin16: ghost sprites in miaj #929
Comments
Maybe the sprite table is not emptied correctly? |
Should it be emptied even if the sprite pre processor is not used? |
On real hardware the parsed sprite table is emptied, it depends on how you have implemented the parsed sprite table scanning. |
Currently, it is only cleared when the pre-processor is used. I see that we need to clear it each time then. |
A couple of notes from a conversation with skutis:
The last point would require modifying jttwin16_share so oram_we is not asserted during the DMA phase. A signal should be carried from jt00778x all the wait to jttwin16_share |
Skutis looked into this a bit more. If the CPU tries to access the object RAM while DMA is active, it will get locked because DTACKn does not get asserted for oram access if DMA is busy. @rp-jt modify twin16_main: jtframe_68kdtack_cen #(.W(5),.RECOVERY(1)) u_dtack(
// ...
.bus_cs ( bus_cs ),
.bus_busy ( bus_busy ),
.bus_legit ( bus_legit )
//...
);
This should fix the boot-up test |
commit: 5ae3cb8
As the main character moves around, he leaves ghosts behind. This can be seen in scene 1, where the character on the ground should not be visible. The one climbing up the stairs is the right one.
The text was updated successfully, but these errors were encountered: