On Thu, Oct 29, 2009 at 05:14:33PM +0100, Groepaz wrote: > mmmh i am not sure if 16bit isnt a bit overkill... i think its worth to test > wether an 8bit 2.6 format isnt enough... that would be quite a bit faster, > and allow to use simple lookup tables instead of trig. functions for sin/cos I will not use trigeonometric functions, just a 90 byte lookup table. 8.8 or 16.8 is generic enough to use it for all sorts of things. Also, rounding is easy. > oh and to be pedantic again, the correct values also depends on the output > format (pal vs ntsc) =) That's no problem, since the data table from the driver is copied after calling INSTALL, so INSTALL can change the value if necessary. Or the programmer can put an average value into the field and forget about it :-) Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Oct 29 17:22:01 2009
This archive was generated by hypermail 2.1.8 : 2009-10-29 17:22:03 CET