So I had some long convoluted code in order to keep the bits in $d010 under control. Then it occurred to me that I could probably just turn the bits on and off instead of changing the whole value at once. One Google search later led me to how to do this. I added the vegetable in, a lovely piece of broccoli. Thus leading me to only have 34 lines of code ex...