Thank you for going through all of the trouble for this old antique. I haven't yet heard much from the FreeBasic site, though I was wishing to.
It's good to hear from you.
So calling a dll from VB6... would seem quite worth it --- same function, but much faster.
Granted, it's just a color function, but it is interesting.
How shall we proceed now?
Still dazed...
If you need anything from me, let me know. I had all the old Dx8 stuff...
[Update]
I looked at the .asm of what you just did. You're kinder than I thought. You didn't call the API, you rewrote the function completely.
We'll still need to access the vertex buffer and rendering API (HW accelerator functions) of course.
Probably not too much to be gained there, but with Asm, who can say for sure?
It seems to trim the fat in places one doesn't expect.
On my machine we got 1.81 secs and .059 or something... So 30x faster. It read 1.6 .059 when compiled, 27x.
So as you can see on my system, compiled or interpreted, little difference.
[Update 2]
Got a taste on my friends computer (only slightly newer) of something a bit faster.
He had a NVidia 8800gts and a Core2Extreme 2.93mhz (X6800) with XP Pro SP3 on it, and my program runs about 10x faster with no optimization at all... Wow.
Wish I could use it. There are cards that are 10x faster than his too. But we'd all be just throwing money at a problem that should be solved first before hardware IMHO... Since money's real tight with my bills.