Qbasicnews.com
Who's up for a real challenge? - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html)
+--- Forum: Challenges (http://qbasicnews.com/newforum/forum-10.html)
+--- Thread: Who's up for a real challenge? (/thread-632.html)

Pages: 1 2 3 4


Who's up for a real challenge? - Blitz - 04-13-2003

Code the fastest transparent blitter you can for a 486. You're not restricted to any rules or languages. Do it as you please. It will run on a 486 DX4 100 mhz with 33 mhz bus. The video chip is an old cirrius logic on a 16 bit, 8 mhz (?) ISA bus.

The following tests will be performed.
Sprite to vram, aligned
Sprite to sram, aligned
Sprite to vram, unaligned
Sprite to sram, unaligned

The code has to be in by 18-04-2003 (friday). My mail is blitz_dotnet@hotmail.com


Who's up for a real challenge? - Blitz - 04-13-2003

Oh yeah, the arguments are passed basic style.

Blit ( seg dst as any, byval x as integer, y as integer, seg src as any )
Blit ( byval dst as long, byval x as integer, y as integer, seg src as any )

Where dst is pointer to 64000 bytes, either vram or a backbuffer. And src is qb style sprite where first byte 0-1 is width*8 and byte 2-3 is height.

The transparent color is 0.


Who's up for a real challenge? - Kackurot - 04-14-2003

Can RLE be used? compiled?


Who's up for a real challenge? - Blitz - 04-14-2003

no


Who's up for a real challenge? - toonski84 - 04-14-2003

this isnt just a made-up contest so you can enter ugl and win, is it blitzachinchilla? Wink


Who's up for a real challenge? - Blitz - 04-14-2003

heh, no. I don't have to cheat to win. Not that i'm saying that i'm going to win. But i trust my skills.


Who's up for a real challenge? - relsoft - 04-16-2003

Does it have clipping?


Who's up for a real challenge? - Blitz - 04-16-2003

Yes, but if you don't want to. It doesn't matter, clipping doesn't affect speed at all.


Who's up for a real challenge? - Fling-master - 04-18-2003

Depends how you implement it... if done correctly, then no. But if done the "lazy" way (which IMO is the hard way) then it does affect speed.

... hrm... yet again I'm posting useless garbage... meh.


Who's up for a real challenge? - Blitz - 04-18-2003

It's pretty obvious to me that clipping is done at object level. If you're not doing it at object level then you still have allot to learn and challenges isn't really what they should be doing now is it?