Ecernosoft Posted August 18, 2022 Share Posted August 18, 2022 Actually, this version is 35 cycles, and can handle a any-height sprite too so use this instead: Origonaldraw ldy P0height; 3 lda (P0ptr),y; 8 sta GRP0; 11 lda (P0col),y; 16 sta COLUP0; 19 cpx P0Ytemp; 21 bne Not1; 23 dey; 25 sty P0height; 28 beq Not1; 30 dec P0Ytemp; 35 Not1 The cons are: 1. Need Ytemp to be set every frame, along with spriteheight value 2. Need 0 at top 3. You can't split this apart like other kernal. The pros: 1. Faster than Superdraw (Including flexible height AND multicolor) by 2 cycles. 2. This supports Flexible height and multicolor 3. Removing Color shortens this down to 27 cycles 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.