Page 1 of 1
Sprite test
Posted: Wed Aug 06, 2014 3:39 pm
by Marq
Today's experiment: big sprites running at 50 Hz with full masking and background.
http://www.kameli.net/~marq/bigsprites
lbytes to 196608 and then call. Disable toolkits and other extras, as this one hits the hardware pretty directly. Tested on a vanilla QL with QL-SD/Minerva.

Re: Sprite test
Posted: Wed Aug 06, 2014 7:40 pm
by thorsinclair
Cool stuff!
Is this a self written or ported? Need to test it

Re: Sprite test
Posted: Wed Aug 06, 2014 7:46 pm
by Marq
thorsinclair wrote:Cool stuff!
Is this a self written or ported? Need to test it

I just started writing it from scratch this morning

Re: Sprite test
Posted: Wed Aug 06, 2014 9:08 pm
by vanpeebles
Coo!

when is the demo coming?

Re: Sprite test
Posted: Wed Aug 06, 2014 9:27 pm
by Marq
vanpeebles wrote:Coo!

when is the demo coming?

Something small possibly this year, I suppose. The biggest trouble now is sound, which seems to eat up too much time from the effects plus I haven't found any tools for composing for the weird sound API of the 8049.
Re: Sprite test
Posted: Thu Aug 07, 2014 8:47 am
by thorsinclair
Hi,
Just for info: I tried it in Q-emulator this morning, choosing Minerva and 128 KB RAM and it has a flickering in the upper part of the screen.
Re: Sprite test
Posted: Thu Aug 07, 2014 6:58 pm
by Marq
I think that the emulator doesn't deal with page flipping in the middle of the screen, but a real QL can do that. Another similar effect didn't work with it either.
Re: Sprite test
Posted: Thu Aug 07, 2014 8:44 pm
by RWAP
When I get chance I should try this - Minerva probably struggles due to the way it handles the second screen - might need to try it on a JS ROM on q-emulator, or Minerva in dual screen mode for example...
Re: Sprite test
Posted: Thu Aug 07, 2014 9:12 pm
by Marq
RWAP wrote:When I get chance I should try this - Minerva probably struggles due to the way it handles the second screen - might need to try it on a JS ROM on q-emulator, or Minerva in dual screen mode for example...
It should work pretty much the same with the standard ROM – haven't tried yet, tho. It will still flicker on the emulator no matter how the pages are set up, since I change the graphics page during the refresh at about line 40. Above that the pixels are always from page 1.
edit: confirmed to run fine on a vanilla QL.