Sign in to follow this  
  • entries
    455
  • comments
    639
  • views
    421970

GP2x : The Blitter is fixed!

Sign in to follow this  
_the_phantom_

88 views

I finally got around to emailing someone about my blitter problem earlier today/yesterday (I forget when) and he got back to me not 30mins ago with one suggestion that, as the IO Clock control was on a 16bit bus I should write to it via a short* instead of a long*.

One change of code and a recompile later and omfg, it works!

This'll teach me not to read the docs properly in future, which I need todo.

Currently its a mess which is copied, I need to fix my DDS reader so that it properly loads the 16bbp uncompressed DDS into ram then I can do some really testing with it all.

I did wonder if a DDS compressed => uncompressed routine on the 2nd CPU might be worth the effort, but then I realised that I'd either have to pre-uncompress the data as it was required by the blitter or go fully software on the drawing. So probably not worth the hastle given the textures will be small anyways.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now