I was mostly referring to BASIC routines. However you might be interested. It's a nice set of equations for using graph values in asm. I'm using something the like in a nibbles clone I've been working on. Of course I'm going to make mine much better...::grins:: I'll post it tomarrow. To save code I'm going to post the equations instead of the actual syntax. You'll be able to extrapolate.