A new proc, line.s that can chose whitch line_* to use A small test program in source.s Wrote a smal test program in source.s (all looks good exept line_up_inv)
I needed to use 16bit logic to ashive this. Also moved out dx*2, dy*2 calculation outside of loop for better performance.