Sprite test

Anything QL Software or Programming Related.
Post Reply
User avatar
Marq
ROM Dongle
Posts: 28
Joined: Sun Jan 22, 2012 11:48 pm
Location: Helsinki, Finland
Contact:

Sprite test

Post 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.

Image


thorsinclair
Trump Card
Posts: 204
Joined: Mon Jan 10, 2011 5:08 pm

Re: Sprite test

Post by thorsinclair »

Cool stuff!
Is this a self written or ported? Need to test it 8-)


User avatar
Marq
ROM Dongle
Posts: 28
Joined: Sun Jan 22, 2012 11:48 pm
Location: Helsinki, Finland
Contact:

Re: Sprite test

Post by Marq »

thorsinclair wrote:Cool stuff!
Is this a self written or ported? Need to test it 8-)
I just started writing it from scratch this morning :)


User avatar
vanpeebles
Commissario Pebbli
Posts: 2850
Joined: Sat Nov 20, 2010 7:13 pm
Location: North East UK

Re: Sprite test

Post by vanpeebles »

Coo! 8-) when is the demo coming? :D


User avatar
Marq
ROM Dongle
Posts: 28
Joined: Sun Jan 22, 2012 11:48 pm
Location: Helsinki, Finland
Contact:

Re: Sprite test

Post by Marq »

vanpeebles wrote:Coo! 8-) when is the demo coming? :D
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.


thorsinclair
Trump Card
Posts: 204
Joined: Mon Jan 10, 2011 5:08 pm

Re: Sprite test

Post 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.
bigsprites.jpg


User avatar
Marq
ROM Dongle
Posts: 28
Joined: Sun Jan 22, 2012 11:48 pm
Location: Helsinki, Finland
Contact:

Re: Sprite test

Post 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.


RWAP
RWAP Master
Posts: 2892
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: Sprite test

Post 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...


User avatar
Marq
ROM Dongle
Posts: 28
Joined: Sun Jan 22, 2012 11:48 pm
Location: Helsinki, Finland
Contact:

Re: Sprite test

Post 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.


Post Reply