little putpixel test

PM development, programming, hacking and all that fun stuff.
Post Reply
Orion_

little putpixel test

Post by Orion_ » June 17th, 2004, 01:05

I made a little "fast" put pixel bench, one with MUL and one with SHL, I was wondering which is faster ^^
(one mul l,a with l=64, or 6 shl ^^) If someone can test it on pokemon channel (I hope it keep the original number of cycle of the real pokemon mini), first it Fill the Screen with my function using MUL, then the screen is fast cleared and Filled again with my function using SHL, and loop infinite:
http://perso.wanadoo.fr/onori/yn/putpix.zip

Orion_

little putpixel test

Post by Orion_ » June 17th, 2004, 01:14

mmh, btw, thats wrong, I use 6 shl, and 2 shr, cos we can only shift 8bits register, and a 8bits value *64 generate a 16bits value :)

I did a put-vertical-line

little putpixel test

Post by I did a put-vertical-line » June 27th, 2004, 01:48

I did a put-vertical-line for PokeMaze ^_^

darkfader
Team Pokémé
Posts: 24
Joined: May 17th, 2004, 18:17

little putpixel test

Post by darkfader » June 27th, 2004, 01:49

oh.. err.. that was not the subject field :)

Post Reply