[stella] Supercharger RPG bare beginnings - request for help

Thomas Jentzsch tjentzsch at web.de
Thu Sep 14 16:54:51 CDT 2006


Bob Montgomery wrote:

> What I have right now is a tile-based, scrolling map partially based on
> Andrew Davie's Boulderdash engine, adapted to the confines of the SC.
> The screen shows an 8x7 window of a 48x42 tile map, plus sprites.

So, you are using code you got from Andrew? I know that one pretty
well, since I helped optimizing some parts of it.


> As you can see, each row has 5 addresses that need to be updated every
> time the screen scrolls.  The subroutine that does this
> (SetupTileDisplaySubroutine) takes a long time.  It takes the entire
> overscan plus the entire VBLANK period plus part of an additional VBLANK
> period to do this.  So I already can only update the screen every other
> frame...

So you are already double buffering the display, right?

I found RMW very, very slow when trying to scroll the display in my
Paradroid demo. Especially fast writing is a big problem. How does
your scrolling work, compared with Andrew's?


> and trying to do anything else (play music, etc.) would cut that
> rate further.  For an RPG, that isn't terrible, but I would really like
> to speed that routine up.  Anybody want to take a crack at optimizing?

Have fun!
Thomas                            
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |





More information about the Stella mailing list