Re: [stella] some more optimization tips

Subject: Re: [stella] some more optimization tips
From: Jim Nitchals <jimn8@xxxxxxxxxx>
Date: Fri, 8 May 1998 18:55:54 -0700 (PDT)
> 
> I can't figure a 2 byte non-destructive 5 cycle delay :(
> 
> Of course, a destructive one is easy
> 
>     INC $80

If you've got a page-aligned pointer to some graphics data, or Y or X is
zero already, you can:
      cmp (grafdata),y
 or
      cmp (grafdata,x)

It could be any other kind of pointer, as long as it's going to ROM and
preferably page-aligned.

You'll lose flags, but so do many other cycle-chewing tricks.


--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/stella.html

Current Thread