View Single Post
Old 29 November 2023, 18:28   #28
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 854
@TCD

You're welcome!


@paraj

Quote:
Originally Posted by paraj View Post
Looks neat on a real monitor and very distinct.
Nice to hear! Thanks for the test and the report

Quote:
Only getting around 16-20fps on my B1260/50Mhz though, slow chip mem access speed really hurts :/
I'm baffled that its impact is such that the performance is worse than that of my Blizzard 1230 IV
That said, the FAST RAM -> CHIP RAM copy loop is fine-tuned for my card. I made tens of tests and tried the weirdest solutions, and eventually found out that the best code was this:

Code:
          move.w  #RASTERSIZE/(13*4)-1,d7
.CopyDots move.l  (a6)+,d0
          move.l  (a6)+,d1
          move.l  (a6)+,d2
          move.l  (a6)+,d3
          move.l  (a6)+,d4
          move.l  (a6)+,d5
          move.l  (a6)+,d6
          movea.l (a6)+,a0
          movea.l (a6)+,a1
          movea.l (a6)+,a2
          movea.l (a6)+,a3
          movea.l (a6)+,a4
          movea.l (a6)+,a5
          movem.l d0-d6/a0-a5,(a7)
          adda.w  #13*4,a7
          dbf     d7,.CopyDots

          rept    (RASTERSIZE//(13*4))/4
          move.l  (a6)+,(a7)+
          endr
Maybe for your card (and 68060 cards in general?) it's best to replace movem.l with a sequence of move.l? Or use move16 or a mix of the various instructions?
Do you happen to know which is the best strategy?
saimo is offline  
 
Page generated in 0.06996 seconds with 10 queries