BTW... love the Vector multiply trick. That's freakin' awesome. Never thought of that one :D
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Harte Sent: Monday, June 16, 2008 7:10 AM To: sam-users@nvg.ntnu.no Subject: Re: Grabbing floppy images Next initiative: switch the face visibility tester to use a neat scalar/2d vector multiplication 'trick' that I'm sure everybody else thought of years ago - I'm loading the multiplier once to shift right and conditionally branch and simultaneously doing the multiplicand shift left and answer additions in both hl and hl' so as to multiply two multiplicands by the same multiplier for less than it would cost to do them individually. And I'm very, very proud of that.