This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Not a newbie


Not a newbie

Postby ApplewoodDev » Jan 21, 2002 @ 5:33pm

Hi Guys.

I've just signed up to this board, but will hopefully be making a lot of posts in the future. I'm a games developer of 15 years standing with a handful of stuff immininent for PPC.

I hate to start off with a request, but I'm wondering if anyone has written an arm assembler routine to translate a linear 320x240x16 software buffer onto the screen in a landscape format (both orientations).

I've had a stab at this, but it's no faster than my C implementation, as it writes a pixel at a time. If someone has code to do this job two pixels at a time, you will be in my gratitude forever.... :)
I am pentium of Bug. Division is futile. You will be approximated!

<a href="http://www.applewoodhouse.com/">
<img src="www.applewoodhouse.com/Junk/Banner.gif">
</a>
User avatar
ApplewoodDev
pm Member
 
Posts: 4
Joined: Jan 21, 2002 @ 4:36pm
Location: Isle of Wight, U.K.


Postby suchiaruzu » Jan 21, 2002 @ 5:46pm

Hey and welcome to PocketMatrix!
What happened to Amourgeddon?
<div align="center">Image<br></div>
User avatar
suchiaruzu
pm Insider
 
Posts: 2570
Joined: May 3, 2001 @ 9:29am
Location: BFE


Postby ApplewoodDev » Jan 21, 2002 @ 6:18pm

Hi man, and thanks :)

Armourgeddon is complete and ready for release - it's down to the publisher now, and I understand things are all set to make a big splash.

It's been renamed now, but I'm not sure if I'm supposed to let it out, so I guess i oughtn't for the time being. Sorry for being all mysterious ! :D
I am pentium of Bug. Division is futile. You will be approximated!

<a href="http://www.applewoodhouse.com/">
<img src="www.applewoodhouse.com/Junk/Banner.gif">
</a>
User avatar
ApplewoodDev
pm Member
 
Posts: 4
Joined: Jan 21, 2002 @ 4:36pm
Location: Isle of Wight, U.K.


Postby Digby » Jan 21, 2002 @ 7:15pm

I've done a lot of work in this area, but first let me make sure I understand what you want.

As I read your post, you want to copy from 320x240 to landscape (which is also 320x240)? Wouldn't that just be a call to memcpy?

Most people want to perform a copy/rotation operation from a 240x320 oriented back buffer in system memory to a landscape oriented 320x240 display surface. Is this what you want?
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby ApplewoodDev » Jan 21, 2002 @ 7:41pm

It would indeed be a straight memcopy, if the target wasn't the GAPI pointer with all its x/y pitch rules.

My engine supports all 3 orientations, and makes the software backbuffer of the correct shape and size to suit,to keep everything logical.

Doing this has a few benefits, the chief one being that the only rotation anywhere in the code is at this final stage.

So, to emphasise, my landscape game is written in code that writes to a 320x240 oriented back buffer, but I need to get this onto the GAPI display either as-is or flipped for lefties.

Hope this helps...
I am pentium of Bug. Division is futile. You will be approximated!

<a href="http://www.applewoodhouse.com/">
<img src="www.applewoodhouse.com/Junk/Banner.gif">
</a>
User avatar
ApplewoodDev
pm Member
 
Posts: 4
Joined: Jan 21, 2002 @ 4:36pm
Location: Isle of Wight, U.K.


Postby Digby » Jan 22, 2002 @ 4:30am

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby ApplewoodDev » Jan 22, 2002 @ 2:53pm

I am pentium of Bug. Division is futile. You will be approximated!

<a href="http://www.applewoodhouse.com/">
<img src="www.applewoodhouse.com/Junk/Banner.gif">
</a>
User avatar
ApplewoodDev
pm Member
 
Posts: 4
Joined: Jan 21, 2002 @ 4:36pm
Location: Isle of Wight, U.K.


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum