Ecernosoft Posted July 9, 2022 Share Posted July 9, 2022 Ok, so I've had an issue with my CPU time and was wondering if any of you 7800 pro coders knew a way to do something about it: CPU clock cycles used by things: Maria DMA [==================================================] Just making sprites [============] Code [==] I was wondering, if the WRITEMODE byte was 0, to skip the process? (Basically, a beq to the end of sprite code or to the code for fetching new sprite) so that "Invisible" sprites wouldn't be drawn to the screen. This would also fix the glitch where in my game, stuff seems to be dissapearing at the top of the screen for no reason. Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted July 9, 2022 Author Share Posted July 9, 2022 Actually, I changed it so if the YPOS was 0, the game would skip the SPRITE draw routine for that sprite. Here is the source code! Fastsprites.a Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted July 9, 2022 Author Share Posted July 9, 2022 OOPS!! Yoy must set the DLends to 4 (because of the background processing routine!) so, here is the new source code for the background processing routine and the FAST sprite kernal: Fastsprites (1).a Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.